Merge "Use oslo_config PortOpt support"

This commit is contained in:
Jenkins 2015-10-26 12:10:43 +00:00 committed by Gerrit Code Review
commit 55f30cc976
1 changed files with 9 additions and 9 deletions

View File

@ -62,9 +62,9 @@ api_opts = [
help=_('Address to bind the server. Useful when '
'selecting a particular network interface.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('bind_port', default=8004, min=1, max=65535,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.PortOpt('bind_port', default=8004,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('backlog', default=4096,
help=_("Number of backlog requests "
"to configure the socket with."),
@ -100,9 +100,9 @@ api_cfn_opts = [
help=_('Address to bind the server. Useful when '
'selecting a particular network interface.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('bind_port', default=8000, min=1, max=65535,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.PortOpt('bind_port', default=8000,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('backlog', default=4096,
help=_("Number of backlog requests "
"to configure the socket with."),
@ -138,9 +138,9 @@ api_cw_opts = [
help=_('Address to bind the server. Useful when '
'selecting a particular network interface.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('bind_port', default=8003, min=1, max=65535,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.PortOpt('bind_port', default=8003,
help=_('The port on which the server will listen.'),
deprecated_group='DEFAULT'),
cfg.IntOpt('backlog', default=4096,
help=_("Number of backlog requests "
"to configure the socket with."),