From: Sumit Naiksatam Date: Wed, 31 Aug 2011 00:35:22 +0000 (-0700) Subject: Fixed a bug with plug_interface. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=428d3a6953b719baec453b2a748ea1e7ecb38851;p=openstack-build%2Fneutron-build.git Fixed a bug with plug_interface. --- 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): """