Files
nova/doc/api_samples/OS-EXT-AZ/server-post-resp.json
T
gtt116 0d813e44ff Add REST API to show availability_zone of instance.
Implement one workitem for bp:show-availability-zone

This show the availability zone and availability zone of its host in
API: GET /servers/details, GET /server/{uuid}.

When create instance if "availability_zone" doesn't specified, the
"availability_zone" of the instance will be None.  But actually the instance
is in a zone which its host is in. So I think show both of them will be fine.

Change-Id: I2d742ee2d291b514bf783fa79293785cca8ea2a5
2013-02-03 08:57:20 +00:00

16 lines
491 B
JSON

{
"server": {
"adminPass": "MgXXGVx9ctdF",
"id": "75a88708-cecb-459c-8c3d-b7c93e67edbe",
"links": [
{
"href": "http://openstack.example.com/v2/openstack/servers/75a88708-cecb-459c-8c3d-b7c93e67edbe",
"rel": "self"
},
{
"href": "http://openstack.example.com/openstack/servers/75a88708-cecb-459c-8c3d-b7c93e67edbe",
"rel": "bookmark"
}
]
}
}