[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
This commit is contained in:
parent
ca624d95fb
commit
5741b2e51d
|
@ -852,6 +852,11 @@ class ApiReplayClient(utils.PrepareObjectForMigration):
|
||||||
{'port': port, 'e': e})
|
{'port': port, 'e': e})
|
||||||
continue
|
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
|
# Let the neutron dhcp-agent recreate this on its own
|
||||||
if port['device_owner'] == 'network:dhcp':
|
if port['device_owner'] == 'network:dhcp':
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue