The cinder.scheduler.weights.stochastic Module

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)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.