Fix incorrect comments

some functions already change, so the comments also should change.

Change-Id: Id55a064c53b89df24150130e526e9be39d229f3a
This commit is contained in:
shihanzhang 2015-03-13 09:28:29 +08:00
parent ffb4e40153
commit a0727afc77
1 changed files with 2 additions and 7 deletions

View 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.
'''