summaryrefslogtreecommitdiffstats
path: root/networking-odl/networking_odl/common/client.py
diff options
context:
space:
mode:
authorWojciech Dec <wdec@cisco.com>2016-08-17 13:14:23 +0200
committerWojciech Dec <wdec@cisco.com>2016-08-17 13:14:23 +0200
commit4979a23b8b2c0094ced98cf05eebb692d6609937 (patch)
treec49ceeb5b127fdb0e10c0f5ac0516be96cbd31a9 /networking-odl/networking_odl/common/client.py
parentc3b2c2a9a22bac5cf17813c589444d3abebaa23b (diff)
Correcting networking-odl to mitaka/stable + app topology patch
Change-Id: Iddcd8dda2d49fcdd8e0f37a1d052a6fa8a24b035 Signed-off-by: Wojciech Dec <wdec@cisco.com>
Diffstat (limited to 'networking-odl/networking_odl/common/client.py')
-rw-r--r--networking-odl/networking_odl/common/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking-odl/networking_odl/common/client.py b/networking-odl/networking_odl/common/client.py
index 45349e9..537665d 100644
--- a/networking-odl/networking_odl/common/client.py
+++ b/networking-odl/networking_odl/common/client.py
@@ -27,9 +27,9 @@ cfg.CONF.import_group('ml2_odl', 'networking_odl.common.config')
class OpenDaylightRestClient(object):
@classmethod
- def create_client(cls, url=None):
+ def create_client(cls):
if cfg.CONF.ml2_odl.enable_lightweight_testing:
- LOG.debug("ODL lightweight testing is enabled, "
+ LOG.debug("ODL lightweight testing is enabled, ",
"returning a OpenDaylightLwtClient instance")
"""Have to import at here, otherwise we create a dependency loop"""
@@ -37,7 +37,7 @@ class OpenDaylightRestClient(object):
cls = lwt.OpenDaylightLwtClient
return cls(
- url or cfg.CONF.ml2_odl.url,
+ cfg.CONF.ml2_odl.url,
cfg.CONF.ml2_odl.username,
cfg.CONF.ml2_odl.password,
cfg.CONF.ml2_odl.timeout)