Currently v2 and v2.1 have separate functional tests and their
corresponding sample files. As v2 and v2.1 are supposed to be identical,
there is overhead to maintain two set of functional tests and sample files.
We can have one set of tests which can run for both v2 and v2.1.
This commit merges servers usage functional tests.
In V2.1 os-access-ip is separate plugin where in v2 it was mixed in server
plugin itself. So os-access-ip extension is enabled to run
merged functional tests for both v2 and v2.1.
Change-Id: I46bfeaed8f47ea7674f14d6f3d3b301dcc35d419
There are lot of duplicate sample files for server POST req/resp
in functional tests.
This patch reuse the server post req/resp sample file for V2.1
functional tests.
Change-Id: I5da924b78780eae64a40ee39ee4fbe1e5b8c3b1f
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
Changes required to have v3 plugin natively support the V2.1
API.
The parameters is changed from os-server-usage to OS-SRV-USG
Partially implements blueprint v2-on-v3-api
Co-Authored-By: Chris Yeoh <cyeoh@au1.ibm.com>
Change-Id: I4a4ebe533f8910a29b54d6ec9554cc151af492d1
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
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
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