neutron/neutron/scheduler
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
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base_resource_filter.py Do not fail if the agent load is not bumped 2021-08-25 13:06:28 +00:00
base_scheduler.py Improve scheduling L3/DHCP agents, missing lower binding indexes 2023-02-08 13:14:19 +01:00
dhcp_agent_scheduler.py Improve scheduling L3/DHCP agents, missing lower binding indexes 2023-02-08 13:14:19 +01:00
l3_agent_scheduler.py Filter out unsatisfied routers in SQL 2023-03-29 21:25:10 +08:00
l3_ovn_scheduler.py Fix some pylint indentation warnings 2022-11-02 10:26:11 -04:00