summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-04-06 12:33:07 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-04-06 12:33:07 -0500
commite46d78218eec77f8502579496ee0922ce401e84a (patch)
tree91bef00781980b09ceb93c81dafef97f14d68891
parent481a77134a4e0e1d668fa488d7c5b1d7e1bc5429 (diff)
updated _prepare_injectables() to use info[gateway6] instead of looking inside the ip6 address dict for the gateway6 information
-rw-r--r--nova/virt/xenapi/vm_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index d07d60800..886f1ec88 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -1130,7 +1130,7 @@ def _prepare_injectables(inst, networks_info):
'dns': dns,
'address_v6': ip_v6 and ip_v6['ip'] or '',
'netmask_v6': ip_v6 and ip_v6['netmask'] or '',
- 'gateway_v6': ip_v6 and ip_v6['gateway'] or '',
+ 'gateway_v6': ip_v6 and info['gateway6'] or '',
'use_ipv6': FLAGS.use_ipv6}
interfaces_info.append(interface_info)