Comment 12 for bug 1961184

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/844810
Committed: https://opendev.org/openstack/neutron/commit/c4a5b8348ad1f1bb7c0c2ec137da1124df76f7fe
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit c4a5b8348ad1f1bb7c0c2ec137da1124df76f7fe
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Feb 9 19:04:45 2022 +0000

    [OVN] Update VIP port host ID when traffic detected

    A virtual IP port is a port with an IP address assigned. This IP
    address is used as an allowed address pair in a bound port (or ports).
    This port is marked as "virtual" and a list of "virtual-parents"
    (ports with the VIP assigned as allowed address pair) will be
    populated accordingly.

    This patch updates the "binding:host_id" of the port when OVN detects
    traffic from the corresponding VIP address. OVN updates the VIP port
    SB "Port_Binding" register with the chassis ID. The hostname of this
    chassis is used to update the port host ID.

    The VIP port is always unbound and down; this patch only populates the
    host information to provide to the user this information using the
    OpenStack CLI, instead of making this search using the OVN CLI.

    Conflicts:
        neutron/common/ovn/constants.py
        neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py
        neutron/plugins/ml2/plugin.py
        neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py

    Closes-Bug: #1961184

    Change-Id: I75b04d056ba0df9e34a99673c689a69cdbfa097e
    (cherry picked from commit bdbabdf362a0755fa5a86222a7a223c727f0ec4e)
    (cherry picked from commit 6b6abd0718746ca55c2eb302570b874b7e2362c8)