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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/847346 /opendev. org/openstack/ neutron/ commit/ b497ad1665680cf ff5173fbf08b069 19e34c6776
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b497ad1665680cf ff5173fbf08b069 19e34c6776
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 port_bindings" table, not "ports" table. Because the ML2Plugin
retrieved based on the VNIC type. The VNIC type is stored in
"ml2_
``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 1b927043ce27bdc 346066478e8
Change-Id: Iab227d9de75e4b