]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DHCP Service LoadBalancing Scheduler
authorShivakumar M <shiva.kum.m@hp.com>
Tue, 25 Nov 2014 08:46:07 +0000 (00:46 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Wed, 18 Mar 2015 17:13:53 +0000 (10:13 -0700)
commitbc0b8ff8d58b0c57851a674d8b391f46b92b3417
treec875d549e1ab55bce639d5ce3ac102eb49e05915
parent87a534f9b05abaca3236a56012dcc9e5bf807b18
DHCP Service LoadBalancing Scheduler

In this blueprint, we also propose to write a generic scheduler
framework which can be used to schedule a new resource on
selected least loaded agents.
Currently dhcp_load_type will be fetched from neutron.conf file
and corresponding load is obtained by the agent report state.
The obtained load will be populated in the "load" column of the
agents table.
During scheduling, agent will be selected based on sorting all
the agents of particular type based on load column.
Example dhcp_load_type is networks

DocImpact

Implements: blueprint dhcpservice-loadbalancing

Change-Id: I5ec8adf0c4336f885d603662223caa7694708876
Author: Shivakumar M <shiva.kum.m@hp.com>
Co-Authored-By: Praveen Kumar SM <praveen-sm.kumar@hp.com>
Co-Authored-By: Benjamin GRASSART <benjamin.grassart@thalesgroup.com>
Co-Authored-By: Sourabh Patwardhan <sopatwar@cisco.com>
etc/neutron.conf
neutron/db/agents_db.py
neutron/db/migration/alembic_migrations/versions/1955efc66455_weight_scheduler.py [new file with mode: 0644]
neutron/db/migration/alembic_migrations/versions/HEAD
neutron/scheduler/base_resource_filter.py [new file with mode: 0644]
neutron/scheduler/base_scheduler.py [new file with mode: 0644]
neutron/scheduler/dhcp_agent_scheduler.py
neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py
neutron/tests/unit/test_dhcp_scheduler.py