Merge "Use oslo_config new type PortOpt for port options"

This commit is contained in:
Jenkins 2015-11-01 21:20:24 +00:00 committed by Gerrit Code Review
commit c4d80be69a
2 changed files with 6 additions and 6 deletions

View File

@ -34,11 +34,11 @@ _WS_OPTIONS = (
cfg.StrOpt('bind', default='127.0.0.1',
help='Address on which the self-hosting server will listen.'),
cfg.IntOpt('port', default=9000,
help='Port on which the self-hosting server will listen.'),
cfg.PortOpt('port', default=9000,
help='Port on which the self-hosting server will listen.'),
cfg.IntOpt('external-port', default=None,
help='Port on which the service is provided to the user.'),
cfg.PortOpt('external-port', default=None,
help='Port on which the service is provided to the user.'),
)

View File

@ -36,8 +36,8 @@ _WSGI_OPTIONS = (
cfg.StrOpt('bind', default='127.0.0.1',
help='Address on which the self-hosting server will listen.'),
cfg.IntOpt('port', default=8888,
help='Port on which the self-hosting server will listen.'),
cfg.PortOpt('port', default=8888,
help='Port on which the self-hosting server will listen.'),
)
_WSGI_GROUP = 'drivers:transport:wsgi'