neutron/neutron/tests/unit/plugins/ml2
Bence Romsics b4130c0dc1 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:40:18 +02:00
..
drivers Merge "[OVN] Add support for router availability zones" into stable/ussuri 2020-07-02 17:47:52 +00:00
extensions Fix bulk port tag test_type_args_passed_to_extension() 2020-03-06 09:21:03 -05:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Check mech driver connectivity during port binding 2019-09-11 07:05:54 +00:00
base.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_agent_scheduler.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_db.py Auto-delete dhcp ports on segment delete 2020-07-13 12:40:18 +02:00
test_driver_context.py Use objects instead of SQLA deep copies in PortContext 2017-06-20 01:34:10 -07:00
test_ext_portsecurity.py PSExtDriverTestCase: initialize variable in case of exception 2019-10-30 17:44:45 -04:00
test_extension_driver_api.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_managers.py Add "project_id" filter when changing the network segmentation ID 2020-02-17 16:03:17 +00:00
test_ovo_rpc.py Stop loading OVOServerRpcInterface in ML2 testcase 2017-04-18 01:27:37 -07:00
test_plugin.py Lock subnets during port creation and subnet deletion 2020-04-23 16:43:19 +00:00
test_port_binding.py Drive binding by placement allocation 2019-03-09 22:03:51 +00:00
test_rpc.py ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
test_security_group.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_tracked_resources.py Support for stateless security groups 2020-03-03 16:53:42 +01:00