X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FHoneycombSetup.py;h=52257bf1d055ebd32d5ebeaba3e40abd9280cea9;hb=refs%2Fchanges%2F85%2F5985%2F2;hp=858aa2134402e4b72a83f995ceb22dbccbde645f;hpb=b2f75ec0f52110c267b90372e657b664417c1f4b;p=csit.git 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)