summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-08-28 02:55:10 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-28 02:55:10 +0000
commitf5c26aa8745348cc54ad12c47d67cc13f0a56740 (patch)
tree86729852eebb8ea1e294e8c336713fdd2c9b0fbb /components
parent49df3104ad130b17d5c8ba1df0d436386662c922 (diff)
parent6dec3fb775386767a7b4008b0862e6a32247bb97 (diff)
Merge "Add Get function in Netconf execution service for operational commands"
Diffstat (limited to 'components')
-rw-r--r--components/scripts/python/ccsdk_netconf/netconfclient.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/scripts/python/ccsdk_netconf/netconfclient.py b/components/scripts/python/ccsdk_netconf/netconfclient.py
index b3aef11f4..97f730081 100644
--- a/components/scripts/python/ccsdk_netconf/netconfclient.py
+++ b/components/scripts/python/ccsdk_netconf/netconfclient.py
@@ -62,3 +62,10 @@ class NetconfClient:
def set_execution_attribute_response_data(self, response_data):
self.setAttribute(ATTRIBUTE_RESPONSE_DATA, response_data)
+
+ def get(self, filter_content):
+ device_response = self.netconf_rpc_client.get(filter_content)
+ return device_response
+
+ def set_execution_attribute_response_data(self, response_data):
+ self.component_function.setAttribute(ATTRIBUTE_RESPONSE_DATA, response_data)