summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-03-04 12:31:59 +0000
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-03-04 12:31:59 +0000
commitcb30c80c922a09ccca18645670ea5b1cdc70f1f2 (patch)
tree21a3f5c7bf87f08a9196c8fa4edc30c15e50a49a
parentb40908d356ee12f3a944860759bb1d3438d34c6f (diff)
fixed wrong local variable name in vmops
-rw-r--r--nova/virt/xenapi/vmops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index a7838dbba..417f40da8 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -519,7 +519,7 @@ class VMOps(object):
NetworkHelper.find_network_with_name_label(self._session,
bridge)
if network_ref:
- VMHelper.create_vif(self._session, vm_ref,
+ VMHelper.create_vif(self._session, vm_opaque_ref,
network_ref, instance.mac_address)