]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add LeastRouters Scheduler to Neutron L3 Agent
authorSylvain Afchain <sylvain.afchain@enovance.com>
Tue, 26 Nov 2013 21:24:33 +0000 (22:24 +0100)
committerSylvain Afchain <sylvain.afchain@enovance.com>
Mon, 9 Dec 2013 12:25:59 +0000 (13:25 +0100)
commit91a7697b1e4f3fde9f71983ed61512ee193c5f7d
tree0bb0e98a436957b2861dae40551e12f967d5b034
parente7b13fe3e9db1cc9cf19c4780b5b1e35888229e2
Add LeastRouters Scheduler to Neutron L3 Agent

Allow scheduling of a virtual router on an L3 Agent node with the least
number of routers currently scheduled. This scheduler can be used
instead of the default random scheduler.

Also refactor the l3_agent_scheduler to allow for adding new schedulers.

Implement blueprint lessrouter-scheduler
Change-Id: Ie539c08bdc8a6e1430a106f77d08f15abd0903e7
neutron/db/l3_agentschedulers_db.py
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/test_l3_schedulers.py [new file with mode: 0644]