Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix typos in DUTsetup.py
[csit.git]
/
resources
/
libraries
/
python
/
honeycomb
/
HoneycombSetup.py
diff --git
a/resources/libraries/python/honeycomb/HoneycombSetup.py
b/resources/libraries/python/honeycomb/HoneycombSetup.py
index
b4617eb
..
796639e
100644
(file)
--- a/
resources/libraries/python/honeycomb/HoneycombSetup.py
+++ b/
resources/libraries/python/honeycomb/HoneycombSetup.py
@@
-503,15
+503,13
@@
class HoneycombSetup(object):
"in progress ...".format(node['host']))
@staticmethod
"in progress ...".format(node['host']))
@staticmethod
- def install_odl_features(node,
odl_name,
path, *features):
+ def install_odl_features(node, path, *features):
"""Install required features on a running ODL client.
:param node: Honeycomb node.
"""Install required features on a running ODL client.
:param node: Honeycomb node.
- :param odl_name: Name of ODL client version to use.
:param path: Path to ODL client on node.
:param features: Optional, list of additional features to install.
:type node: dict
:param path: Path to ODL client on node.
:param features: Optional, list of additional features to install.
:type node: dict
- :type odl_name: str
:type path: str
:type features: list
"""
:type path: str
:type features: list
"""
@@
-519,9
+517,7
@@
class HoneycombSetup(object):
ssh = SSH()
ssh.connect(node)
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 " \
cmd = "{path}/*karaf*/bin/client {auth} feature:install " \
"odl-restconf-all " \