]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Update eqlx driver help text
authorSean McGinnis <sean_mcginnis@dell.com>
Thu, 5 Feb 2015 14:59:22 +0000 (08:59 -0600)
committerSean McGinnis <sean_mcginnis@dell.com>
Thu, 5 Feb 2015 14:59:22 +0000 (08:59 -0600)
Adds a more descriptive help text to the allowed and default values.

Continuation of work started by James King in:
https://review.openstack.org/#/c/144656

Change-Id: I95de8c93bf6a6ff318d6e726488ebae371ee55bf
Closes-Bug: 1380686

cinder/volume/drivers/eqlx.py

index 5ad6f1125eceb782d609565cbe46dada26284df7..6e4704173ab88c1b8b1f6d7948f8c71760ba7162 100644 (file)
@@ -37,26 +37,31 @@ LOG = logging.getLogger(__name__)
 eqlx_opts = [
     cfg.StrOpt('eqlx_group_name',
                default='group-0',
-               help='Group name to use for creating volumes'),
+               help='Group name to use for creating volumes. Defaults to '
+                    '"group-0".'),
     cfg.IntOpt('eqlx_cli_timeout',
                default=30,
-               help='Timeout for the Group Manager cli command execution'),
+               help='Timeout for the Group Manager cli command execution. '
+                    'Default is 30.'),
     cfg.IntOpt('eqlx_cli_max_retries',
                default=5,
-               help='Maximum retry count for reconnection'),
+               help='Maximum retry count for reconnection. Default is 5.'),
     cfg.BoolOpt('eqlx_use_chap',
                 default=False,
-                help='Use CHAP authentication for targets?'),
+                help='Use CHAP authentication for targets. Defaults to '
+                     '"False".'),
     cfg.StrOpt('eqlx_chap_login',
                default='admin',
-               help='Existing CHAP account name'),
+               help='Existing CHAP account name. Defaults to "admin".'),
     cfg.StrOpt('eqlx_chap_password',
                default='password',
-               help='Password for specified CHAP account name',
+               help='Password for specified CHAP account name. Defaults '
+                    'to "password".',
                secret=True),
     cfg.StrOpt('eqlx_pool',
                default='default',
-               help='Pool in which volumes will be created')
+               help='Pool in which volumes will be created. Defaults '
+                    'to "default".')
 ]