summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorgtt116 <gtt116@126.com>2012-11-28 11:11:26 +0800
committergtt116 <gtt116@126.com>2013-02-03 08:57:20 +0000
commit0d813e44ff126640ffbc4f915be5b2fa203c7811 (patch)
tree2e5a8be0ce9d24d6a4fe1d5476d1cdde153ac4b8 /nova/utils.py
parent3793b061df30e1f56094d7e579bca59b9c20de98 (diff)
downloadnova-0d813e44ff126640ffbc4f915be5b2fa203c7811.tar.gz
nova-0d813e44ff126640ffbc4f915be5b2fa203c7811.tar.xz
nova-0d813e44ff126640ffbc4f915be5b2fa203c7811.zip
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
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions