Merge "ovn: Support live migration to DPDK nodes"

This commit is contained in:
Zuul 2021-01-13 10:35:03 +00:00 committed by Gerrit Code Review
commit d163629e9b

View File

@ -761,7 +761,9 @@ class OVNMechanismDriver(api.MechanismDriver):
# perform live-migration with live_migration_wait_for_vif_plug=True.
if ((port['status'] == const.PORT_STATUS_DOWN and
ovn_const.MIGRATING_ATTR in port[portbindings.PROFILE].keys() and
port[portbindings.VIF_TYPE] == portbindings.VIF_TYPE_OVS)):
port[portbindings.VIF_TYPE] in (
portbindings.VIF_TYPE_OVS,
portbindings.VIF_TYPE_VHOST_USER))):
LOG.info("Setting port %s status from DOWN to UP in order "
"to emit vif-interface-plugged event.",
port['id'])