aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/honeycomb/HoneycombSetup.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-03-31 11:47:53 +0200
committerTibor Frank <tifrank@cisco.com>2017-04-03 07:33:36 +0000
commitfdb655956844979145ef8cf1c455ee336c41b437 (patch)
tree430aa5002e46888e4154207ddc2fff63d731b38c /resources/libraries/python/honeycomb/HoneycombSetup.py
parentb2f75ec0f52110c267b90372e657b664417c1f4b (diff)
HC Test: revert to using restconf over http
- use http instead of https for restconf connection - add missing import to proxyARP robot library - use VAT interface dump to identify interfaces in VAT ip address dump Change-Id: Ic381ff3f9b56a6c633382450559134f5389956c2 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb/HoneycombSetup.py')
-rw-r--r--resources/libraries/python/honeycomb/HoneycombSetup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/honeycomb/HoneycombSetup.py b/resources/libraries/python/honeycomb/HoneycombSetup.py
index 858aa21344..52257bf1d0 100644
--- 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.
"""
- find = "restconf-https-binding-address"
+ find = "restconf-http-binding-address"
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):
- 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)