Comment 163 for bug 1578989

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/786478
Committed: https://opendev.org/openstack/neutron/commit/edafe03adac24dcc5c7528114209c1d78b9db2e0
Submitter: "Zuul (22348)"
Branch: master

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].

    [1]https://review.opendev.org/c/openstack/neutron/+/574783
    [2]https://review.opendev.org/c/openstack/neutron/+/801712

    Partial-Bug: #1578989
    Change-Id: I88376c41c9a46b2c793ad6b3ab8e0baea99b8851