neutron/neutron/plugins/ml2/drivers/openvswitch/agent
Darragh O'Reilly 143fe8ff89 Ensure drop flows on br-int at agent startup for DVR too
Commit 90212b12 changed the OVS agent so adding vital drop flows on
br-int (table 0 priority 2) for packets from physical bridges was
deferred until DVR initialization later on. But if br-int has no flows
from a previous run (eg after host reboot), then these packets will hit
the NORMAL flow in table 60. And if there is more than one physical
bridge, then the physical interfaces from the different bridges are now
essentially connected at layer 2 and a network loop is possible in the
time before the flows are added by DVR. Also the DVR code won't add them
until after RPC calls to the server, so a loop is more likely if the
server is not available.

This patch restores adding these flows to when the physical bridges are
first configured. Also updated a comment that was no longer correct and
updated the unit test.

Change-Id: I42c33fefaae6a7bee134779c840f35632823472e
Closes-Bug: #1887148
Related-Bug: #1869808
(cherry picked from commit c1a77ef8b7)
2020-07-21 17:19:41 +00:00
..
common Add accepted egress direct flow 2020-01-10 22:50:02 +08:00
extension_drivers Add OVS QoS driver cache for minimum bandwidth rules 2020-01-07 14:40:28 +00:00
openflow Remove sleep command when retrieving OVS dp 2020-01-30 15:34:45 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
main.py Drop of_interface option 2019-05-24 10:33:48 +02: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 [DVR] Reconfigure re-created physical bridges for dvr routers 2020-05-27 20:15:47 +00:00
ovs_neutron_agent.py Ensure drop flows on br-int at agent startup for DVR too 2020-07-21 17:19:41 +00:00
vlanmanager.py Change provider network segmentation ID in OVS agent 2019-05-20 18:53:17 +00:00