Fix typos

There are some wrong words, it should be updated.

Change-Id: Ia42df71eb16a8ab31d56b9371b738473f980fd82
This commit is contained in:
Nam Nguyen Hoai 2017-01-18 15:43:57 +07:00
parent eb27f0be52
commit ada4237905
5 changed files with 5 additions and 5 deletions

View File

@ -81,7 +81,7 @@ class L3_DVRsch_db_mixin(l3agent_sch_db.L3AgentSchedulerDbMixin):
When a new dvr service port is created, this function will
schedule a dvr router to new compute node if needed and notify
l3 agent on that node.
The 'dest_host' will provide the destinaton host of the port in
The 'dest_host' will provide the destination host of the port in
case of service port migration.
"""
port_host = dest_host or port[portbindings.HOST_ID]

View File

@ -608,7 +608,7 @@ class PortContext(object):
Called by the MechanismDriver.bind_port, create_port or update_port
to dynamically allocate a segment for the port using the partial
segment specified. The segment dictionary can be a fully or partially
specified segment. At a minumim it needs the network_type populated to
specified segment. At a minimum it needs the network_type populated to
call on the appropriate type driver.
"""
pass

View File

@ -573,7 +573,7 @@ class FirewallTestCase(BaseFirewallTestCase):
"""
# Enable ip forwarding on the interface in order to reply with
# destionation net unreachable
# destination net unreachable
self.tester._peer.execute([
'sysctl', '-w', 'net.ipv4.conf.%s.forwarding=1' %
self.tester._peer.port.name])

View File

@ -491,7 +491,7 @@ class TestWalkDowngrade(oslotest_base.BaseTestCase):
class _TestWalkMigrations(object):
'''This will add framework for testing schema migarations
'''This will add framework for testing schema migration
for different backends.
'''

View File

@ -33,7 +33,7 @@ def generate_tap_device_name():
class OVSDBHandlerTestCase(base.OVSAgentTestFramework):
"""Test funcionality of OVSDBHandler.
"""Test functionality of OVSDBHandler.
This suite aims for interaction between events coming from OVSDB monitor,
agent and wiring ports via trunk bridge to integration bridge.