Comment 2 for bug 1979643

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

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

commit b497ad1665680cfff5173fbf08b06919e34c6776
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Jun 18 16:06:05 2022 +0000

    Filter the ports by VNIC type

    In ``check_baremetal_ports_dhcp_options``, the ports need to be
    retrieved based on the VNIC type. The VNIC type is stored in
    "ml2_port_bindings" table, not "ports" table. Because the ML2Plugin
    ``get_ports`` method can filter only by "ports" database register
    fields, it is needed to retrieve those ports using a custom database
    query and then use the plugin method to retrieve the ports, converted
    to dictionaries and the extensions processed.

    Closes-Bug: #1979643
    Change-Id: Iab227d9de75e4b1b927043ce27bdc346066478e8