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/753314 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c8a819aff4d b62e58192af0a27 2a7f1ce7923146
Committed: https:/
Submitter: Zuul
Branch: master
commit c8a819aff4db62e 58192af0a272a7f 1ce7923146
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