neutron/neutron/plugins/ml2/drivers
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
..
agent remove neutron.common.constants 2019-04-04 14:10:26 -06:00
l2pop ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
linuxbridge No rpc_response_max_timeout in LB-agent 2020-06-22 05:50:44 +00:00
macvtap Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
mech_sriov Use pyroute2 for SRIOV VF commands 2020-06-26 06:09:48 +00:00
openvswitch Ensure drop flows on br-int at agent startup for DVR too 2020-07-21 17:19:41 +00:00
ovn Merge "[OVN] OVN driver to adapt to enable_distributed_floating_ip changes" into stable/ussuri 2020-07-16 10:18:52 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Fix queries to retrieve allocations with network_segment_range 2020-02-28 12:34:13 +00:00
mech_agent.py Add "connectivity" parameter in vif_details 2019-07-05 10:13:11 +00:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Add tunnel_ip_version to tunnel_sync() error message 2020-04-01 20:51:32 -04:00
type_vlan.py Improve VLAN allocations synchronization 2020-02-11 18:26:25 +00:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00