neutron/neutron/tests/unit
Lucas Alvares Gomes a278c5ba78 [OVN] Tune OVN routers to reduce the mem footprint for ML2/OVN
In order to avoid having a MAC_Binding table explosion and helping
lowering the memory footprint when using ML2/OVN this patch is setting
two options to the OVN routers:

* always_learn_from_arp_request: By setting this to False we
  avoid learning from ARP replies observed in the network. Only the
  ARP requests sent by OVN will generate a MAC_Binding entry in the
  OVSDB database. For larger broadcasts domains this avoids having a
  MAC_Binding table explosion, reduce the DB size and memory footprint
  of ML2/OVN.

* dynamic_neigh_routers: By setting this to True we avoid
  pre-populating flows for router to router communication, reduding
  the number of flows, DB size and memory footprint of ML2/OVN.

For more information on these option for core OVN please refer to:
https://www.ovn.org/support/dist-docs/ovn-nb.5.html

This patch also includes a new maintenance task to include these options
to existing routers in the system.

Related-Bug: #1946318
Change-Id: I056acdec9b6ee2341d2bc4f7bd9a678f3bf91972
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-10-14 14:47:34 +01:00
..
agent [HA] Do not add initial state change delay in HA router 2021-10-04 14:28:22 +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 Merge "[OVN] Set NB/SB "connection" inactivity probe" 2021-10-01 17:55:32 +00:00
conf Add API extension for QoS minimum pps rule 2021-09-29 12:27:30 +02:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Execute the quota reservation removal in an isolated DB txn 2021-09-30 13:53:23 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Using 31-Bit and 32-Bit prefixes for IPv4 reasonably 2021-06-09 07:35:54 +00:00
notifiers use payloads for PORT AFTER_DELETE events 2021-07-11 06:00:08 +00:00
objects Add API extension for QoS minimum pps rule 2021-09-29 12:27:30 +02:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins [OVN] Tune OVN routers to reduce the mem footprint for ML2/OVN 2021-10-14 14:47:34 +01:00
privileged Add a privsep context only for link commands 2021-07-16 15:10:03 +00:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler use payloads for PORT AFTER_DELETE events 2021-07-11 06:00:08 +00:00
services [OVN] Tune OVN routers to reduce the mem footprint for ML2/OVN 2021-10-14 14:47:34 +01:00
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
__init__.py
_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
fake_resources.py [OVN] Make external ports aware of network AZs 2021-08-16 11:59:45 +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
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