]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix incorrect comments
authorshihanzhang <shihanzhang@huawei.com>
Fri, 13 Mar 2015 01:28:29 +0000 (09:28 +0800)
committershihanzhang <shihanzhang@huawei.com>
Fri, 13 Mar 2015 01:28:29 +0000 (09:28 +0800)
some functions already change, so the comments also should change.

Change-Id: Id55a064c53b89df24150130e526e9be39d229f3a

neutron/plugins/openvswitch/agent/ovs_neutron_agent.py

index ab479b5c5fb088dec264bb5f5342d538af4e0f0e..acc709dce853a5fbefb344a0e3217a490db2a224 100644 (file)
@@ -605,8 +605,6 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
         '''Reclaim a local VLAN.
 
         :param net_uuid: the network uuid associated with this vlan.
-        :param lvm: a LocalVLANMapping object that tracks (vlan, lsw_id,
-            vif_ids) mapping.
         '''
         lvm = self.local_vlan_map.pop(net_uuid, None)
         if lvm is None:
@@ -738,10 +736,7 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
     def setup_integration_br(self):
         '''Setup the integration bridge.
 
-        Create patch ports and remove all existing flows.
-
-        :param bridge_name: the name of the integration bridge.
-        :returns: the integration bridge
+        Delete patch ports and remove all existing flows.
         '''
         # Ensure the integration bridge is created.
         # ovs_lib.OVSBridge.create() will run
@@ -912,7 +907,7 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
         '''Setup the physical network bridges.
 
         Creates physical network bridges and links them to the
-        integration bridge using veths.
+        integration bridge using veths or patch ports.
 
         :param bridge_mappings: map physical network names to bridge names.
         '''