neutron/neutron/tests/unit/db
Rodolfo Alonso Hernandez f450886ff9 Allow the use of legacy routers within RPN segments
This patch adds to legacy routers (no HA nor DVR) to be connected
to a router provider network segment through the gateway interface.
The router will be connected to one single segment of the RPN; that
means the router will have L2 connectivity to one single subnet.
The gateway router port will have an IP address on the subnet CIDR;
that will provide connectivity to the broadcast domain of this CIDR
(as usual, that doesn't change).

The router, in other scenarios, adds the other subnet CIDRs to the
router namespace routing table. That allows to SNAT any packet to
those CIDRs through the gateway port.

In the RPN case those routes are not added because there is no
broadcast connectivity with the other subnets. Any packet that needs
to reach these other subents, should go through the local segment
gateway IP address. This default route is added always into the
router namespace.

Closes-Bug: #1923592

Change-Id: Ib66b1d7b60eb0ac0a9e3dfd08aae29cb03abde34
2021-06-03 15:58:26 +00:00
..
metering Add source_ip_prefix and destination_ip_prefix to metering label rules 2020-09-29 09:06:03 -03:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test__utils.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_agents_db.py Set process name for agents 2020-07-01 12:28:29 +02:00
test_agentschedulers_db.py DHCP notification optimization 2021-04-09 13:33:43 +03:00
test_allowedaddresspairs_db.py Switch to new engine facade in test_allowedaddresspairs_db module 2020-03-20 02:18:04 +01:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Add test cases for concurrently Object delete 2021-05-24 07:11:58 +00:00
test_dvr_mac_db.py Replace assertItemsEqual with assertCountEqual 2020-11-30 10:21:57 +01:00
test_extraroute_db.py Replace assertItemsEqual with assertCountEqual 2020-11-30 10:21:57 +01:00
test_ipam_backend_mixin.py Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
test_ipam_pluggable_backend.py [OVN] Allow IP allocation with different segments for OVN service ports 2020-07-22 07:38:49 +00:00
test_l3_db.py Allow the use of legacy routers within RPN segments 2021-06-03 15:58:26 +00:00
test_l3_dvr_db.py [DVR] Send allowed address pairs info to the L3 agents 2021-05-18 12:58:23 +02:00
test_l3_hamode_db.py Remove unused method _ensure_vr_id_and_network() 2021-04-13 09:21:16 +00:00
test_migration.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovn_hash_ring_db.py Match created_at and updated_at timestamp in TestHashRing 2020-10-08 14:45:51 +00:00
test_ovn_revision_numbers_db.py Merge "Support remote address group in SG rules" 2020-11-28 11:26:39 +00:00
test_portsecurity_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_portsecurity_db_common.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_provisioning_blocks.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_rbac_db_mixin.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_securitygroups_db.py Don't try to create default SG when security groups are disabled 2021-02-05 16:07:39 +01:00
test_segments_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00