cinder.scheduler.weights.chance module

class ChanceWeigher

Bases: BaseHostWeigher

Chance Weigher assigns random weights to hosts.

Used to spread volumes randomly across a list of equally suitable hosts.