Treat invalid namespace call

Fixes bug 1060559

Change-Id: I29250100416b87f55781fb7e97339f6d3761513f
This commit is contained in:
Gary Kotton 2012-10-05 06:07:13 -04:00
parent 47e12864fb
commit 86bf73f395

View File

@ -126,7 +126,8 @@ class L3NATAgent(object):
auth_region=self.conf.auth_region
)
self._destroy_all_router_namespaces()
if self.conf.use_namespaces:
self._destroy_all_router_namespaces()
def _destroy_all_router_namespaces(self):
"""Destroy all router namespaces on the host to eliminate