
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
21 lines
570 B
JSON
21 lines
570 B
JSON
{
|
|
"server": {
|
|
"adminPass": "xhS2khTdkRkT",
|
|
"id": "60874907-c72b-4a01-805d-54c992510e47",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/60874907-c72b-4a01-805d-54c992510e47",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/60874907-c72b-4a01-805d-54c992510e47",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"security_groups": [
|
|
{
|
|
"name": "test"
|
|
}
|
|
]
|
|
}
|
|
} |