From a0727afc776fd383d119f5c7b1b5754a76c6bcf2 Mon Sep 17 00:00:00 2001 From: shihanzhang Date: Fri, 13 Mar 2015 09:28:29 +0800 Subject: [PATCH] Fix incorrect comments some functions already change, so the comments also should change. Change-Id: Id55a064c53b89df24150130e526e9be39d229f3a --- neutron/plugins/openvswitch/agent/ovs_neutron_agent.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py b/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py index ab479b5c5..acc709dce 100644 --- a/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py +++ b/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py @@ -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. ''' -- 2.45.2