Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
HC Test: revert to using restconf over http
[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
858aa21
..
52257bf
100644
(file)
--- a/
resources/libraries/python/honeycomb/HoneycombSetup.py
+++ b/
resources/libraries/python/honeycomb/HoneycombSetup.py
@@
-239,13
+239,13
@@
class HoneycombSetup(object):
:raises HoneycombError: If the configuration could not be changed.
"""
:raises HoneycombError: If the configuration could not be changed.
"""
- find = "restconf-http
s
-binding-address"
+ find = "restconf-http-binding-address"
try:
IPv6Address(unicode(node["host"]))
# if management IP of the node is in IPv6 format
try:
IPv6Address(unicode(node["host"]))
# if management IP of the node is in IPv6 format
- replace = '\\"restconf-
https-
binding-address\\": \\"0::0\\",'
+ replace = '\\"restconf-binding-address\\": \\"0::0\\",'
except (AttributeError, AddressValueError):
except (AttributeError, AddressValueError):
- replace = '\\"restconf-
https-
binding-address\\": \\"0.0.0.0\\",'
+ replace = '\\"restconf-binding-address\\": \\"0.0.0.0\\",'
argument = '"/{0}/c\\ {1}"'.format(find, replace)
path = "{0}/config/honeycomb.json".format(Const.REMOTE_HC_DIR)
argument = '"/{0}/c\\ {1}"'.format(find, replace)
path = "{0}/config/honeycomb.json".format(Const.REMOTE_HC_DIR)