neutron/neutron/tests/unit
ushen d4654e3011 Filter out unsatisfied routers in SQL
We saw auto_schedule_routers took over 40 seconds
for a DVR enabled environment with option
auto_schedule_routers enabled.

Adding new arguments to get_router_agents_count and
dealing with routers separately depending on whether
it is a regular router or HA. The benefits are
we do not need to loop over every router available in
environment. Another reason for doing this is that
get_router_agents_count is used solely to heal
routers with less than required agents so number of
routers with less agents is small for most of the times.

Related-Bug: #1973656

Change-Id: Ic29275815a8c32cee7a6470509687a18fa594514
2023-03-29 21:25:10 +08:00
..
agent [OVS] Allow custom ethertype traffic in the ingress table 2023-03-08 04:25:53 +01:00
api dhcp/rpc: retrieve network details with segments 2022-09-01 14:48:54 +02:00
cmd Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
common [OVS] Parse the "permitted_ethertypes" at the FW initialization 2023-03-08 17:14:19 +01:00
conf Fix typo in unit test 2023-03-11 14:31:07 +05:30
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Remove duplicate rows in MySQL query output 2023-03-06 17:01:20 +00:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions [UT] Mock the retry decorator when creating duplicated NDPProxy 2023-02-14 04:40:15 +01: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 Remove duplicate rows in MySQL query output 2023-03-06 17:01:20 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins Merge "[OVN] Remove "update_port_qos_with_external_ids_reference"" 2023-03-24 15:06:31 +00:00
privileged Bump the minimum pyroute2 version to 0.7.3 2023-01-18 04:43:09 +01:00
quota Replace "tenant_id" with "project_id" in Quota engine 2021-09-22 08:27:10 +00:00
scheduler Filter out unsatisfied routers in SQL 2023-03-29 21:25:10 +08:00
services [OVN] Bump the port revision number in trunk driver 2023-02-10 16:08:56 +01: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 Merge "[OVN] Prevent maintenance task fail resource stdattr does not exist" 2022-11-28 18:45:40 +00: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 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 Fix policy unit test deprecation warnings 2023-03-01 15:26:12 -05: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