neutron/neutron/tests/unit
Bence Romsics da45bbbff4 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
2020-07-08 15:15:08 +02:00
..
agent Merge "Make DVR router support FLAT network for ovs-agent" 2020-07-04 05:29:29 +00:00
api Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00
cmd Migrate "netstat" to oslo.privsep 2020-06-19 14:59:11 +00:00
common [OVN] Fix db-sync-util Traceback when port security not enabled 2020-06-26 09:31:22 +02:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Merge "[L3] Delete DvrFipGatewayPortAgentBindings after no gw ports" 2020-07-02 17:15:15 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Merge "Delete segment RPs when network is deleted" 2020-05-26 16:21:46 +00:00
hacking Catch additional invalid mock import statement 2020-05-19 17:25:33 -04:00
ipam Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
notifiers Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
objects Auto-delete dhcp ports on segment delete 2020-07-08 15:15:08 +02:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins Auto-delete dhcp ports on segment delete 2020-07-08 15:15:08 +02:00
privileged Migrate "netstat" to oslo.privsep 2020-06-19 14:59:11 +00:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
scheduler L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
services [OVN] Allow use of ovn-sync mechanism driver 2020-07-01 08:57:33 +02:00
tests Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py [OVN] Add support for router availability zones 2020-06-24 09:15:01 +01:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00