This patch ports v2 disk_config extension to v2.1. Unittest code modified to share testing with both v2/v2.1. API sample file and their tests have been added. Also added extension point of server resize V3. Partially implements blueprint v2-on-v3-api Change-Id: Id2aace8121a310f8c86c6a9cc532bd1074d653c4
25 lines
663 B
JSON
25 lines
663 B
JSON
{
|
|
"server": {
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"adminPass": "zPnp2GseTqG4",
|
|
"id": "8195065c-fea4-4d57-b93f-5c5c63fe90e8",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/8195065c-fea4-4d57-b93f-5c5c63fe90e8",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/8195065c-fea4-4d57-b93f-5c5c63fe90e8",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"accessIPv4": "",
|
|
"accessIPv6": "",
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
]
|
|
}
|
|
}
|