Currently when boot from volume and the volume is created
from a image, the original image's min_ram, min_disk attributes
are ignored, this is not good.
We should extract these properties from the volume and check
it when boot from volume.
Change-Id: I861a78b5c7efa71e4bf7206d388b8d0d8048c78e
Closes-Bug: #1360022
This patch changes v3 flavor_access API to v2.1 and makes v2
unit tests share between v2 and v2.1.
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: I75891e76753fba937b4a01f592afb4bd03aacd9c
This patch changes v3 remote_console API to v2.1 and makes v2
unit tests share between v2 and v2.1.
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: I5f15ec39d7201b2da3d7afbf1d0774e64e68c8fe
This patch use common get_instance function in v2 consoles extension.
That can make the instance behavior consistent with v2.1 api. Then
v2.1 and v2 can share same unittest.
Change-Id: Idf501be21178c3c97b1693e48d3fd13b97525299
By defining the API schema, it is possible to separate the validation code
from the API method. The API method can be more simple.
In addition, a response of API validation error can be consistent for
the whole Nova API.
Partially implements blueprint v3-api-schema
Change-Id: If58e67a7fa0d256e307e565bb983c12ea131e439
This patch changes v3 cells API to v2.1 and makes v2
unit tests share between v2 and v2.1.
This patch also delete the V3 cells API 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: Iacfd1881ff24eb3bfc73006244044fc139897eda
This patch converts v3 server metadata plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.
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: I619a7323f515234d15000af356277dbf3d91231f
This patch changes v3 flavor extraspecs plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.
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: Ibf42ad56ead33846d57904dde2a07f721e6e4af3