neutron/neutron/tests/unit/db
Fernando Royo 6226fa9fd6 Allow multiple IPv6 ports on router from same network ml2/ovs+dvr
On a recent change [1], some additional checks was added to avoid
ports overlapping cidrs on a router. On this change was also added
a check to do not attach more than one port IPv6 from same network,
but this check need to allow multiple ports when a deployment is
done using ml2/ovs+xvlan+dvr and the router has an external gateway
configured, because two ports are added:

- one with device_owner as network:router_interface_distributed
- another one with device_owner as network:router_centralized_snat

Also an small improvement is done for just run this check over the
existing ports on the router for the same network_id.

[1] https://review.opendev.org/c/openstack/neutron/+/859143

Closes-Bug: #2002800
Change-Id: I765a7b41e7e84f42a3180dfd15e3a41a8e085284
(cherry picked from commit e2097157bb)
2023-01-16 17:41:40 +01:00
..
metering [test][unit]creating resources support set project_id 2022-03-28 05:41:48 +00:00
quota Implement specific tracked resource count method per quota driver 2022-07-28 06:01:18 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test__utils.py ``Session.autocommit`` parameter is removed 2022-08-10 17:15:04 +02:00
test_agents_db.py Set process name for agents 2020-07-01 12:28:29 +02:00
test_agentschedulers_db.py Handle properly ObjectNotFound while deleting network from DHCP agent 2022-05-02 12:27:08 +02: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 Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
test_dvr_mac_db.py Replace assertItemsEqual with assertCountEqual 2020-11-30 10:21:57 +01:00
test_extraroute_db.py Use payloads for ROUTER AFTER_ callbacks 2021-08-09 14:13:28 +00:00
test_ipam_backend_mixin.py Remove "PortBindingMixin" class and related DB table 2022-01-08 14:53:21 +00:00
test_ipam_pluggable_backend.py Allow to pass EUI64 IP address as fixed ip for the port 2022-10-05 07:11:25 +00:00
test_l3_db.py Allow multiple IPv6 ports on router from same network ml2/ovs+dvr 2023-01-16 17:41:40 +01:00
test_l3_dvr_db.py Improve Router callback system's publish events 2021-12-05 04:36:36 +00:00
test_l3_hamode_db.py ``Session.autocommit`` parameter is removed 2022-08-10 17:15:04 +02:00
test_migration.py Replace "Inspector.from_engine()" with "sqlalchemy.inspect()" 2021-09-23 13:41:50 +00:00
test_ovn_hash_ring_db.py Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
test_ovn_revision_numbers_db.py Remove import of 'imp' module 2022-07-11 14:19:54 -04: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 Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
test_securitygroups_db.py Do not allow a tenant to create a default SG for another one 2022-09-02 10:57:33 -04:00
test_segments_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00