Browse Source

MP2P migration: Support multiple tier0 uplink ports

Change-Id: Idf3e4c8403855c38a4be4b47d1096035e9c55835
changes/50/747850/1
asarfaty 1 month ago
committed by Adit Sarfaty
parent
commit
f186fc2990
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py

+ 2
- 2
vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py View File

@@ -908,8 +908,8 @@ def migrate_tier0_config(nsxlib, nsxpolicy, tier0s):

entries = []
for tier0 in tier0s:
uplink_port = nsxlib.logical_router_port.get_tier0_uplink_port(tier0)
if uplink_port:
uplink_ports = nsxlib.logical_router_port.get_tier0_uplink_ports(tier0)
for uplink_port in uplink_ports:
entries.append({'manager_id': uplink_port['id']})

migrate_resource(nsxlib, 'TIER0_LOGICAL_ROUTER_PORT', entries,


Loading…
Cancel
Save