Commit Graph

3 Commits

Author SHA1 Message Date
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
Chris Yeoh d94203beb4 Adds create backup server extension for the V3 API
Moves create_backup functionality out of admin_actions
into its own extension. This is part of blueprint v3-admin-actions-split
which 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-create-backup extension and moves the
create_backup functionality out of os-admin-actions into
this new extension.

Change-Id: I4858a06df20c552bd55ff2841adbcfc761304f42
2014-02-21 10:59:07 +10:30