cbf83a01fb
* Example for the rebuild action The functional test is modified and the example is replaced with v2.26 examples. * Example for the rescue action The example in API reference is replaced with the example with 'rescue_imgae_ref'. Parameters for the rebuild action and the rescue action are also fixed. The patch completes the parameter verification and the example verification of servers-actions.inc. Change-Id: Iaf8808b13d1fdfead50da4cd447b3893578f76dd Implements: blueprint api-ref-in-rst-pike
60 lines
1.9 KiB
JSON
60 lines
1.9 KiB
JSON
{
|
|
"server": {
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"adminPass": "seekr3t",
|
|
"created": "2013-11-14T06:29:00Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "28d8d56f0e3a77e20891f455721cbb68032e017045e20aa5dfc6cb66",
|
|
"id": "a0a80a94-3d81-4a10-822a-daa0cf9e870b",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/a0a80a94-3d81-4a10-822a-daa0cf9e870b",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/a0a80a94-3d81-4a10-822a-daa0cf9e870b",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"meta_var": "meta_val"
|
|
},
|
|
"name": "foobar",
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tenant_id": "6f70656e737461636b20342065766572",
|
|
"updated": "2013-11-14T06:29:02Z",
|
|
"user_id": "fake",
|
|
"locked": false,
|
|
"description" : "description of foobar",
|
|
"tags": ["tag1", "tag2"]
|
|
}
|
|
}
|