Filter out port with invalid ofport in OVS firewall
Since [1], "get_vif_port_by_id" is also returning ports with an
invalid ofport. OVS firewall cannot set an OpenFlow rule for a port
without a valid ofport. "get_ovs_port" should filter out those ports.
Reviewed: https:/ /review. opendev. org/756478 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=24dd977c221 7bb10baf2cf226e ab2bd0e5b47d62
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit 24dd977c2217bb1 0baf2cf226eab2b d0e5b47d62
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Sep 24 09:44:47 2020 +0000
Filter out port with invalid ofport in OVS firewall
Since [1], "get_vif_ port_by_ id" is also returning ports with an
invalid ofport. OVS firewall cannot set an OpenFlow rule for a port
without a valid ofport. "get_ovs_port" should filter out those ports.
Related-Bug: #1815989
Related-Bug: #1734320
[1]https:/ /review. opendev. org/#/c/ 640258/
Change-Id: Id12486b3127ab4 ac8ad9ef2b3641d a1b79a25a50 58192af0a272a7f 1ce7923146)
(cherry picked from commit c8a819aff4db62e