Fixing restconf_client.py script
[ccsdk/cds.git] / components / scripts / python / ccsdk_restconf / restconf_client.py
index 92069c5..6d18b03 100644 (file)
@@ -47,7 +47,7 @@ class RestconfClient:
         expected_result = '"netconf-node-topology:connection-status":"connected"'
         while counter < self.__odl_status_check_limit:
             result = web_client_service.exchangeResource("GET", url, "")
-            if expected_result in result:
+            if expected_result in result.body:
                 self.__log.info("NF was mounted successfully on ODL")
                 return None
             sleep(self.__odl_status_check_pause)