Previous topic

The cinder.rootwrap.wrapper Module

Next topic

The cinder.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 Cinder 2011.2 docs or all OpenStack docs too.

The cinder.scheduler.chance Module

Chance (Random) Scheduler implementation

class ChanceScheduler

Bases: cinder.scheduler.driver.Scheduler

Implements Scheduler as a random node selector.

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

Picks a host that is up at random.