neutron/neutron/agent/linux
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
..
openvswitch_firewall [OVS FW] Clean port rules if port not found in ovsdb 2019-12-03 09:20:46 +01:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Add kill_timeout to AsyncProcess 2019-01-04 11:44:23 +01:00
bridge_lib.py LinuxBridge: Use ifindex for logical 'timestamp' 2016-09-14 17:02:46 +00:00
daemon.py Remove argument "watch_log = " 2017-10-13 09:42:48 +08:00
dhcp.py Increase timeout when waiting for dnsmasq enablement 2019-10-31 14:21:15 +00:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
external_process.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
interface.py [DVR] Allow multiple subnets per external network 2019-01-18 07:33:59 +00:00
ip_conntrack.py Remove race and simplify conntrack state management 2018-03-14 17:26:37 -04:00
ip_lib.py Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
ip_link_support.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ip_monitor.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ipset_manager.py use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00
iptables_firewall.py When converting sg rules to iptables, do not emit dport if not supported 2019-03-11 18:14:02 +00:00
iptables_manager.py Packets getting lost during SNAT with too many connections 2019-06-04 23:23:07 +00:00
keepalived.py Give some HA router case specific resources 2019-04-17 13:08:10 +02:00
l3_tc_lib.py Make L3 IP tc filter rate limit more accurate 2018-06-20 02:21:28 +00:00
ovsdb_monitor.py ovsdb monitor: do not die on ovsdb-client stderr output 2018-09-17 10:16:32 +02:00
pd.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
pd_driver.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
polling.py Support ovsdb-client monitor with remote connection 2017-01-17 06:00:58 -08:00
ra.py Add radvd_user config option 2019-10-24 15:59:03 +00:00
tc_lib.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
utils.py Fix race condition when getting cmdline 2019-11-24 14:33:32 +00:00
xenapi_root_helper.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00