From f2b20281e64258f1e551cf90217af7444ba3db4e Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 5 Feb 2015 08:59:22 -0600 Subject: [PATCH] Update eqlx driver help text 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 | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/cinder/volume/drivers/eqlx.py b/cinder/volume/drivers/eqlx.py index 5ad6f1125..6e4704173 100644 --- a/cinder/volume/drivers/eqlx.py +++ b/cinder/volume/drivers/eqlx.py @@ -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".') ] -- 2.45.2