Commit Graph

5 Commits

Author SHA1 Message Date
He Jie Xu a9d446d627 Porting SecurityGroup related controller into v2.1
This patch port SecurityGroup, ServerSecurityGroup and SecurityGroupAction
controller into v2.1 security_groups extension.

This patch just move the v2 code into v2.1 and share the unittest. The other
v2.1 related fix and improvement will be addressed by subsequent patchset.

Partially implements blueprint v2-on-v3-api

Change-Id: I93951ce677b74ebed7db1b2fff1f788344806dba
2014-10-15 14:04:14 +08:00
Ken'ichi Ohmichi bbc7f8a4c6 Change v3 security_groups API to v2.1
This patch changes v3 security_groups API to v2.1 and makes v2 unit tests
share between v2 and v2.1.
This patch doesn't revert /os-security-groups, /os-security-group-rules
and /servers/server_id/os-security-groups because these features are
implemented in Networking API. On v2.1 API, we decide we don't need to
implement proxying features.

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: I82660fd514d041bdd1fad0e689fa4fe90d441c47
2014-09-01 03:44:56 +00: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 e9d426cc21 Remove traces of V3 personality extension from api samples
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
2013-11-20 22:49:27 +10:30
He Jie Xu c37e034790 Add V3 API samples for security-groups
Partially implements blueprint v3-api-unittests

Change-Id: I6df70127a88881320052613f4c107e2287f375c1
2013-09-25 11:32:36 +08:00