]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixing several misspellings in neutron
authorAiling Zhang <zhangal1992@gmail.com>
Mon, 2 Feb 2015 15:41:52 +0000 (23:41 +0800)
committerAiling Zhang <zhangal1992@gmail.com>
Mon, 2 Feb 2015 15:41:52 +0000 (23:41 +0800)
Change-Id: Ida6001821ac4212b6f33df95458e516fe3812a76

neutron/agent/l3/link_local_allocator.py
neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py

index 594daa716e6ac38713b495c95a83f935287b157d..67d7d54a513ee62ef01d2829b4748496f912b82c 100644 (file)
@@ -69,7 +69,7 @@ class LinkLocalAllocator(object):
         So, if a new allocation is needed, the code first checks to see if
         there are any remembered allocations for the key.  If not, it checks
         the free pool.  If the free pool is empty then it dumps the remembered
-        allocations to free the pool.  This final desparate step will not
+        allocations to free the pool.  This final desperate step will not
         happen often in practice.
         """
         if key in self.remembered:
@@ -77,7 +77,7 @@ class LinkLocalAllocator(object):
             return self.allocations[key]
 
         if not self.pool:
-            # Desparate times.  Try to get more in the pool.
+            # Desperate times.  Try to get more in the pool.
             self.pool.update(self.remembered.values())
             self.remembered.clear()
             if not self.pool:
index fd96fd3ae94c12dce65395bce776641951568f44..c883d508d51091ef2223de2a64b17a81bbad8640 100644 (file)
@@ -37,7 +37,7 @@ class DeviceCfgRpcCallbackMixin(object):
 
         @param: context - contains user information
         @param: host - originator of callback
-        @return: True if succesfully registered, False if not successfully
+        @return: True if successfully registered, False if not successfully
                  registered, None if no handler found
                  If unsuccessful the agent should retry registration a few
                  seconds later