Previous topic

The nova.scheduler.api Module

Next topic

The nova.scheduler.driver 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.chance Module

Chance (Random) Scheduler implementation

class ChanceScheduler

Bases: nova.scheduler.driver.Scheduler

Implements Scheduler as a random node selector.

schedule(context, topic, method, *_args, **kwargs)

Picks a host that is up at random.

schedule_prep_resize(context, request_spec, *args, **kwargs)

Select a target for resize.

schedule_run_instance(context, request_spec, *_args, **kwargs)

Create and run an instance or instances