Fixed help message for AllocatedCapacityWeigher
Changed help message for allocated_capacity_weight_multiplier to correctly show that positive weights are needed to stack. Also changed wording to indicate free and allocated capacity for the respective values. Change-Id: I84120d3598cde014eaf3fef5998dea5b69439240 Closes-bug: #1460568
This commit is contained in:
parent
09134ba4f3
commit
7e61cb9761
@ -51,12 +51,12 @@ from cinder import utils
|
|||||||
capacity_weight_opts = [
|
capacity_weight_opts = [
|
||||||
cfg.FloatOpt('capacity_weight_multiplier',
|
cfg.FloatOpt('capacity_weight_multiplier',
|
||||||
default=1.0,
|
default=1.0,
|
||||||
help='Multiplier used for weighing volume capacity. '
|
help='Multiplier used for weighing free capacity. '
|
||||||
'Negative numbers mean to stack vs spread.'),
|
'Negative numbers mean to stack vs spread.'),
|
||||||
cfg.FloatOpt('allocated_capacity_weight_multiplier',
|
cfg.FloatOpt('allocated_capacity_weight_multiplier',
|
||||||
default=-1.0,
|
default=-1.0,
|
||||||
help='Multiplier used for weighing volume capacity. '
|
help='Multiplier used for weighing allocated capacity. '
|
||||||
'Negative numbers mean to stack vs spread.'),
|
'Positive numbers mean to stack vs spread.'),
|
||||||
]
|
]
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
Loading…
Reference in New Issue
Block a user