Removed useless configuration options

This removes some options that are not used and some incorrect
configuration settings.

Change-Id: I60a1c4de0d48d8fa2af7b7e6b4a79a2190d1948c
This commit is contained in:
tengqm 2015-03-30 11:02:00 -04:00
parent 411a2402bc
commit ca7904d811
2 changed files with 6 additions and 19 deletions

View File

@ -36,13 +36,6 @@ service_opts = [
cfg.IntOpt('periodic_interval',
default=60,
help=_('Seconds between running periodic tasks.')),
cfg.StrOpt('instance_connection_is_secure',
default="0",
help=_('Instance connection to API via https.')),
cfg.StrOpt('instance_connection_https_validate_certificates',
default="1",
help=_('Instance connection to API validate certs if '
'SSL is used.')),
cfg.StrOpt('region_name_for_services',
help=_('Default region name used to get services endpoints.')),
cfg.IntOpt('max_response_size',

View File

@ -59,26 +59,20 @@ URL_LENGTH_LIMIT = 50000
api_opts = [
cfg.StrOpt('bind_host', default='0.0.0.0',
help=_('Address to bind the server. Useful when '
'selecting a particular network interface.'),
deprecated_group='DEFAULT'),
'selecting a particular network interface.')),
cfg.IntOpt('bind_port', default=8778,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
help=_('The port on which the server will listen.')),
cfg.IntOpt('backlog', default=4096,
help=_("Number of backlog requests "
"to configure the socket with."),
deprecated_group='DEFAULT'),
"to configure the socket with.")),
cfg.StrOpt('cert_file',
help=_("Location of the SSL certificate file "
"to use for SSL mode."),
deprecated_group='DEFAULT'),
"to use for SSL mode.")),
cfg.StrOpt('key_file',
help=_("Location of the SSL key file to use "
"for enabling SSL mode."),
deprecated_group='DEFAULT'),
"for enabling SSL mode.")),
cfg.IntOpt('workers', default=0,
help=_("Number of workers for Senlin service."),
deprecated_group='DEFAULT'),
help=_("Number of workers for Senlin service.")),
]
api_group = cfg.OptGroup('senlin_api')
cfg.CONF.register_group(api_group)