
Ports v2 volumes extension and adapts it to the v2.1/v3 API framework. API behaviour is identical with the exception that there is no support for XML. Also - unittest code modified to share testing with both v2/v2.1 where appropriate - Adds expected error decorators for API methods Note that there will be further code cleanup in the future but the code currently is mostly as-is from the v2 codebase. Partially implements blueprint v2-on-v3-api Change-Id: If2a9dd1f5233812a1177b54ded6f0ae115c54e97
17 lines
472 B
JSON
17 lines
472 B
JSON
{
|
|
"server": {
|
|
"adminPass": "8VqALQcVB9MT",
|
|
"id": "a80b9477-84c1-4242-9731-14a3c2a04241",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/a80b9477-84c1-4242-9731-14a3c2a04241",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/a80b9477-84c1-4242-9731-14a3c2a04241",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
}
|
|
}
|