Commit Graph

5 Commits

Author SHA1 Message Date
ghanshyam 2f32996c3e V2.1 tests - Reuse server post req/resp sample file
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
2015-03-11 15:59:52 +09:00
ghanshyam 5ba9301c34 Make create server schema 'additionalProperties' False
Nova V2.1 API has strong input validation by making validation
through JSON schema.

This patch makes create server schema 'additionalProperties' to False
as all create server extensions are implemented in V2.1.

After this, V2.1 will not allow extra arg for create server.

This patch also fix the API sample files which were passing extra arg in
create request body.

Partially implements blueprint v2-on-v3-api

Change-Id: Ib2a4272cbacb3011b800776577233545af3d9d4b
2014-12-15 15:00:11 +09:00
He Jie Xu 5ed82cf7ed Change 'image_ref'/'flavor_ref' into v2 style for servers
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
2014-08-18 09:57:34 +08:00
He Jie Xu af8f401eb5 Change 'admin_password' into v2 style for servers extension
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
2014-08-18 09:55:30 +08:00
Chris Yeoh 6609dcf36b Adds pause server extension for V3 API
Moves the pause/unpause server functionality out of admin_actions into
its own extension. This part of the blueprint v3-api-admin-actions-split
allows more selective enablement of features contained in the admin
actions extension.

Note that XML api samples are no longer generated because
bp remove-v3-xml-api has been approved.

Partially implements bp v3-api-admin-actions-split
DocImpact: Adds os-pause-server extension and moves pause/unpause
functionality out of os-admin-actions into this new extension

Change-Id: Ib9cce57e2ff1270a82b9d7e39b23ec6b532b9e77
2014-01-31 15:09:31 +10:30