From c5c14a95355cef408e8dcfeb04b9d796be2af564 Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Thu, 21 Jul 2011 18:54:00 -0700 Subject: remove debugging --- nova/virt/xenapi/vif.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nova/virt/xenapi/vif.py b/nova/virt/xenapi/vif.py index cc5aa38f5..3604ef8a9 100644 --- a/nova/virt/xenapi/vif.py +++ b/nova/virt/xenapi/vif.py @@ -35,7 +35,6 @@ class XenAPIBridgeDriver(VIFDriver): def get_vif_rec(self, xenapi_session, vm_ref, instance, device, network, network_mapping): - print "bridge = '%s'" % network['bridge'] network_ref = NetworkHelper.find_network_with_bridge(xenapi_session, network['bridge']) rxtx_cap = network_mapping.pop('rxtx_cap') @@ -60,13 +59,11 @@ class XenAPIBridgeDriver(VIFDriver): bridge = network['bridge'] bridge_interface = network['bridge_interface'] - print "in plug with bridge = %s and bridge_interface = %s" % (bridge,bridge_interface) # Check whether bridge already exists # Retrieve network whose name_label is "bridge" network_ref = network_utils.NetworkHelper.find_network_with_name_label( xenapi_session, bridge) - print "got network_ref = %s" % network_ref if network_ref is None: # If bridge does not exists # 1 - create network @@ -87,7 +84,6 @@ class XenAPIBridgeDriver(VIFDriver): raise Exception( _('Found no PIF for device %s') % bridge_interface) # 3 - create vlan for network - print "creating vlan %s" % str(vlan_num) for pif_ref in pifs.keys(): xenapi_session.call_xenapi('VLAN.create', pif_ref, @@ -107,9 +103,6 @@ class XenAPIBridgeDriver(VIFDriver): raise Exception(_("PIF %(pif_rec['uuid'])s for network " "%(bridge)s has VLAN id %(pif_vlan)d. " "Expected %(vlan_num)d") % locals()) - print "vlan is good" - - print "all done" def unplug(self, instance, network, mapping): pass -- cgit