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:
gh159m 2016-02-22 15:19:09 -06:00
parent 09134ba4f3
commit 7e61cb9761

View File

@ -51,12 +51,12 @@ from cinder import utils
capacity_weight_opts = [
cfg.FloatOpt('capacity_weight_multiplier',
default=1.0,
help='Multiplier used for weighing volume capacity. '
help='Multiplier used for weighing free capacity. '
'Negative numbers mean to stack vs spread.'),
cfg.FloatOpt('allocated_capacity_weight_multiplier',
default=-1.0,
help='Multiplier used for weighing volume capacity. '
'Negative numbers mean to stack vs spread.'),
help='Multiplier used for weighing allocated capacity. '
'Positive numbers mean to stack vs spread.'),
]
CONF = cfg.CONF