neutron/neutron/tests/unit/plugins/ml2/drivers
Darragh O'Reilly 8181c5dbfe 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)
2020-07-22 07:36:31 +00:00
..
agent use payloads for all PORT_DEVICE events 2019-01-30 12:42:29 -07:00
l2pop Don't add arp responder for non tunnel network port 2020-07-13 23:53:09 +00:00
linuxbridge Merge "Implement add_tc_qdisc and list_tc_qdiscs using pyroute2" 2019-02-16 05:52:19 +00:00
macvtap Update neutron files for new over-indentation hacking rule (E117) 2019-01-29 15:36:20 -05:00
mech_sriov Locate RP-tree parent by hypervisor name 2019-12-23 12:11:14 +01:00
openvswitch Ensure drop flows on br-int at agent startup for DVR too 2020-07-22 07:36:31 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
ext_test.py Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
mech_fake_agent.py Drive binding by placement allocation 2019-03-09 22:03:51 +00:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
mechanism_test.py Placement reporting service plugin 2019-03-01 15:37:48 +01:00
test_helpers.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_flat.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py Improve VLAN allocations synchronization 2020-04-28 09:17:51 +00:00
test_type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00