neutron/neutron/db
Rodolfo Alonso Hernandez 56774da426 Add port IDs in "RouterInUse" exception during router deletion
When a router is deleted, the server checks first if there are ports
still attached. In this case, the exception "RouterInUse" is raised.
This patch adds the port IDs to the exception message.

Related-Bug: #1962167
Change-Id: I5b5e31677f81d7ba47a457044a6b58910ae41466
2022-02-25 18:31:08 +00:00
..
allowed_address_pairs Clean up deprecated sqla model import paths 2017-02-25 03:42:34 +00:00
availability_zone "default_availability_zones" need to be considered when validate az 2021-08-16 00:14:49 +00:00
extra_dhcp_opt Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
metering Replace "tenant_id" with "project_id" in metering service 2021-10-28 09:42:52 +00:00
migration [Server Side] L3 router support ndp proxy 2022-02-03 10:07:46 +08:00
models [Server Side] L3 router support ndp proxy 2022-02-03 10:07:46 +08:00
network_dhcp_agent_binding Move migration to proper dir and fix objects tests 2019-11-04 17:44:44 +00:00
port_security Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
qos Add network QoS inheritance to floating IP 2021-11-24 09:01:09 +00:00
quota Create a PeriodicWorker for DbQuotaNoLockDriver clean up 2022-01-21 10:51:31 +00:00
__init__.py
_utils.py Finish the new DB engine facade migration 2020-11-24 09:20:35 +00:00
address_group_db.py Unify the states format for address group payloads 2021-10-26 19:16:46 -05:00
address_scope_db.py Allow sharing of address scopes via RBAC mechanism 2020-03-19 16:51:39 +02:00
agents_db.py Avoid writing segments to the DB repeatedly 2021-12-02 15:03:15 +01:00
agentschedulers_db.py segments: fix scheduling duplicate segments 2022-02-14 16:06:17 +01:00
allowedaddresspairs_db.py [DVR] Send allowed address pairs info to the L3 agents 2021-05-18 12:58:23 +02: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 Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
db_base_plugin_v2.py Refactor session "is_active" handling for sqlalchemy-20 2022-02-10 09:03:36 +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 2019-08-25 01:24:03 +08:00
external_net_db.py Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
extradhcpopt_db.py Utilize bulk port creation ops in ml2 plugin 2019-03-21 11:31:36 +00:00
extraroute_db.py Check router routes connectivity when GW port is updated 2021-06-24 11:54:17 +00:00
flavors_db.py delete common_db_mixin 2019-04-17 11:25:41 -06:00
ipam_backend_mixin.py Using 31-Bit and 32-Bit prefixes for IPv4 reasonably 2021-06-09 07:35:54 +00:00
ipam_pluggable_backend.py Allocate IPs in bulk requests in separate transactions 2021-12-21 12:56:35 +01:00
l3_agentschedulers_db.py L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
l3_attrs_db.py Remove check if set_extra_attr_value is run in the transaction 2021-04-16 14:45:53 +02:00
l3_db.py Add port IDs in "RouterInUse" exception during router deletion 2022-02-25 18:31:08 +00:00
l3_dvr_db.py Fix _create_dvr_floating_gw_port missing payload field 2021-09-17 11:20:31 +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 Exclude router gw subnet ports from port list while port delete. 2022-01-13 12:55:27 +00:00
l3_fip_pools_db.py Revert "Set system_scope='all' in elevated context" 2021-06-15 10:29:20 +02: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 Add network QoS inheritance to floating IP 2021-11-24 09:01:09 +00:00
l3_gateway_ip_qos.py Improve Router callback system's publish events 2021-12-05 04:36:36 +00:00
l3_gwmode_db.py Improve Router callback system's publish events 2021-12-05 04:36:36 +00:00
l3_hamode_db.py Refactor session "is_active" handling for sqlalchemy-20 2022-02-10 09:03:36 +00:00
l3_hascheduler_db.py use payloads for PORT AFTER_UPDATE events 2021-07-07 21:01:24 +00:00
local_ip_db.py Add Local IP Extension and DB 2021-11-11 10:08:23 +03:00
models_v2.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00:00
network_ip_availability_db.py Remove "six" library 2020-07-28 16:55:52 +00:00
ovn_hash_ring_db.py [OVN] Add hash ring methods 2019-12-03 08:53:45 +00:00
ovn_revision_numbers_db.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00:00
port_device_profile_db.py Add port device profile extension 2021-01-22 16:17:30 +00:00
port_numa_affinity_policy_db.py Add port NUMA affinity policy 2020-11-13 15:49:34 +00:00
portsecurity_db_common.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
portsecurity_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
provisioning_blocks.py Refactor session "is_active" handling for sqlalchemy-20 2022-02-10 09:03:36 +00:00
rbac_db_mixin.py Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
rbac_db_models.py Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
securitygroups_db.py Merge "Replace "tenant_id" with "project_id" in OVO base" 2021-11-17 06:21:01 +00:00
securitygroups_rpc_base.py use payloads for PORT AFTER_DELETE events 2021-07-11 06:00:08 +00:00
segments_db.py use payloads for SEGMENT events 2021-05-05 15:17:50 +03:00
servicetype_db.py Switch to new engine facade for ExtraRoute_dbonly_mixin 2019-06-28 10:30:56 +00:00
standardattrdescription_db.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00: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