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.
StochasticHostWeightHandler(namespace)¶Bases: cinder.scheduler.base_weight.BaseWeightHandler
get_weighed_objects(weigher_classes, obj_list, weighing_properties)¶Return a sorted (descending), normalized list of WeighedObjects.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.