From 428d3a6953b719baec453b2a748ea1e7ecb38851 Mon Sep 17 00:00:00 2001 From: Sumit Naiksatam Date: Tue, 30 Aug 2011 17:35:22 -0700 Subject: [PATCH] Fixed a bug with plug_interface. --- quantum/plugins/cisco/l2network_plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quantum/plugins/cisco/l2network_plugin.py b/quantum/plugins/cisco/l2network_plugin.py index 8ffcdf84d..218d369ff 100644 --- a/quantum/plugins/cisco/l2network_plugin.py +++ b/quantum/plugins/cisco/l2network_plugin.py @@ -254,7 +254,9 @@ class L2Network(QuantumPluginBase): self._invoke_device_plugins(self._func_name(), [tenant_id, net_id, port_id, remote_interface_id]) - db.port_set_attachment(net_id, port_id, remote_interface_id) + #Note: The remote_interface_id gets associated with the port + # when the VM is instantiated. The plug interface call results + # in putting the port on the VLAN associated with this network def unplug_interface(self, tenant_id, net_id, port_id): """ -- 2.45.2