]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed a bug with plug_interface.
authorSumit Naiksatam <snaiksat@cisco.com>
Wed, 31 Aug 2011 00:35:22 +0000 (17:35 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Wed, 31 Aug 2011 00:35:22 +0000 (17:35 -0700)
quantum/plugins/cisco/l2network_plugin.py

index 8ffcdf84d794c7bedab02e7810d974db7b36a205..218d369ffaf7ffc8e0f0d6cee83b610fd6af52eb 100644 (file)
@@ -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):
         """