Resolving some spelling mistakes

Just resolve some spelling mistakes in the comments

Change-Id: I6eed9fbe73d6618b474395c8ca41460cdfbe08d4
Closes-Bug: #1365088
This commit is contained in:
Raildo Mascena 2014-11-03 11:04:23 -03:00
parent fc4c2507e0
commit ae468382e3

View File

@ -31,7 +31,7 @@ class L2populationRpcCallBackMixin(object):
The following methods are called through RPC. The following methods are called through RPC.
add_fdb_entries(), remove_fdb_entries(), update_fdb_entries() add_fdb_entries(), remove_fdb_entries(), update_fdb_entries()
The following methods are used in a agent as an internal method. The following methods are used in an agent as internal methods.
fdb_add(), fdb_remove(), fdb_update() fdb_add(), fdb_remove(), fdb_update()
''' '''
@ -66,15 +66,15 @@ class L2populationRpcCallBackMixin(object):
class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin): class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
'''Mixin class of L2-population call back for Tunnel. '''Mixin class of L2-population call back for Tunnel.
The following all methods are used in a agent as an internal method. The following methods are all used in agents as internal methods.
Some of methods in this class use Local VLAN Mapping, aka lvm. Some of the methods in this class use Local VLAN Mapping, aka lvm.
It's a python object with the following attributes at least: It's a python object with at least the following attributes:
============ ========================================================= ============ =========================================================
Attribute Description Attribute Description
============ ========================================================= ============ =========================================================
vlan An identifier used by the agent to identify neutron vlan An identifier used by the agent to identify a neutron
network. network.
network_type A network type found in neutron.plugins.common.constants. network_type A network type found in neutron.plugins.common.constants.
============ ========================================================= ============ =========================================================
@ -120,7 +120,7 @@ class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
:param port_info: a list to contain mac and ip. :param port_info: a list to contain mac and ip.
[mac, ip] [mac, ip]
:remote_ip: remote ip address. :remote_ip: remote ip address.
:param lvm: local VLAN map of network. See add_fdb_flow for :param lvm: local VLAN map of a network. See add_fdb_flow for
more explanation. more explanation.
:param ofport: a port to delete. :param ofport: a port to delete.
''' '''
@ -137,9 +137,9 @@ class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
:param br: represent the bridge on which setup_tunnel_port should be :param br: represent the bridge on which setup_tunnel_port should be
applied. applied.
:param remote_ip: an ip for port to setup. :param remote_ip: an ip for a port to setup.
:param network_type: a type of network. :param network_type: a type of a network.
:returns: a ofport value. value 0 means the port is unavailable. :returns: an ofport value. value 0 means the port is unavailable.
''' '''
pass pass
@ -155,7 +155,7 @@ class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
:param br: represent the bridge on which cleanup_tunnel_port should be :param br: represent the bridge on which cleanup_tunnel_port should be
applied. applied.
:param tun_ofport: a port value to cleanup. :param tun_ofport: a port value to cleanup.
:param tunnel_type: a type of tunnel. :param tunnel_type: a type of a tunnel.
''' '''
pass pass
@ -170,8 +170,7 @@ class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
:param br: represent the bridge on which setup_entry_for_arp_reply :param br: represent the bridge on which setup_entry_for_arp_reply
should be applied. should be applied.
:param action: an action to operate for arp respond infomation. :param action: add/remove flow for arp response information.
"add" or "remove"
:param local_vid: id in local VLAN map of network's ARP entry. :param local_vid: id in local VLAN map of network's ARP entry.
:param mac_address: MAC string value. :param mac_address: MAC string value.
:param ip_address: IP string value. :param ip_address: IP string value.
@ -246,7 +245,7 @@ class L2populationRpcCallBackTunnelMixin(L2populationRpcCallBackMixin):
:param context: RPC context. :param context: RPC context.
:param br: represent the bridge on which fdb_chg_ip_tun should be :param br: represent the bridge on which fdb_chg_ip_tun should be
applied. applied.
:param fdb_entries: fdb dicts that contain all mac/IP informations per :param fdb_entries: fdb dicts that contain all mac/IP information per
agent and network. agent and network.
{'net1': {'net1':
{'agent_ip': {'agent_ip':