aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_restconf/restconf_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/scripts/python/ccsdk_restconf/restconf_client.py')
-rw-r--r--components/scripts/python/ccsdk_restconf/restconf_client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/scripts/python/ccsdk_restconf/restconf_client.py b/components/scripts/python/ccsdk_restconf/restconf_client.py
index 927c1fedd..6e53dcf93 100644
--- a/components/scripts/python/ccsdk_restconf/restconf_client.py
+++ b/components/scripts/python/ccsdk_restconf/restconf_client.py
@@ -18,6 +18,7 @@
# ============LICENSE_END=========================================================
#
from time import sleep
+from restconf_constant import *
from org.onap.ccsdk.cds.blueprintsprocessor.functions.restconf.executor import RestconfExecutorExtensionsKt
from org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution import ResourceResolutionExtensionsKt
@@ -92,3 +93,6 @@ class RestconfClient:
url = self.__base_odl_url + nf_id
self.__log.debug("sending unmount request, url: {}", url)
web_client_service.exchangeResource("DELETE", url, "")
+
+ def set_execution_attribute_response_data(self, response_data):
+ self.setAttribute(ATTRIBUTE_RESPONSE_DATA, response_data)