Merge "Use oslo_config PortOpt support"
This commit is contained in:
commit
ced7f55dda
|
@ -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. '
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue