neutron/neutron/tests/unit/plugins/ml2
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
..
drivers [OVN] Tune OVN routers to reduce the mem footprint for ML2/OVN 2021-10-14 14:47:34 +01:00
extensions Allow to parse keywords in dns labels 2021-03-10 17:03:12 +01:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Improve terminology in the Neutron tree 2020-08-19 16:47:53 -04: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 SR-IOV agent can handle ports with same MAC addresses 2021-06-03 16:02:18 +00:00
test_driver_context.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ext_portsecurity.py Make OVN driver validate Geneve max_header_size 2021-09-02 08:41:19 +00:00
test_extension_driver_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_managers.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovo_rpc.py Get sec group ids after address group update 2020-12-29 16:17:38 +00:00
test_plugin.py Execute the quota reservation removal in an isolated DB txn 2021-09-30 13:53:23 +00:00
test_port_binding.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_rpc.py SR-IOV agent can handle ports with same MAC addresses 2021-06-03 16:02:18 +00:00
test_security_group.py use callback payloads for SECURITY_GROUP 2021-06-25 16:07:18 +03:00
test_tracked_resources.py Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00