neutron/neutron/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 Merge "Packets getting lost during SNAT with too many connections" into stable/rocky 2019-06-06 04:10:47 +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 Make OVSDB debug logging optional 2018-04-18 15:57:18 -05: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
_topics.py Add binding_deactivate method to Linux bridge agent 2018-07-14 16:46:01 -05:00
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
resource_cache.py Ignore first local port update notification 2019-07-10 18:15:24 +00:00
rpc.py Ignore first local port update notification 2019-07-10 18:15:24 +00:00
securitygroups_rpc.py Divide-and-conquer security group beasts 2019-04-03 10:59:58 -07:00