Merge "Improve help strings"
This commit is contained in:
commit
b8b820be1e
@ -36,7 +36,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
common_opts = [
|
common_opts = [
|
||||||
cfg.StrOpt('sql_connection',
|
cfg.StrOpt('sql_connection',
|
||||||
default='sqlite:///trove_test.sqlite',
|
default='sqlite:///trove_test.sqlite',
|
||||||
help='SQL Connection',
|
help='SQL Connection.',
|
||||||
secret=True),
|
secret=True),
|
||||||
cfg.IntOpt('sql_idle_timeout', default=3600),
|
cfg.IntOpt('sql_idle_timeout', default=3600),
|
||||||
cfg.BoolOpt('sql_query_log', default=False),
|
cfg.BoolOpt('sql_query_log', default=False),
|
||||||
@ -51,10 +51,10 @@ common_opts = [
|
|||||||
help='Whether to provision a cinder volume for datadir.'),
|
help='Whether to provision a cinder volume for datadir.'),
|
||||||
cfg.ListOpt('admin_roles', default=['admin']),
|
cfg.ListOpt('admin_roles', default=['admin']),
|
||||||
cfg.BoolOpt('update_status_on_fail', default=False,
|
cfg.BoolOpt('update_status_on_fail', default=False,
|
||||||
help='If instance failed to become active, '
|
help='If instance fails to become active, '
|
||||||
'taskmanager updates statuses, '
|
'taskmanager updates statuses, '
|
||||||
'service status = FAILED_TIMEOUT_GUESTAGENT, '
|
'service status = FAILED_TIMEOUT_GUESTAGENT, '
|
||||||
'instance task status = BUILDING_ERROR_TIMEOUT_GA'),
|
'instance task status = BUILDING_ERROR_TIMEOUT_GA.'),
|
||||||
cfg.StrOpt('nova_compute_url', default='http://localhost:8774/v2'),
|
cfg.StrOpt('nova_compute_url', default='http://localhost:8774/v2'),
|
||||||
cfg.StrOpt('cinder_url', default='http://localhost:8776/v2'),
|
cfg.StrOpt('cinder_url', default='http://localhost:8776/v2'),
|
||||||
cfg.StrOpt('heat_url', default='http://localhost:8004/v1'),
|
cfg.StrOpt('heat_url', default='http://localhost:8004/v1'),
|
||||||
@ -191,9 +191,9 @@ common_opts = [
|
|||||||
cfg.BoolOpt('backup_use_gzip_compression', default=True,
|
cfg.BoolOpt('backup_use_gzip_compression', default=True,
|
||||||
help='Compress backups using gzip.'),
|
help='Compress backups using gzip.'),
|
||||||
cfg.BoolOpt('backup_use_openssl_encryption', default=True,
|
cfg.BoolOpt('backup_use_openssl_encryption', default=True,
|
||||||
help='Encrypt backups using openssl.'),
|
help='Encrypt backups using OpenSSL.'),
|
||||||
cfg.StrOpt('backup_aes_cbc_key', default='default_aes_cbc_key',
|
cfg.StrOpt('backup_aes_cbc_key', default='default_aes_cbc_key',
|
||||||
help='Default openssl aes_cbc key.'),
|
help='Default OpenSSL aes_cbc key.'),
|
||||||
cfg.BoolOpt('backup_use_snet', default=False,
|
cfg.BoolOpt('backup_use_snet', default=False,
|
||||||
help='Send backup files over snet.'),
|
help='Send backup files over snet.'),
|
||||||
cfg.IntOpt('backup_chunk_size', default=2 ** 16,
|
cfg.IntOpt('backup_chunk_size', default=2 ** 16,
|
||||||
@ -217,7 +217,7 @@ common_opts = [
|
|||||||
cfg.StrOpt('remote_swift_client',
|
cfg.StrOpt('remote_swift_client',
|
||||||
default='trove.common.remote.swift_client'),
|
default='trove.common.remote.swift_client'),
|
||||||
cfg.StrOpt('exists_notification_transformer',
|
cfg.StrOpt('exists_notification_transformer',
|
||||||
help='Transformer for exists notifications'),
|
help='Transformer for exists notifications.'),
|
||||||
cfg.IntOpt('exists_notification_ticks', default=360,
|
cfg.IntOpt('exists_notification_ticks', default=360,
|
||||||
help='Number of report_intervals to wait between pushing '
|
help='Number of report_intervals to wait between pushing '
|
||||||
'events (see report_interval).'),
|
'events (see report_interval).'),
|
||||||
@ -227,11 +227,11 @@ common_opts = [
|
|||||||
'cassandra': '459a230d-4e97-4344-9067-2a54a310b0ed'},
|
'cassandra': '459a230d-4e97-4344-9067-2a54a310b0ed'},
|
||||||
help='Unique ID to tag notification events.'),
|
help='Unique ID to tag notification events.'),
|
||||||
cfg.StrOpt('nova_proxy_admin_user', default='',
|
cfg.StrOpt('nova_proxy_admin_user', default='',
|
||||||
help="Admin username used to connect to Nova.", secret=True),
|
help="Admin username used to connect to nova.", secret=True),
|
||||||
cfg.StrOpt('nova_proxy_admin_pass', default='',
|
cfg.StrOpt('nova_proxy_admin_pass', default='',
|
||||||
help="Admin password used to connect to Nova,", secret=True),
|
help="Admin password used to connect to nova,", secret=True),
|
||||||
cfg.StrOpt('nova_proxy_admin_tenant_name', default='',
|
cfg.StrOpt('nova_proxy_admin_tenant_name', default='',
|
||||||
help="Admin tenant used to connect to Nova.", secret=True),
|
help="Admin tenant used to connect to nova.", secret=True),
|
||||||
cfg.StrOpt('network_label_regex', default='^private$'),
|
cfg.StrOpt('network_label_regex', default='^private$'),
|
||||||
cfg.StrOpt('ip_regex', default=None),
|
cfg.StrOpt('ip_regex', default=None),
|
||||||
cfg.StrOpt('cloudinit_location', default='/etc/trove/cloudinit',
|
cfg.StrOpt('cloudinit_location', default='/etc/trove/cloudinit',
|
||||||
@ -248,7 +248,7 @@ common_opts = [
|
|||||||
help='Path which leads to datastore templates.'),
|
help='Path which leads to datastore templates.'),
|
||||||
cfg.BoolOpt('sql_query_logging', default=False,
|
cfg.BoolOpt('sql_query_logging', default=False,
|
||||||
help='Allow insecure logging while '
|
help='Allow insecure logging while '
|
||||||
'executing queries through sqlalchemy.'),
|
'executing queries through SQLAlchemy.'),
|
||||||
cfg.ListOpt('expected_filetype_suffixes',
|
cfg.ListOpt('expected_filetype_suffixes',
|
||||||
default=['atom', 'json', 'xml'],
|
default=['atom', 'json', 'xml'],
|
||||||
help='Filetype endings not to be reattached to an id '
|
help='Filetype endings not to be reattached to an id '
|
||||||
|
@ -35,17 +35,17 @@ pydev_debug_opts = [
|
|||||||
help="Enable or disable pydev remote debugging. "
|
help="Enable or disable pydev remote debugging. "
|
||||||
"If value is 'auto' tries to connect to remote "
|
"If value is 'auto' tries to connect to remote "
|
||||||
"debugger server, but in case of error "
|
"debugger server, but in case of error "
|
||||||
"continue running with disabled debugging"),
|
"continues running with debugging disabled."),
|
||||||
|
|
||||||
cfg.StrOpt("pydev_debug_host",
|
cfg.StrOpt("pydev_debug_host",
|
||||||
help="pydev debug server host (localhost by default)"),
|
help="Pydev debug server host (localhost by default)."),
|
||||||
|
|
||||||
cfg.IntOpt("pydev_debug_port",
|
cfg.IntOpt("pydev_debug_port",
|
||||||
help="pydev debug server port (5678 by default)"),
|
help="Pydev debug server port (5678 by default)."),
|
||||||
|
|
||||||
cfg.StrOpt("pydev_path",
|
cfg.StrOpt("pydev_path",
|
||||||
help="defines path to pydevd library, used if pydevd is "
|
help="Set path to pydevd library, used if pydevd is "
|
||||||
"not found in python sys.path")
|
"not found in python sys.path.")
|
||||||
]
|
]
|
||||||
|
|
||||||
CONF.register_opts(pydev_debug_opts)
|
CONF.register_opts(pydev_debug_opts)
|
||||||
|
@ -110,5 +110,5 @@ def add_options(parser):
|
|||||||
metavar="CONNECTION",
|
metavar="CONNECTION",
|
||||||
default=None,
|
default=None,
|
||||||
help="A valid SQLAlchemy connection string for the "
|
help="A valid SQLAlchemy connection string for the "
|
||||||
"registry database. Default: %default")
|
"registry database. Default: %(default)s.")
|
||||||
parser.add_option_group(group)
|
parser.add_option_group(group)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user