Merge "Avoid constructing a RouterInfo object to get namespace name"

This commit is contained in:
Jenkins 2014-10-15 03:47:07 +00:00 committed by Gerrit Code Review
commit e56b33f420
1 changed files with 2 additions and 1 deletions

View File

@ -335,8 +335,9 @@ class TestFwaasL3AgentRpcCallback(base.BaseTestCase):
def _prepare_router_data(self, use_namespaces):
router = {'id': str(uuid.uuid4()), 'tenant_id': str(uuid.uuid4())}
ns = "ns-" + router['id']
return l3_agent.RouterInfo(router['id'], self.conf.root_helper,
use_namespaces, router=router)
use_namespaces, router=router, ns_name=ns)
def _get_router_info_list_with_namespace_helper(self,
router_use_namespaces):