Merge "NSX|V3: Rename logical router"

This commit is contained in:
Jenkins 2015-12-18 19:54:09 +00:00 committed by Gerrit Code Review
commit 5488dd47f8

View File

@ -1006,7 +1006,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
router['router'], resource_type='os-neutron-router-id',
project_name=context.tenant_name)
result = self._router_client.create(
display_name=router['router'].get('name'),
display_name=utils.get_name_and_uuid(
router['router']['name'], router['router']['id']),
tags=tags)
with context.session.begin():