diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-03-17 16:14:48 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-03-17 16:14:48 -0500 |
| commit | a437ea845bd83c8b1da9de81253132cbad6b48b7 (patch) | |
| tree | 638ee87965dfe6f6a1fc89093e3e2a06e9593236 /nova | |
| parent | 400ca259f49a741cf2cefd86afcf2494ee0bd446 (diff) | |
create vifs before inject network info to remove rxtx_cap from network info (don't need to inject it)
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index a35d36b9e..aff4fb445 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -133,8 +133,8 @@ class VMOps(object): # create it now. This goes away once nova-multi-nic hits. if network_info is None: network_info = self._get_network_info(instance) - self.inject_network_info(instance, vm_ref, network_info) self.create_vifs(vm_ref, network_info) + self.inject_network_info(instance, vm_ref, network_info) LOG.debug(_('Starting VM %s...'), vm_ref) self._start(instance, vm_ref) |
