neutron/neutron/tests/unit
Lucas Alvares Gomes bf65c0c33a [OVN] Add baremetal support with Neutron DHCP agent
This patch now creates OVN "external" ports for Neutron ports with
VNIC_BAREMETAL. This ports will be scheduled on the OpenStack Controller
nodes (or OVN Gateway nodes) and are responsible for replying to the
ARP requests coming from the baremetal nodes.

This patch also disables OVN's built-in DHCP server for VNIC_BAREMETAL
ports. This is because OVN DHCP server does not yet fully support
chainloading from PXE to iPXE, this feature is work-in-progress right
now. A following patch to this one will be sent in the future adding
support for OVN's built-in DHCP server being used with baremetal nodes.

This patch implements the "Part 1" from bug #1971431.

Conflicts:
  neutron/common/ovn/constants.py
  neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

Partial-bug: #1971431
Change-Id: I6b234fbe1b7c54b41a1b8b430fdf0ac76993af96
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
(cherry picked from commit 243c209eb2)
2022-05-06 13:44:33 +01:00
..
agent [DHCP] Break reference chain to any Exception object when resync 2022-04-14 21:27:44 +00:00
api Rename notify to publish in unit tests 2021-09-02 14:41:18 +00:00
cmd Sanitize MAC addresses 2021-07-08 16:46:55 +00:00
common [OVN] Correctly set dns_server in dhcpv4/v6 options 2022-01-18 14:24:17 +05:30
conf Add policy rules for extraroute-atomic API 2021-06-15 06:45:20 +00:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Handle properly ObjectNotFound while deleting network from DHCP agent 2022-05-05 10:45:17 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions [L3][QoS] Remove router QoS binding when GW is removed 2022-04-22 08:40:17 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception ``IpAddressAllocationNotFound`` 2022-03-17 06:27:24 +00:00
notifiers Use a thread local variable to store the Nova Notifier enable flag 2022-02-03 19:40:51 +00:00
objects [QoS] Add rule type packet per second (pps) 2021-07-22 09:53:38 +08:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins [OVN] Add baremetal support with Neutron DHCP agent 2022-05-06 13:44:33 +01:00
privileged [SR-IOV] Fix QoS extension to set min/max values 2022-03-04 12:50:44 +00:00
quota New Quota driver ``DbQuotaNoLockDriver`` 2021-05-20 07:55:59 +00:00
scheduler use payloads for PORT AFTER_DELETE events 2021-07-11 06:00:08 +00:00
services [OVN][port-forwarding] Add lb also to logical_switches 2022-04-25 12:58:10 +00:00
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00: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 "six" library 2020-07-28 16:55:52 +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] Update the DHCP options when the metadata port is modified 2021-10-11 10:25:41 +00: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 Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-06 23:56:14 +09:00
test_policy.py Always perform policy checks if enforce_new_defaults == true 2021-03-18 08:51:00 +01: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 "six" library 2020-07-28 16:55:52 +00:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00