Corrects help messages in cfg.py
Reasons: - Few typos. - Help message sentences not ending with a full-stop(.). Changes: - Typos corrected. - . added to end-of-sentences in help messages. Change-Id: I29f0d266c9b87d9bf90cd15084ef02699532d79e Closes-Bug: #1272020
This commit is contained in:
parent
c14553393f
commit
b54e1a6d24
@ -25,7 +25,7 @@ path_opts = [
|
||||
cfg.StrOpt('pybasedir',
|
||||
default=os.path.abspath(os.path.join(os.path.dirname(__file__),
|
||||
'../')),
|
||||
help='Directory where the trove python module is installed'),
|
||||
help='Directory where the trove python module is installed.'),
|
||||
]
|
||||
|
||||
common_opts = [
|
||||
@ -37,13 +37,13 @@ common_opts = [
|
||||
cfg.BoolOpt('sql_query_log', default=False),
|
||||
cfg.IntOpt('bind_port', default=8779),
|
||||
cfg.StrOpt('api_extensions_path', default='trove/extensions/routes',
|
||||
help='Path to extensions'),
|
||||
help='Path to extensions.'),
|
||||
cfg.StrOpt('api_paste_config',
|
||||
default="api-paste.ini",
|
||||
help='File name for the paste.deploy config for trove-api'),
|
||||
help='File name for the paste.deploy config for trove-api.'),
|
||||
cfg.BoolOpt('trove_volume_support',
|
||||
default=True,
|
||||
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.BoolOpt('update_status_on_fail', default=False,
|
||||
help='If instance failed to become active, '
|
||||
@ -57,7 +57,7 @@ common_opts = [
|
||||
cfg.StrOpt('trove_auth_url', default='http://0.0.0.0:5000/v2.0'),
|
||||
cfg.StrOpt('host', default='0.0.0.0'),
|
||||
cfg.IntOpt('report_interval', default=10,
|
||||
help='The interval in seconds which periodic tasks are run'),
|
||||
help='The interval in seconds which periodic tasks are run.'),
|
||||
cfg.IntOpt('periodic_interval', default=60),
|
||||
cfg.BoolOpt('trove_dns_support', default=False),
|
||||
cfg.StrOpt('db_api_implementation', default='trove.db.sqlalchemy.api'),
|
||||
@ -95,16 +95,16 @@ common_opts = [
|
||||
cfg.IntOpt('volume_format_timeout', default=120),
|
||||
cfg.StrOpt('mount_options', default='defaults,noatime'),
|
||||
cfg.IntOpt('max_instances_per_user', default=5,
|
||||
help='Default maximum number of instances per tenant'),
|
||||
help='Default maximum number of instances per tenant.'),
|
||||
cfg.IntOpt('max_accepted_volume_size', default=5,
|
||||
help='Default maximum volume size for an instance'),
|
||||
help='Default maximum volume size for an instance.'),
|
||||
cfg.IntOpt('max_volumes_per_user', default=20,
|
||||
help='Default maximum for total volume used by a tenant'),
|
||||
help='Default maximum for total volume used by a tenant.'),
|
||||
cfg.IntOpt('max_backups_per_user', default=50,
|
||||
help='Default maximum number of backups created by a tenant'),
|
||||
help='Default maximum number of backups created by a tenant.'),
|
||||
cfg.StrOpt('quota_driver',
|
||||
default='trove.quota.quota.DbQuotaDriver',
|
||||
help='Default driver to use for quota checks'),
|
||||
help='Default driver to use for quota checks.'),
|
||||
cfg.StrOpt('taskmanager_queue', default='taskmanager'),
|
||||
cfg.StrOpt('conductor_queue', default='trove-conductor'),
|
||||
cfg.IntOpt('trove_conductor_workers', default=1),
|
||||
@ -117,8 +117,8 @@ common_opts = [
|
||||
"provided by the user. If the default value is None, the field"
|
||||
" becomes required in the instance-create request."),
|
||||
cfg.StrOpt('datastore_manager', default=None,
|
||||
help='manager class in guestagent, setup by taskmanager on '
|
||||
'instance provision'),
|
||||
help='Manager class in guestagent, setup by taskmanager on '
|
||||
'instance provision.'),
|
||||
cfg.StrOpt('block_device_mapping', default='vdb'),
|
||||
cfg.IntOpt('server_delete_time_out', default=60),
|
||||
cfg.IntOpt('volume_time_out', default=60),
|
||||
@ -149,32 +149,32 @@ common_opts = [
|
||||
cfg.StrOpt('trove_security_group_rule_cidr', default='0.0.0.0/0'),
|
||||
cfg.IntOpt('trove_api_workers', default=None),
|
||||
cfg.IntOpt('usage_sleep_time', default=1,
|
||||
help='Time to sleep during the check active guest'),
|
||||
help='Time to sleep during the check active guest.'),
|
||||
cfg.IntOpt('usage_timeout', default=300,
|
||||
help='Timeout to wait for an guest to become active'),
|
||||
help='Timeout to wait for a guest to become active.'),
|
||||
cfg.StrOpt('region', default='LOCAL_DEV',
|
||||
help='The region this service is located.'),
|
||||
cfg.StrOpt('backup_runner',
|
||||
default='trove.guestagent.backup.backup_types.InnoBackupEx'),
|
||||
cfg.DictOpt('backup_runner_options', default={},
|
||||
help='Additional options to be passed to the backup runner'),
|
||||
help='Additional options to be passed to the backup runner.'),
|
||||
cfg.StrOpt('backup_strategy', default='InnoBackupEx',
|
||||
help='Default strategy to perform backups'),
|
||||
help='Default strategy to perform backups.'),
|
||||
cfg.StrOpt('backup_namespace',
|
||||
default='trove.guestagent.strategies.backup.mysql_impl',
|
||||
help='Namespace to load backup strategies from'),
|
||||
help='Namespace to load backup strategies from.'),
|
||||
cfg.StrOpt('restore_namespace',
|
||||
default='trove.guestagent.strategies.restore.mysql_impl',
|
||||
help='Namespace to load restore strategies from'),
|
||||
help='Namespace to load restore strategies from.'),
|
||||
cfg.BoolOpt('verify_swift_checksum_on_restore', default=True,
|
||||
help='Enable verification of swift checksum before starting '
|
||||
'restore; makes sure the checksum of original backup matches '
|
||||
'checksum of the swift backup file.'),
|
||||
cfg.StrOpt('storage_strategy', default='SwiftStorage',
|
||||
help="Default strategy to store backups"),
|
||||
help="Default strategy to store backups."),
|
||||
cfg.StrOpt('storage_namespace',
|
||||
default='trove.guestagent.strategies.storage.swift',
|
||||
help='Namespace to load the default storage strategy from'),
|
||||
help='Namespace to load the default storage strategy from.'),
|
||||
cfg.StrOpt('backup_swift_container', default='database_backups'),
|
||||
cfg.BoolOpt('backup_use_gzip_compression', default=True,
|
||||
help='Compress backups using gzip.'),
|
||||
@ -208,32 +208,32 @@ common_opts = [
|
||||
help='Transformer for exists notifications'),
|
||||
cfg.IntOpt('exists_notification_ticks', default=360,
|
||||
help='Number of report_intervals to wait between pushing '
|
||||
'events (see report_interval)'),
|
||||
'events (see report_interval).'),
|
||||
cfg.DictOpt('notification_service_id', default={},
|
||||
help='Unique ID to tag notification events'),
|
||||
help='Unique ID to tag notification events.'),
|
||||
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='',
|
||||
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='',
|
||||
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('ip_regex', default=None),
|
||||
cfg.StrOpt('cloudinit_location', default='/etc/trove/cloudinit',
|
||||
help="Path to folder with cloudinit scripts"),
|
||||
help="Path to folder with cloudinit scripts."),
|
||||
cfg.StrOpt('guest_config',
|
||||
default='$pybasedir/etc/trove/trove-guestagent.conf.sample',
|
||||
help="Path to guestagent config file"),
|
||||
help="Path to guestagent config file."),
|
||||
cfg.DictOpt('datastore_registry_ext', default=dict(),
|
||||
help='Extention for default datastore managers.'
|
||||
help='Extension for default datastore managers.'
|
||||
' Allows to use custom managers for each of'
|
||||
' datastore supported in trove'),
|
||||
' datastore supported in trove.'),
|
||||
cfg.StrOpt('template_path',
|
||||
default='/etc/trove/templates/',
|
||||
help='Path which leads to datastore templates'),
|
||||
help='Path which leads to datastore templates.'),
|
||||
cfg.BoolOpt('sql_query_logging', default=False,
|
||||
help='Allow insecure logging while '
|
||||
'executing queries through sqlalchemy'),
|
||||
'executing queries through sqlalchemy.'),
|
||||
cfg.ListOpt('expected_filetype_suffixes',
|
||||
default=['atom', 'json', 'xml'],
|
||||
help='Filetype endings not to be reattached to an id '
|
||||
|
Loading…
Reference in New Issue
Block a user