Previous topic

The nova.scheduler.scheduler_options Module

Next topic

The nova.service Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.scheduler.simple Module

Simple Scheduler

class SimpleScheduler

Bases: nova.scheduler.chance.ChanceScheduler

Implements Naive Scheduler that tries to find least loaded host.

schedule_create_volume(context, volume_id, *_args, **_kwargs)

Picks a host that is up and has the fewest volumes.

schedule_run_instance(context, request_spec, reservations, *_args, **_kwargs)