neutron/neutron/tests/unit
Elvira García 3152bc14f8 [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-05 17:38:43 +02:00
..
agent Fix ovn-metadata agent sync of unused namespaces 2023-08-25 18:24:58 +00:00
api Delete sg rule which remote is the deleted sg 2023-07-04 12:25:00 +00:00
cmd Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
common Merge "OVN: Add support for DHCP option "domain-search" for IPv4" into stable/zed 2022-11-22 12:15:10 +00:00
conf [S-RBAC] Fix policies for CUD subnets APIs 2023-06-22 12:36:50 +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:31:55 +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:06:06 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Remove exception `IpAddressAllocationNotFound` 2022-03-16 16:48:06 +00:00
notifiers Fix test_nova_send_events_* tests 2022-09-06 11:40:10 +02:00
objects Change RBAC relationship loading method to "joined" 2023-05-30 12:27:22 +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-05 17:38:43 +02:00
privileged Fix tests involving pyroute2.netlink module 2022-06-14 11:47:56 +00:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler Improve scheduling L3/DHCP agents, missing lower binding indexes 2023-02-13 17:53:00 +01:00
services [OVN] Fix rate and burst for stateless security groups 2023-10-05 17:38:43 +02:00
tests Merge "Replace assertItemsEqual with assertCountEqual" 2021-04-26 19:12:38 +00:00
__init__.py
_test_extension_portbindings.py Deprecate 'allow_overlapping_ips' config option 2021-10-21 10:56:33 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py
fake_resources.py [OVN] Disable the mcast_flood_reports option for LSPs 2023-08-25 11:29:31 +01:00
test_auth.py Fix deprecation warnings about oslo.context 2022-08-13 09:08:00 +00: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 Fix deprecation warnings about oslo.context 2022-08-13 09:08:00 +00: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 Fix a deprecation warning about escape sequence 2022-08-13 19:03:19 +09:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00