neutron/neutron/tests/unit
Elvira García 1bfc75a71b Use safer methods to get security groups on security group logging
There is a chance on real environment that a port group doesn't have any
correspondent security group (and there are maintenance tasks that will
remove them). This patch avoids a DriverError from Neutron in case we
are in an environment with a port group that was mistakenly left over
due to any reason. Instead, a Warning log will be raised.

Related-bug: #2032929
Change-Id: I42208557c8522d6fbc29df8a3c7d0367cace31e4
(cherry picked from commit 67bd591c5b)
2023-10-06 11:17:13 +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 Use safer methods to get security groups on security group logging 2023-10-06 11:17:13 +02:00
tests Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +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] 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