neutron/neutron/tests/unit/agent/l3
Miguel Lavalle 62e0bee820 Support multiple external networks in L3 agent
Change [1] removed the deprecated option external_network_bridge. Per
commit message in change [2], "l3 agent can handle any networks by
setting the neutron parameter external_network_bridge and
gateway_external_network_id to empty". So the consequence of [1] was to
introduce a regression whereby multiple external networks are not
supported by the L3 agent anymore.

This change proposes a new simplified rule. If
gateway_external_network_id is defined, that is the network that the L3
agent will use. If not and multiple external networks exist, the L3
agent will handle any of them.

[1] https://review.opendev.org/#/c/567369/
[2] https://review.opendev.org/#/c/59359

Change-Id: Idd766bd069eda85ab6876a78b8b050ee5ab66cf6
Closes-Bug: #1824571
(cherry picked from commit 0b3f5f429d)
2019-05-28 20:05:07 +00:00
..
extensions Not process port forwarding if no snat functionality 2019-04-30 01:39:38 +00:00
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Support multiple external networks in L3 agent 2019-05-28 20:05:07 +00:00
test_dvr_fip_ns.py DVR: Correctly change MTU in fip namespace 2019-04-12 19:17:30 +00:00
test_dvr_local_router.py Packets getting lost during SNAT with too many connections 2019-05-20 17:39:47 -04:00
test_dvr_snat_ns.py Switch ip link command to pyroute2 2018-03-24 22:42:00 +00:00
test_fip_rule_priority_allocator.py Merge "Removed unnecessary setUp calls in tests" 2017-08-29 23:57:56 +00:00
test_ha_router.py Keep HA ports info for HA router during entire lifecycle 2019-05-18 04:12:39 +00:00
test_item_allocator.py DVR: Check for item_allocator key before releasing 2018-04-04 11:47:41 -07:00
test_l3_agent_extension_api.py Add iptables metadata marking rule on router init 2017-12-19 10:07:33 -05:00
test_legacy_router.py Remove deprecated send_arp_for_ha option 2017-04-18 13:38:35 -04:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_router_info.py Fix update of ports cache in router_info class 2019-02-07 15:49:59 +01:00