Powervm configuration cleanup

This cleans up the help text formatting for the powervm conf file to
be consistent throughout the file and consistent with other conf files.

Change-Id: I9ce45fdbebf1ecb5471dffb996d994958412556f
This commit is contained in:
esberglu 2018-06-13 11:46:13 -05:00
parent ca7d23a3e7
commit 7b0e2144ee
1 changed files with 21 additions and 20 deletions

View File

@ -18,10 +18,10 @@ from oslo_config import cfg
powervm_group = cfg.OptGroup( powervm_group = cfg.OptGroup(
name="powervm", name="powervm",
title="PowerVM Options", title="PowerVM Options",
help="""PowerVM options allow cloud administrators to configure how help="""
OpenStack will work with the PowerVM hypervisor. PowerVM options allow cloud administrators to configure how OpenStack will work
""" with the PowerVM hypervisor.
) """)
powervm_opts = [ powervm_opts = [
cfg.FloatOpt( cfg.FloatOpt(
@ -29,30 +29,31 @@ powervm_opts = [
default=0.1, default=0.1,
min=0.05, min=0.05,
max=1, max=1,
help="""Factor used to calculate the amount of physical processor help="""
compute power given to each vCPU. E.g. A value of 1.0 means a Factor used to calculate the amount of physical processor compute power given
whole physical processor, whereas 0.05 means 1/20th of a physical to each vCPU. E.g. A value of 1.0 means a whole physical processor, whereas
processor. 0.05 means 1/20th of a physical processor.
"""), """),
cfg.StrOpt('disk_driver', cfg.StrOpt('disk_driver',
choices=['localdisk', 'ssp'], ignore_case=True, choices=['localdisk', 'ssp'], ignore_case=True,
default='localdisk', default='localdisk',
help="""The disk driver to use for PowerVM disks. PowerVM help="""
provides support for localdisk and PowerVM Shared Storage The disk driver to use for PowerVM disks. PowerVM provides support for
Pool disk drivers. localdisk and PowerVM Shared Storage Pool disk drivers.
Related options: Related options:
* volume_group_name - required when using localdisk * volume_group_name - required when using localdisk
"""), """),
cfg.StrOpt('volume_group_name', cfg.StrOpt('volume_group_name',
default='', default='',
help='Volume Group to use for block device operations. If ' help="""
'disk_driver is localdisk, then this attribute must be ' Volume Group to use for block device operations. If disk_driver is localdisk,
'specified. It is strongly recommended NOT to use ' then this attribute must be specified. It is strongly recommended NOT to use
'rootvg since that is used by the management partition ' rootvg since that is used by the management partition and filling it will cause
'and filling it will cause failures.'), failures.
"""),
] ]