The cinder.scheduler.weights.volume_number Module¶
-
class
VolumeNumberWeigher¶ Bases:
cinder.scheduler.weights.BaseHostWeigherWeigher that weighs hosts by volume number in backends.
The default is to spread volumes across all hosts evenly. If you prefer stacking, you can set the
volume_number_multiplieroption to a positive number and the weighing has the opposite effect of the default.-
weight_multiplier()¶ Override the weight multiplier.
-