From f111bcb930c8a0f65b4d11a05e136ae6224abc69 Mon Sep 17 00:00:00 2001 From: yangyapeng Date: Fri, 16 Oct 2015 13:39:16 -0400 Subject: [PATCH] Add oslo_config IPOpt support Change-Id: Idecf5cb2a0fa09387c0ddfeb0e0dc9519ff9d853 --- zaqar/transport/websocket/driver.py | 4 ++-- zaqar/transport/wsgi/driver.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zaqar/transport/websocket/driver.py b/zaqar/transport/websocket/driver.py index 3d76caf6b..fb39df2a5 100644 --- a/zaqar/transport/websocket/driver.py +++ b/zaqar/transport/websocket/driver.py @@ -31,8 +31,8 @@ from zaqar.transport.websocket import factory _WS_OPTIONS = ( - cfg.StrOpt('bind', default='127.0.0.1', - help='Address on which the self-hosting server will listen.'), + cfg.IPOpt('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.'), diff --git a/zaqar/transport/wsgi/driver.py b/zaqar/transport/wsgi/driver.py index 74eeb0a6a..798f2563f 100644 --- a/zaqar/transport/wsgi/driver.py +++ b/zaqar/transport/wsgi/driver.py @@ -33,8 +33,8 @@ from zaqar.transport.wsgi import v2_0 from zaqar.transport.wsgi import version _WSGI_OPTIONS = ( - cfg.StrOpt('bind', default='127.0.0.1', - help='Address on which the self-hosting server will listen.'), + cfg.IPOpt('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.'),