commit edafe03adac24dcc5c7528114209c1d78b9db2e0
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Dec 15 17:56:34 2021 +0000
[OVN][Placement] Drive binding by placement allocation
Add OVN to the mechanism drivers that support placement allocation.
The choice of the mechanism driver during binding process was
implemented in [1], using the "port" information provided by Nova
in "binding:profile".
The OVN mechanism driver class inherits from "MechanismDriver", that
added the API method "responsible_for_ports_allocation". [1]
implements this method for "AgentMechanismDriverBase", but OVN does
not inherit from this class, as OVS or SR-IOV mechanism drivers,
because is an agent-less mech driver.
This patch adds the specific implementation to allow the ML2 to
decide if the OVN mechanism driver is responsible for binding the
port given, based on the "port" "allocation" information and the
OVN Placement information retrieved from the SB DB Chassis
registers [2].
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/786478 /opendev. org/openstack/ neutron/ commit/ edafe03adac24dc c5c7528114209c1 d78b9db2e0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit edafe03adac24dc c5c7528114209c1 d78b9db2e0
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Dec 15 17:56:34 2021 +0000
[OVN] [Placement] Drive binding by placement allocation
Add OVN to the mechanism drivers that support placement allocation.
The choice of the mechanism driver during binding process was
implemented in [1], using the "port" information provided by Nova
in "binding:profile".
The OVN mechanism driver class inherits from "MechanismDriver", that for_ports_ allocation" . [1] DriverBase" , but OVN does
added the API method "responsible_
implements this method for "AgentMechanism
not inherit from this class, as OVS or SR-IOV mechanism drivers,
because is an agent-less mech driver.
This patch adds the specific implementation to allow the ML2 to
decide if the OVN mechanism driver is responsible for binding the
port given, based on the "port" "allocation" information and the
OVN Placement information retrieved from the SB DB Chassis
registers [2].
[1]https:/ /review. opendev. org/c/openstack /neutron/ +/574783 /review. opendev. org/c/openstack /neutron/ +/801712
[2]https:/
Partial-Bug: #1578989 2c793ad6b3ab8e0 baea99b8851
Change-Id: I88376c41c9a46b