neutron/neutron/tests/unit/agent
Slawek Kaplonski 50a02ebc06 [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.

Conflicts:
    neutron/agent/linux/openvswitch_firewall/firewall.py

Change-Id: I06036ce5fe15d91aa440dc340a70dd27ae078c53
Closes-Bug: #1850557
(cherry picked from commit b01e0c2aa9)
2019-12-03 09:20:46 +01:00
..
common Clear skb mark on encapsulating packets 2019-08-12 17:19:06 +04:00
dhcp Switch to use cast method in dhcp_ready_on_ports method 2019-11-15 15:53:44 +01:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
l3 Add radvd_user config option 2019-10-24 15:59:03 +00:00
linux [OVS FW] Clean port rules if port not found in ovsdb 2019-12-03 09:20:46 +01:00
metadata Revert iptables TCP checksum-fill code 2019-04-29 15:34:29 +00:00
ovsdb Merge "Kill _connection_to_manager_uri dummy" 2018-02-22 00:30:24 +00:00
windows Fix neutron-openvswitch-agent Windows support 2018-08-28 06:53:11 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Add binding activation to OVS agent 2018-07-18 11:59:33 -05:00
test_securitygroups_rpc.py Divide-and-conquer security group beasts 2019-04-03 10:59:58 -07:00