This Page

The quantum.scheduler.dhcp_agent_scheduler Module

class quantum.scheduler.dhcp_agent_scheduler.ChanceScheduler

Bases: object

Allocate a DHCP agent for a network in a random way. More sophisticated scheduler (similar to filter scheduler in nova?) can be introduced later.

auto_schedule_networks(plugin, context, host)

Schedule non-hosted networks to the DHCP agent on the specified host.

schedule(plugin, context, network)

Schedule the network to an active DHCP agent if there is no active DHCP agent hosting it.