diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-04-06 12:33:07 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-04-06 12:33:07 -0500 |
| commit | e46d78218eec77f8502579496ee0922ce401e84a (patch) | |
| tree | 91bef00781980b09ceb93c81dafef97f14d68891 | |
| parent | 481a77134a4e0e1d668fa488d7c5b1d7e1bc5429 (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.py | 2 |
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) |
