neutron/neutron/tests/unit
Elvira García 6172f4233e [OVN] Fix rate and burst for stateless security groups
Right now, as per kernel limitation, the burst limit is not correctly
enforcing the rate and burst when using the ovn "log-related" option and
stateless security groups. We log exactly double the burst. Creating a
new meter that limits the rate and burst to half of the expected ones is
a workaround that solves the issue.

Closes-bug: #2032929

Conflicts:
 - neutron/services/logapi/drivers/ovn/driver.py
 - neutron/tests/functional/services/logapi/drivers/ovn/test_driver.py

Signed-off-by: Elvira García <egarciar@redhat.com>
Change-Id: Ib0047d38c58bcebb23c8887e7934987ff8c8a432
(cherry picked from commit a3a113aedb)
2023-10-06 11:14:49 +02:00
..
agent Fix ovn-metadata agent sync of unused namespaces 2023-08-25 18:25:32 +00:00
api Delete sg rule which remote is the deleted sg 2023-07-04 12:26:18 +00:00
cmd Sanitize MAC addresses 2021-07-08 16:46:55 +00:00
common Since OVN 20.06, config is stored in "Chassis.other_config" 2023-01-21 17:23:20 +01:00
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 [OVN] Cleanup old Hash Ring node entries 2023-08-30 11:32:10 +01:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions [UT] Create network to make lazy loading in the models_v2 possible 2023-08-03 14:07:27 +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 Retry connections to Nova 2022-09-09 08:34:58 +00:00
objects Change RBAC relationship loading method to "joined" 2023-06-05 13:06:27 +02:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins [OVN] Fix rate and burst for stateless security groups 2023-10-06 11:14:49 +02:00
privileged Add retry for privsep get_link_devices 2022-06-09 18:18:32 +05:30
quota New Quota driver `DbQuotaNoLockDriver` 2021-05-20 07:55:59 +00:00
scheduler Improve scheduling L3/DHCP agents, missing lower binding indexes 2023-02-13 18:08:10 +01:00
services [OVN] Fix rate and burst for stateless security groups 2023-10-06 11:14:49 +02: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] Disable the mcast_flood_reports option for LSPs 2023-08-25 11:32:48 +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 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