neutron/neutron/tests/unit
Brian Haley 267efd2984 OVN: Always try and create a metadata port on subnets
When a subnet is updated, for example, to disable then
re-enable DHCP on it, if there is no metadata port it
will just return without trying to allocate an IP,
leaving DHCP unusable on the subnet.  This could happen
if an admin, even accidentally, deletes the DHCP port
on a subnet while DHCP is disabled.

This also makes OVN behave like ML2/OVS, which will
re-create the DHCP port when the enable_dhcp flag is
changed to false and back to true.

Change-Id: I943f2fb4db9dc33dc372f844d6133faff415befe
Closes-bug: #2015377
2023-04-13 12:32:11 -04:00
..
agent [OVS] Allow custom ethertype traffic in the ingress table 2023-03-08 04:25:53 +01:00
api dhcp/rpc: retrieve network details with segments 2022-09-01 14:48:54 +02:00
cmd Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
common [OVS] Parse the "permitted_ethertypes" at the FW initialization 2023-03-08 17:14:19 +01:00
conf Fix typo in unit test 2023-03-11 14:31:07 +05:30
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Remove duplicate rows in MySQL query output 2023-03-06 17:01:20 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions rbacs: filter out model that are already owned by context 2023-04-04 08:16:28 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception `IpAddressAllocationNotFound` 2022-03-16 16:48:06 +00:00
notifiers Fix test_nova_send_events_* tests 2022-09-06 11:40:10 +02:00
objects Remove duplicate rows in MySQL query output 2023-03-06 17:01:20 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins OVN: Always try and create a metadata port on subnets 2023-04-13 12:32:11 -04:00
privileged Bump the minimum pyroute2 version to 0.7.3 2023-01-18 04:43:09 +01:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler Merge "Improve scheduling L3/DHCP agents, missing lower binding indexes" 2023-02-16 22:14:15 +00:00
services [OVN] Bump the port revision number in trunk driver 2023-02-10 16:08:56 +01:00
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
__init__.py
_test_extension_portbindings.py Deprecate 'allow_overlapping_ips' config option 2021-10-21 10:56:33 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py
fake_resources.py Merge "[OVN] Prevent maintenance task fail resource stdattr does not exist" 2022-11-28 18:45:40 +00:00
test_auth.py Fix deprecation warnings about oslo.context 2022-08-13 09:08:00 +00: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 Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-06 23:56:14 +09:00
test_policy.py Fix policy unit test deprecation warnings 2023-03-01 15:26:12 -05: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 Fix a deprecation warning about escape sequence 2022-08-13 19:03:19 +09:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00