Browse Source

[API Replay] Do not migrate NSX-V LB ports

They are not needed on NSX-T. Avoid creating stale ports on
NSX-T segments.

Change-Id: I21b7e02c8088cdd9401e33cf5c74909d4fa5d6f9
changes/86/818586/1
Salvatore Orlando 6 months ago committed by Salvatore Orlando
parent
commit
a1bc4d7f97
  1. 5
      vmware_nsx/api_replay/client.py

5
vmware_nsx/api_replay/client.py

@ -854,6 +854,11 @@ class ApiReplayClient(utils.PrepareObjectForMigration):
{'port': port, 'e': e})
continue
# Skip ports specific to NSX-V LB implementation
if port['device_owner'] == 'neutron:LB':
LOG.debug("Skipping port %s as it has neutron:LB "
"device owner", port['id'])
continue
# Let the neutron dhcp-agent recreate this on its own
if port['device_owner'] == 'network:dhcp':
continue

Loading…
Cancel
Save