summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-24 21:37:18 +0000
committerGerrit Code Review <review@openstack.org>2012-08-24 21:37:18 +0000
commite2804797dc5eaa619d38e5d7f96d5baa8eaaf467 (patch)
tree59858872070b57493a0e9e2f1831d14089fc25f8 /nova/api
parentc1e9f5ec2b017f9e58110f2662963537edae2ccc (diff)
parentad087405f1874259f9ac9ce34402ab3c6458a411 (diff)
downloadnova-e2804797dc5eaa619d38e5d7f96d5baa8eaaf467.tar.gz
nova-e2804797dc5eaa619d38e5d7f96d5baa8eaaf467.tar.xz
nova-e2804797dc5eaa619d38e5d7f96d5baa8eaaf467.zip
Merge "Returns hypervisor_hostname in xml of extension"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/compute/contrib/extended_server_attributes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/openstack/compute/contrib/extended_server_attributes.py b/nova/api/openstack/compute/contrib/extended_server_attributes.py
index f1ec9b956..6ca10559f 100644
--- a/nova/api/openstack/compute/contrib/extended_server_attributes.py
+++ b/nova/api/openstack/compute/contrib/extended_server_attributes.py
@@ -102,6 +102,8 @@ def make_server(elem):
'%s:instance_name' % Extended_server_attributes.alias)
elem.set('{%s}host' % Extended_server_attributes.namespace,
'%s:host' % Extended_server_attributes.alias)
+ elem.set('{%s}hypervisor_hostname' % Extended_server_attributes.namespace,
+ '%s:hypervisor_hostname' % Extended_server_attributes.alias)
class ExtendedServerAttributeTemplate(xmlutil.TemplateBuilder):