This patch port extended_ips/extended_ips_mac extension to V2.1
There are difference between V2 and V3 server show/index &
server address index API response listed below-
'address' field of V2->V3 API response-
"OS-EXT-IPS:type" -> "type"
"OS-EXT-IPS-MAC:mac_addr" -> "mac_addr"
Reverting those attribute same as V2 to work with V2.1
Closes-Bug: #1368495
Partially implements blueprint v2-on-v3-api
Change-Id: I44902b0402115d1b6e833975e6c2f020ac5ab7c3
"revertResize/confirmResize" server actions were missed for V2.1 API.
This patch converts "revertResize/confirmResize" server action
for V2.1 API
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Change-Id: I24bdb5b28fafeb60ea7b4ff044b12a519498e592
Closes-Bug: #1367642
'os-start/os-stop' server actions were missed for V2.1 API.
This patch converts 'os-start/os-stop' server action for V2.1 API
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Closes-Bug: #1367575
Change-Id: I8b0f27fb639034d368bcc1fc51d20daf9c2cdeb5
'createImage' server actions was missed for V2.1 API.
This patch converts 'createImage' server action for V2.1 API
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Change-Id: I5490365c72082b1652ddda2fed97c754fceeed22
Closes-Bug: #1367633
This patch changes v3 servers' ViewBuilder to v2.1. And also
change related unittests and api sample tests.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie68d46daa91ef43c84eeef479c0986d5e7f15719
This patch changes 'image_ref'/'flavor_ref' to 'imageRef'/'flavorRef'
that same with v2 api. And also change the related unittest.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ic17334e0a9de89488d5e0c8b75950027d51a3cd4
This patch changes 'admin_password' to 'adminPass' that same
with v2 api. And also change the related unittest.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie5675f98bb15c55a191a207171e2ffe3be8e6deb
This is a step toward removing XML support from the v3 compute API.
First, we need to remove all of the tests that would fail once we start
ripping out the real code.
Part of blueprint remove-v3-xml-api
Change-Id: Ie2c280d5ea1e6b8756535deb05982a92561552db
The preserve_ephemeral option for rebuild will preserve the content of
the ephemeral partition, making stateful golden image based
deployments possible even when clouds haven't deployed Cinder, or the
hypervisor doesn't support Cinder (e.g. BareMetal / Ironic).
Partial-Bug: #1174154
blueprint: baremetal-preserve-ephemeral
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: Id33d5d4107f89814842a3f0b7f33690dd7e3aadc
Removes occurences of the personality extension from the V3 API
samples as the extension has been removed. Cleanup of consistency
of image and flavor ref examples for the api samples.
DocImpact
Partially implements blueprint v3-api-remove-extensions
Change-Id: I43a34097904d3d7e280039c3d5d76479a49e92d0
Adds api sample tests and api samples for server's actions
Partially implements blueprint v3-api-unittests
Change-Id: I4b420f09f9fc9a7f6fab8dbaeaa9b93631909255
There are API parameters "admin_password" and "admin_pass" on some APIs:
* AdminPasswordController: admin_password
* EvacuateController : admin_password
* RescueController : admin_pass
* ServersController : admin_pass
These parameters mean the same thing, it is the admin password of a vm
instance. They should be the same parameter name because of the meaning.
DocImpact
Partially implements bp nova-v3-api
Change-Id: I452672e064d0dc4a1d5700bb96c01de8087f33d8
This patch enable extension access_ips, remove old 'access_ip_*'
attributes and related unittest from servers core. And remove
old attributes from api samples.
Partially implements bp nova-v3-api
DocImpact
Change-Id: Id4c8bb721550e317e0695d7876e2faa3d6e91a60
The status code of confirm_resize should be 202, but it
returns 204 now. That because it returns HTTPNoContent
that overwrites the status code of decorator 'wsgi.response(202)'
And adds API samples for confirm_resize that used to test
the status code of confirm_resize.
Partially implements blueprint v3-api-unittests
Closes-bug: #1233561
Change-Id: I50a3046866af0a1efdb5c41ded40f973b02843e8
Adds os-keypairs to the core list for the V3 API.
Rename os-keypairs to keypairs as part of this change.
Fixes some incorrect urls in test_keypairs which still included
the tenant id
Updates api samples for servers since keypairs is now core and forms
part of the response by default
+DocImpact
Partially implements blueprint nova-v3-api
Change-Id: I8cdf52be0c8b19f7704848029a78373da8018cab
Removes V3 API images and image_metadata extensions as the
same functionality can be accessed directly through glance. Also
removes the associated testcases. There is a discussion about
the decision here:
http://lists.openstack.org/pipermail/openstack-dev/2013-August/012958.html
Fixes the image bookmark links in server information requests
so they point to glance
Partially implements blueprint nova-v3-api
Change-Id: Id32be0c0794b0f4dd220a928345ddf0133e9ffca
Adds the required infrastructure for the v3 API sample creation.
- v3 API samples and the test cases are in their own v3 directory
- API samples from "core" are now put in their own (per plugin)
directory rather than in the root directory
- Testcases to create api samples are now placed in individual
files rather than one giant one. I think it makes it clearer what
testcases we do have and avoids merge conflict pain
Adds API samples for basic servers interaction
Fix for bug in servers.py where if no extension was loaded which
extends create xml deserialization an exception would occur (fixed
here because it causes the api sample tests ported to fail).
Partially implements blueprint v3-api-unittests
Change-Id: I653af49dcc499c18f14b6e1764711a9922354069