neutron/neutron/tests/unit
Elvira García c4acdc084a [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:16:48 +02:00
..
agent Fix ovn-metadata agent sync of unused namespaces 2023-08-25 18:25:46 +00:00
api Delete sg rule which remote is the deleted sg 2023-07-05 11:36:33 +02:00
cmd Added common config and SR-IOV agent config to sanity check 2021-06-11 14:33:31 +00:00
common Since OVN 20.06, config is stored in "Chassis.other_config" 2023-01-21 17:38:07 +01:00
conf Merge "Modify create address scope policy rule and add UT for that API" into stable/wallaby 2021-04-01 23:57:27 +00:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Merge "[OVN] Prevent Trunk creation/deletion with parent port bound" into stable/wallaby 2023-09-13 16:13:50 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Always create a "router_extra_attributes" register per router 2022-11-17 06:32:19 +01:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception ``IpAddressAllocationNotFound`` 2022-03-17 06:27:42 +00:00
notifiers Retry connections to Nova 2022-09-09 08:35:11 +00:00
objects Change RBAC relationship loading method to "joined" 2023-06-05 13:16:36 +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:16:48 +02:00
privileged Add retry for privsep get_link_devices 2022-06-10 16:01:04 +05:30
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
scheduler Improve scheduling L3/DHCP agents, missing lower binding indexes 2023-02-13 18:08:38 +01:00
services [OVN] Fix rate and burst for stateless security groups 2023-10-06 11:16:48 +02:00
tests Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +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:39:14 +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-14 14:00:35 +00: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