Merge "NSX|V3: Rename logical router"
This commit is contained in:
commit
5488dd47f8
@ -1006,7 +1006,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
|||||||
router['router'], resource_type='os-neutron-router-id',
|
router['router'], resource_type='os-neutron-router-id',
|
||||||
project_name=context.tenant_name)
|
project_name=context.tenant_name)
|
||||||
result = self._router_client.create(
|
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)
|
tags=tags)
|
||||||
|
|
||||||
with context.session.begin():
|
with context.session.begin():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user