neutron/neutron/tests/unit/objects
Bence Romsics 96fe5d3509 Auto-delete dhcp ports on segment delete
Subnet delete triggers dhcp port deletion but asynchronously,
therefore in the condition described in the bug report we may
get a conflict when deleting the segment too fast after the subnet.

Here we follow the example of how we auto-delete ports in net delete.

Please also find a fullstack test in Related-Change below.

Change-Id: Iba02f5a2211b18c2deb9097daad6be5e7d21faf8
Closes-Bug: #1878632
Related-Change: https://review.opendev.org/728904
(cherry picked from commit da45bbbff4)
2020-07-13 12:43:04 +02:00
..
db remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
logapi Enable an update test in UT of logging 2017-07-07 12:01:49 +09:00
plugins Fix queries to retrieve allocations with network_segment_range 2020-03-16 16:16:30 +00:00
port Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
qos Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
__init__.py objects.base: avoid db access if object does not have changes 2015-07-03 02:02:17 +03:00
test_address_scope.py Use BaseDbObjectTestCase in AddressScope UT 2016-10-12 14:17:15 -05:00
test_agent.py New agent attribute: resources_synced 2019-02-21 13:45:15 +01:00
test_auto_allocate.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_base.py Workaround in NetworkSegmentRange OVO until "project_id" migration 2020-04-24 10:33:18 +00:00
test_common_types.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_conntrack_helper.py Conntrack Helper - OVO and db script 2019-05-20 18:00:18 +02:00
test_flavor.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_floatingip.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_ipam.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3_hamode.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3agent.py Add specific values to specific fields in get_random_object_fields() 2017-07-25 15:16:25 +09:00
test_metering.py Metering to OVO 2017-04-26 11:44:58 -07:00
test_network_segment_range.py Workaround in NetworkSegmentRange OVO until "project_id" migration 2020-04-24 10:33:18 +00:00
test_network.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_objects.py Add qos_network_policy_id to Port OVO 2019-07-01 11:11:31 +00:00
test_port_forwarding.py Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
test_ports.py Auto-delete dhcp ports on segment delete 2020-07-13 12:43:04 +02:00
test_provisioning_blocks.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_quota.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_rbac_db.py use payloads for RBAC_POLICY events 2019-05-07 08:31:54 -06:00
test_rbac.py Allow sharing of security groups via RBAC mechanism 2019-03-09 17:30:14 -06:00
test_router.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_securitygroup.py Filter by owner SGs when retrieving the SG rules 2020-04-14 18:37:12 +00:00
test_servicetype.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_subnet.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_subnetpool.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_tag.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_trunk.py use trunk constants from neutron-lib 2019-04-23 13:54:11 -06:00