# Options defined in heat.common.policy
#
-# (string value)
+# Policy file to use (string value)
#policy_file=policy.json
-# (string value)
+# Default Rule of Policy File (string value)
#policy_default_rule=default
# Options defined in heat.common.wsgi
#
-# (string value)
+# Address to bind the server. Useful when selecting a
+# particular network interface. (string value)
#bind_host=0.0.0.0
-# (integer value)
+# The port on which the server will listen. (integer value)
#bind_port=<None>
-# (integer value)
+# Number of backlog requests to configure the socket with
+# (integer value)
#backlog=4096
-# (string value)
+# Location of the SSL Certificate File to use for SSL mode
+# (string value)
#cert_file=<None>
-# (string value)
+# Location of the SSL Key File to use for enabling SSL mode
+# (string value)
#key_file=<None>
-# (integer value)
+# Number of workers for Heat service (integer value)
#workers=0
# Options defined in heat.common.config
#
-# (string value)
+# The flavor to use (string value)
#flavor=<None>
# The API paste config file to use (string value)
# Options defined in heat.api.aws.ec2token
#
-# (string value)
+# Authentication Endpoint URI (string value)
#auth_uri=<None>
-# (string value)
+# Keystone EC2 Service Endpoint URI (string value)
#keystone_ec2_uri=<None>
opts = [
- cfg.StrOpt('auth_uri', default=None),
- cfg.StrOpt('keystone_ec2_uri', default=None)
+ cfg.StrOpt('auth_uri',
+ default=None,
+ help=_("Authentication Endpoint URI")),
+ cfg.StrOpt('keystone_ec2_uri',
+ default=None,
+ help=_("Keystone EC2 Service Endpoint URI"))
]
cfg.CONF.register_opts(opts, group='ec2authtoken')
paste_deploy_group = cfg.OptGroup('paste_deploy')
paste_deploy_opts = [
- cfg.StrOpt('flavor'),
+ cfg.StrOpt('flavor',
+ help=_("The flavor to use")),
cfg.StrOpt('api_paste_config', default="api-paste.ini",
- help="The API paste config file to use")]
+ help=_("The API paste config file to use"))]
service_opts = [
logger = logging.getLogger(__name__)
policy_opts = [
- cfg.StrOpt('policy_file', default='policy.json'),
- cfg.StrOpt('policy_default_rule', default='default'),
+ cfg.StrOpt('policy_file',
+ default='policy.json',
+ help=_("Policy file to use")),
+ cfg.StrOpt('policy_default_rule',
+ default='default',
+ help=_("Default Rule of Policy File"))
]
CONF = cfg.CONF
eventlet.wsgi.MAX_REQUEST_LINE = URL_LENGTH_LIMIT
bind_opts = [
- cfg.StrOpt('bind_host', default='0.0.0.0'),
- cfg.IntOpt('bind_port'),
+ cfg.StrOpt('bind_host', default='0.0.0.0',
+ help=_('Address to bind the server. Useful when '
+ 'selecting a particular network interface.')),
+ cfg.IntOpt('bind_port',
+ help=_('The port on which the server will listen.'))
]
cfg.CONF.register_opts(bind_opts)
socket_opts = [
- cfg.IntOpt('backlog', default=4096),
- cfg.StrOpt('cert_file'),
- cfg.StrOpt('key_file'),
+ cfg.IntOpt('backlog', default=4096,
+ help=_("Number of backlog requests "
+ "to configure the socket with")),
+ cfg.StrOpt('cert_file', default=None,
+ help=_("Location of the SSL Certificate File "
+ "to use for SSL mode")),
+ cfg.StrOpt('key_file', default=None,
+ help=_("Location of the SSL Key File to use "
+ "for enabling SSL mode")),
]
cfg.CONF.register_opts(socket_opts)
-workers_opts = cfg.IntOpt('workers', default=0)
+workers_opts = cfg.IntOpt('workers', default=0,
+ help=_("Number of workers for Heat service"))
cfg.CONF.register_opt(workers_opts)