Merge "Improve help text of registry server opts"

This commit is contained in:
Jenkins 2016-08-25 18:00:00 +00:00 committed by Gerrit Code Review
commit d494246c90

View File

@ -24,9 +24,27 @@ from glance.i18n import _
registry_addr_opts = [
cfg.StrOpt('registry_host', default='0.0.0.0',
help=_('Address to find the registry server.')),
help=_("""
Address the registry server is hosted on.
Possible values:
* A valid IP or hostname
Related options:
* None
""")),
cfg.PortOpt('registry_port', default=9191,
help=_('Port the registry server is listening on.')),
help=_("""
Port the registry server is listening on.
Possible values:
* A valid port number
Related options:
* None
""")),
]
CONF = cfg.CONF