neutron/neutron/tests
Darragh O'Reilly 8a173ec29a 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)
(cherry picked from commit 143fe8ff89)
(cherry picked from commit 6a861b8c8c28e5675ec2208057298b811ba2b649)
(cherry picked from commit 8181c5dbfe)
Conflicts:
	neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
(cherry picked from commit 47ec363f5f)
Conflicts:
	neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py
2020-07-22 08:03:21 +00:00
..
common Always set ovs bridge name in vif:binding-details 2020-01-02 17:14:21 +08:00
contrib Fix queens gates, multiple fixes 2020-07-07 10:56:34 +02:00
etc List SG rules which belongs to tenant's SG 2020-02-17 12:28:08 +01:00
fullstack Increase waiting time for network rescheduling 2020-04-07 20:19:28 +00:00
functional [DVR] Related routers should be included if are requested 2020-07-10 13:31:04 +00:00
tempest Remove the bundled intree neutron tempest plugin 2017-11-22 12:54:33 -08:00
unit Ensure drop flows on br-int at agent startup for DVR too 2020-07-22 08:03:21 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Handle DBConnectionError in skip_if_timeout decorator 2019-04-11 07:22:02 +00:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py
tools.py Router to OVO 2017-11-24 04:11:33 +00:00