neutron/neutron/tests/unit/agent/linux/openvswitch_firewall
Slawek Kaplonski b01e0c2aa9 [OVS FW] Clean port rules if port not found in ovsdb
During e.g. migration or shelve of VM it may happend that
port update event will be send to the ovs agent and in the almost
the same time, port will be removed from br-int.
In such case during update_port_filter method openvswitch firewall
driver will not find port in br-int, and it will do nothing with it.
That will lead to leftover rules for this port in br-int.

So this patch adds calling remove_port_filter() method if port was
not found in br-int. Just to be sure that there is no any leftovers
from the port in br-int anymore.

Change-Id: I06036ce5fe15d91aa440dc340a70dd27ae078c53
Closes-Bug: #1850557
2019-12-02 12:22:50 +01:00
..
__init__.py Open vSwitch conntrack based firewall driver 2016-02-16 16:47:21 +00:00
test_firewall.py [OVS FW] Clean port rules if port not found in ovsdb 2019-12-02 12:22:50 +01:00
test_iptables.py broken HybridIptablesHelper function override 2018-01-09 17:00:46 +00:00
test_rules.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00