LVM: Enhance option descriptions

Add descriptions to lvm_type option values.

Change-Id: Id837ab544bae83defeb7ce5317282cabb60b1d09
This commit is contained in:
Eric Harney 2018-03-13 10:44:06 -04:00
parent 70a809dd21
commit a0b97e4640

View File

@ -53,7 +53,9 @@ volume_opts = [
'this requires lvm_mirrors + 2 PVs with available space'),
cfg.StrOpt('lvm_type',
default='auto',
choices=['default', 'thin', 'auto'],
choices=[('default', 'Thick-provisioned LVM.'),
('thin', 'Thin-provisioned LVM.'),
('auto', 'Defaults to thin when supported.')],
help='Type of LVM volumes to deploy; (default, thin, or auto). '
'Auto defaults to thin if thin is supported.'),
cfg.StrOpt('lvm_conf_file',