summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-13 00:24:11 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-13 00:24:11 +0000
commite1d66c32874c7e2f4e72e798c0949ad681a784ab (patch)
tree9e8b91415653d37d294ffd34f997edc3b96393ae /components
parent83cbb1f2a7ee6a2effe38ebc95b04703030fe20d (diff)
parent1a19d33abd1c6afda3b064da022bb77ddf13d5cf (diff)
Merge "Add support to invoke device specific RPC"
Diffstat (limited to 'components')
-rw-r--r--components/scripts/python/ccsdk_netconf/netconfclient.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/scripts/python/ccsdk_netconf/netconfclient.py b/components/scripts/python/ccsdk_netconf/netconfclient.py
index d898ec009..e263ba8f7 100644
--- a/components/scripts/python/ccsdk_netconf/netconfclient.py
+++ b/components/scripts/python/ccsdk_netconf/netconfclient.py
@@ -41,6 +41,10 @@ class NetconfClient:
persist, persist_id)
return device_response
+ def invoke_rpc(self, rpc):
+ device_response = self.netconf_rpc_client.invokeRpc(rpc)
+ return device_response
+
def cancel_commit(self, persist_id=""):
device_response = self.netconf_rpc_client.cancelCommit(persist_id)
return device_response