neutron/neutron/agent
Lucian Petrut 3e7abdf7ac ovsdb monitor: handle modified ports
This patch ensures that the ovsdb monitor propagates the events
received for modified ports.

We'll use a new list for the modified ports, which the neutron ovs
agent can handle.

In particular, this will cover the situation in which the ofport
changes. When using recent OVS Windows versions, VM ofports change
to -1 (invalid) when the VMs are shut down, receiving a valid
ofport when the VMs are powered back on (different than the initial
one). With this patch applied, "modify" events will be propagated
to the ovs agent, which will then update the OpenFlow rules.
The old rules are cleaned up by "update_stale_ofport_rules"
once the invalid ofport is detected.

Closes-Bug: #1843870
Co-authored-by: Alin Serdean <aserdean@cloudbasesolutions.com>

Conflicts:
      neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py

Change-Id: I0c3a570cbb3fbb03b4224744b32e034e9e255f8e
(cherry picked from commit 451c21571f)
(cherry picked from commit 4991325054)
2020-05-28 14:10:29 +00:00
..
common ovsdb monitor: handle modified ports 2020-05-28 14:10:29 +00:00
dhcp Prioritize port create and update ready messages 2020-04-06 16:49:22 -04:00
l2 Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3 Report L3 extensions enabled in the L3 agent's config 2020-05-07 20:52:48 +00:00
linux Allow usage of legacy 3rd-party interface drivers 2020-05-21 08:41:57 +00:00
metadata Remove extra header fields in proxied metadata requests 2020-03-03 20:11:30 +00:00
ovsdb Add debug information in BridgeCreateEvent 2018-12-06 10:08:51 +00:00
windows remove neutron.common.exceptions 2019-02-01 14:35:00 -07: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:07 +00:00
rpc.py Ignore first local port update notification 2019-07-10 18:15:07 +00:00
securitygroups_rpc.py Add accepted egress direct flow 2020-02-28 20:58:21 +08:00