From: Ailing Zhang Date: Mon, 2 Feb 2015 15:41:52 +0000 (+0800) Subject: Fixing several misspellings in neutron X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=39f46a552a6ab0296fef049eec1ce6f9861d3e2b;p=openstack-build%2Fneutron-build.git Fixing several misspellings in neutron Change-Id: Ida6001821ac4212b6f33df95458e516fe3812a76 --- diff --git a/neutron/agent/l3/link_local_allocator.py b/neutron/agent/l3/link_local_allocator.py index 594daa716..67d7d54a5 100644 --- a/neutron/agent/l3/link_local_allocator.py +++ b/neutron/agent/l3/link_local_allocator.py @@ -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: diff --git a/neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py b/neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py index fd96fd3ae..c883d508d 100644 --- a/neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py +++ b/neutron/plugins/cisco/l3/rpc/devices_cfgagent_rpc_cb.py @@ -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