neutron/neutron/plugins/ml2/drivers/openvswitch/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 Add accepted egress direct flow 2020-02-28 20:58:21 +08:00
extension_drivers Add QoS minimum egress bandwidth rule into ovs-agent 2019-02-26 11:05:04 +00:00
openflow Add accepted egress direct flow 2020-02-28 20:58:21 +08:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
main.py Remove unused variables ‘LOG' 2017-11-23 04:33:33 +08:00
ovs_agent_extension_api.py Make "phys_brs" argument in OVSAgentExtensionAPI optional 2019-03-05 15:59:00 +00:00
ovs_capabilities.py Add agent-side driver scaffolding for trunk functionality 2016-08-18 12:10:22 +00:00
ovs_dvr_neutron_agent.py Add accepted egress direct flow 2020-02-28 20:58:21 +08:00
ovs_neutron_agent.py ovsdb monitor: handle modified ports 2020-05-28 14:10:29 +00:00
vlanmanager.py Removed deprecated class LocalVLANMapping 2016-11-07 20:24:06 +00:00