commit 08bdc4ded10baba932c5690f0c567e5bc38f0ff3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jan 26 17:30:01 2022 +0000
Add "bound_drivers" information to port "vif_details"
This new parameter "bound_drivers" is a dictionary with the binding
levels and the driver name. E.g.:
port['vif_details']['bound_drivers'] = {'0': 'openvswitch'}
port['vif_details']['bound_drivers'] = {'0': 'ovn'}
If the port is not bound, this key won't be present in "vif_details".
This information is important for Nova, along with the VIF type, to
adequate the port plugin strategy or to know what kind of plugin
events are expected; currently, depending on the driver and the
connection type, Neutron sends a different set of vif-plugged events.
This is specially critical during live migration process, where the
network communication should be halted as little as possible.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/826512 /opendev. org/openstack/ neutron/ commit/ 08bdc4ded10baba 932c5690f0c567e 5bc38f0ff3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 08bdc4ded10baba 932c5690f0c567e 5bc38f0ff3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jan 26 17:30:01 2022 +0000
Add "bound_drivers" information to port "vif_details"
This new parameter "bound_drivers" is a dictionary with the binding 'vif_details' ]['bound_ drivers' ] = {'0': 'openvswitch'} 'vif_details' ]['bound_ drivers' ] = {'0': 'ovn'}
levels and the driver name. E.g.:
port[
port[
If the port is not bound, this key won't be present in "vif_details".
This information is important for Nova, along with the VIF type, to
adequate the port plugin strategy or to know what kind of plugin
events are expected; currently, depending on the driver and the
connection type, Neutron sends a different set of vif-plugged events.
This is specially critical during live migration process, where the
network communication should be halted as little as possible.
Related-Bug: #1821058
Change-Id: I1c42fa4f44cc23 11e874b2b9bf2bd 40ffd142e91