Merge "[API Replay] Do not migrate NSX-V LB ports"
This commit is contained in:
commit
7ef211fb20
@ -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…
x
Reference in New Issue
Block a user