Merge "Use oslo_config PortOpt support"

This commit is contained in:
Jenkins 2015-10-21 17:37:59 +00:00 committed by Gerrit Code Review
commit ced7f55dda
3 changed files with 7 additions and 7 deletions

View File

@ -160,9 +160,9 @@ common_opts = [
cfg.StrOpt('pydev_worker_debug_host',
help=_('The hostname/IP of the pydev process listening for '
'debug connections')),
cfg.IntOpt('pydev_worker_debug_port', default=5678, min=1, max=65535,
help=_('The port on which a pydev process is listening for '
'connections.')),
cfg.PortOpt('pydev_worker_debug_port', default=5678,
help=_('The port on which a pydev process is listening for '
'connections.')),
cfg.StrOpt('metadata_encryption_key', secret=True,
help=_('AES key for encrypting store \'location\' metadata. '
'This includes, if used, Swift or S3 credentials. '

View File

@ -59,8 +59,8 @@ bind_opts = [
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', min=1, max=65535,
help=_('The port on which the server will listen.')),
cfg.PortOpt('bind_port',
help=_('The port on which the server will listen.')),
]
socket_opts = [

View File

@ -26,8 +26,8 @@ _ = i18n._
registry_addr_opts = [
cfg.StrOpt('registry_host', default='0.0.0.0',
help=_('Address to find the registry server.')),
cfg.IntOpt('registry_port', default=9191, min=1, max=65535,
help=_('Port the registry server is listening on.')),
cfg.PortOpt('registry_port', default=9191,
help=_('Port the registry server is listening on.')),
]
CONF = cfg.CONF