fix auth for newer ODL versions 66/18766/2
authorMichal Cmarada <mcmarada@cisco.com>
Tue, 9 Apr 2019 14:53:46 +0000 (16:53 +0200)
committerPeter Mikus <pmikus@cisco.com>
Wed, 10 Apr 2019 06:33:53 +0000 (06:33 +0000)
Since oxygen we need to add also "-p karaf" argument when
starting karaf and because we are not using older versions
anymore we can remove the if condition and use new authentication
by default.

Change-Id: I458fa35b7f26222dd5562349e6859844bfb7d05f
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
resources/libraries/python/honeycomb/HoneycombSetup.py

index b4617eb..b9c4c56 100644 (file)
@@ -519,9 +519,7 @@ class HoneycombSetup(object):
         ssh = SSH()
         ssh.connect(node)
 
-        auth = "-u karaf"
-        if odl_name.lower() == "oxygen" or odl_name.lower() == "fluorine":
-            auth = "-u karaf -p karaf"
+        auth = "-u karaf -p karaf"
 
         cmd = "{path}/*karaf*/bin/client {auth} feature:install " \
               "odl-restconf-all " \