From ada4237905053253349d0b48dc667cdbacf8045c Mon Sep 17 00:00:00 2001 From: Nam Nguyen Hoai Date: Wed, 18 Jan 2017 15:43:57 +0700 Subject: [PATCH] Fix typos There are some wrong words, it should be updated. Change-Id: Ia42df71eb16a8ab31d56b9371b738473f980fd82 --- neutron/db/l3_dvrscheduler_db.py | 2 +- neutron/plugins/ml2/driver_api.py | 2 +- neutron/tests/functional/agent/test_firewall.py | 2 +- neutron/tests/functional/db/test_migrations.py | 2 +- .../trunk/drivers/openvswitch/agent/test_ovsdb_handler.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/neutron/db/l3_dvrscheduler_db.py b/neutron/db/l3_dvrscheduler_db.py index 2c8f24dd475..04adc6c0779 100644 --- a/neutron/db/l3_dvrscheduler_db.py +++ b/neutron/db/l3_dvrscheduler_db.py @@ -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] diff --git a/neutron/plugins/ml2/driver_api.py b/neutron/plugins/ml2/driver_api.py index 2d87c05f396..c3b5ebddda4 100644 --- a/neutron/plugins/ml2/driver_api.py +++ b/neutron/plugins/ml2/driver_api.py @@ -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 diff --git a/neutron/tests/functional/agent/test_firewall.py b/neutron/tests/functional/agent/test_firewall.py index 8da5705c938..fcc5e6c4a73 100644 --- a/neutron/tests/functional/agent/test_firewall.py +++ b/neutron/tests/functional/agent/test_firewall.py @@ -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]) diff --git a/neutron/tests/functional/db/test_migrations.py b/neutron/tests/functional/db/test_migrations.py index 04d231f1a47..c4928f9ef0d 100644 --- a/neutron/tests/functional/db/test_migrations.py +++ b/neutron/tests/functional/db/test_migrations.py @@ -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. ''' diff --git a/neutron/tests/functional/services/trunk/drivers/openvswitch/agent/test_ovsdb_handler.py b/neutron/tests/functional/services/trunk/drivers/openvswitch/agent/test_ovsdb_handler.py index 32d9d8df06b..dec5a1dc519 100644 --- a/neutron/tests/functional/services/trunk/drivers/openvswitch/agent/test_ovsdb_handler.py +++ b/neutron/tests/functional/services/trunk/drivers/openvswitch/agent/test_ovsdb_handler.py @@ -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.