neutron/neutron/scheduler
John Schwarz e4b0b9f8be Refactor L3 scheduler (unify code paths)
This patch proposes a (rather major) refactor to the L3 scheduler.
Basically, the auto_schedule_routers() code-path was split to 2
different code-paths, each dealing with a different case (unscheduled
routers vs underscheduled routers), in addition to the API-initiated
schedule() logic. This patch removes the 2 code-paths in favor of moving
most of the logic into schedule(). While the result is a slightly
longer schedule(), the benefit is that a lot of the previous
unmaintainable code-paths of auto_schedule_routers() are now removed.

Yay! :D

Related-Bug: #1609738
Change-Id: I227ca60422545e40d3bbb8baf2b41a8ce14f4294
2017-01-26 23:05:06 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base_resource_filter.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
base_scheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
dhcp_agent_scheduler.py Merge "OVO for SegmentHostMapping" 2016-10-26 11:38:07 +00:00
l3_agent_scheduler.py Refactor L3 scheduler (unify code paths) 2017-01-26 23:05:06 +00:00