neutron/neutron/db
Yang JianFeng b79000c34c Improve the CIDRs overlap check method for router add interface
If an external network have multiple subnets, the router whose
external gateway at the network will have all routes about those
subnets. So, when a internal subnet was added to the router, all
subnets of the the network which the router's external gateway
belong to need to be joined to check whether the CIDRs is
overlapped.

Also, this patch revert the patch [1]
[1] https://review.opendev.org/#/c/473356/

Change-Id: Id5d8ac09a38c656619f88a6f87b8f384fe4c55a8
Closes-Bug: #1903433
Depends-On: https://review.opendev.org/763621
Depends-On: https://review.opendev.org/763626
(cherry picked from commit 8ebd54d1bc)
2021-01-11 09:02:44 +00:00
..
allowed_address_pairs Clean up deprecated sqla model import paths 2017-02-25 03:42:34 +00:00
availability_zone remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
extra_dhcp_opt Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
metering use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
migration Add Rocky milestone tag for alembic migration revisions 2020-05-14 03:38:53 +00:00
models Fix queries to retrieve allocations with network_segment_range 2020-04-30 11:00:41 +00:00
network_dhcp_agent_binding OVO for NetworkDhcpAgentBinding 2017-09-08 15:48:00 +00:00
port_security Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
qos Refactor qos_plugin._extend_port_resource_request 2019-07-05 16:39:11 +00:00
quota remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_utils.py use db utils from lib 2018-07-02 08:24:36 -06:00
address_scope_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
agents_db.py New agent attribute: resources_synced 2019-02-21 13:45:15 +01:00
agentschedulers_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
allowedaddresspairs_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
common_db_mixin.py remove unused methods in common_db_mixin 2019-01-30 11:22:43 -07:00
data_plane_status_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
db_base_plugin_common.py Optimize DVR related port DB query 2020-03-31 14:02:19 +00:00
db_base_plugin_v2.py Merge "Move subnet postcommit out of transaction for bulk create" into stable/stein 2019-05-04 02:40:24 +00:00
dns_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
dvr_mac_db.py Optimize DVR related port DB query 2020-03-31 14:02:19 +00:00
external_net_db.py remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
extradhcpopt_db.py Utilize bulk port creation ops in ml2 plugin 2019-03-21 11:31:36 +00:00
extraroute_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
flavors_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
ipam_backend_mixin.py Allow first address in an IPv6 subnet as valid unicast 2019-05-22 14:13:31 +00:00
ipam_pluggable_backend.py fixed_configured=True when Add/Remove port IPs 2019-10-09 09:36:45 +00:00
l3_agentschedulers_db.py List ha router count should not include dvr local router 2019-05-18 11:04:21 +08:00
l3_attrs_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_db.py Improve the CIDRs overlap check method for router add interface 2021-01-11 09:02:44 +00:00
l3_dvr_db.py [DVR] Don't populate unbound ports in router's ARP cache 2020-04-03 16:54:29 +02:00
l3_dvr_ha_scheduler_db.py Fix connection between 2 dvr routers 2018-11-01 18:01:25 +01:00
l3_dvrscheduler_db.py [DVR] Related routers should be included if are requested 2020-07-10 13:30:31 +00:00
l3_fip_pools_db.py Introduce floating IP pool resource 2018-10-04 15:53:53 +00:00
l3_fip_port_details.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_fip_qos.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_gateway_ip_qos.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_gwmode_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3_hamode_db.py Ensure dvr ha router gateway port binding host 2019-05-20 09:52:45 +00:00
l3_hascheduler_db.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
models_v2.py Revert "Update network revision only when it needs" 2018-08-14 21:06:21 +00:00
network_ip_availability_db.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
portbindings_base.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
portbindings_db.py remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
portsecurity_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
portsecurity_db_common.py use db utils from lib 2018-07-02 08:24:36 -06:00
provisioning_blocks.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
rbac_db_mixin.py rbac: Catch correct exception for duplicated entry 2019-06-11 07:48:09 +00:00
rbac_db_models.py Allow sharing of security groups via RBAC mechanism 2019-03-09 17:30:14 -06:00
securitygroups_db.py Fix port can not be created with the sg of other project 2020-08-21 00:12:14 -04:00
securitygroups_rpc_base.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2020-11-17 14:33:58 +00:00
segments_db.py Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
servicetype_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
sqlalchemytypes.py For typo in sqlalchemytypes 2017-02-13 16:18:46 +00:00
standard_attr.py Run revision bump operations en masse 2019-02-18 15:12:17 -05:00
standardattrdescription_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
subnet_service_type_mixin.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
uplink_status_propagation_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
vlantransparent_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00