diff options
author | gtt116 <gtt116@126.com> | 2012-11-28 11:11:26 +0800 |
---|---|---|
committer | gtt116 <gtt116@126.com> | 2013-02-03 08:57:20 +0000 |
commit | 0d813e44ff126640ffbc4f915be5b2fa203c7811 (patch) | |
tree | 2e5a8be0ce9d24d6a4fe1d5476d1cdde153ac4b8 /nova/utils.py | |
parent | 3793b061df30e1f56094d7e579bca59b9c20de98 (diff) | |
download | nova-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