0d813e44ff
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
16 lines
491 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
} |