NSX|V3: Rename logical router
Rename logical router from "<OS-Router-name>" to "<OS-Router-name>_<short-OS-Router-UUID>". Change-Id: Iabcfb6677cd7d1d6333c83095a877f407c301fee
This commit is contained in:
parent
a1aaa44416
commit
bf3e1b7e8f
@ -1000,7 +1000,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
||||
router['router']['id'] = uuidutils.generate_uuid()
|
||||
tags = utils.build_v3_tags_payload(router['router'])
|
||||
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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user