The cinder.scheduler.weights.stochastic Module¶
Stochastic weight handler
This weight handler differs from the default weight handler by giving every pool a chance to be chosen where the probability is proportional to each pools’ weight.
-
class
StochasticHostWeightHandler(namespace)¶ Bases:
cinder.scheduler.base_weight.BaseWeightHandler-
get_weighed_objects(weigher_classes, obj_list, weighing_properties)¶
-