cinder.scheduler.weights.chance module

class ChanceWeigher

Bases: cinder.scheduler.weights.BaseHostWeigher

Chance Weigher assigns random weights to hosts.

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