diff options
Diffstat (limited to 'components/scripts/python/ccsdk_netconf')
-rw-r--r-- | components/scripts/python/ccsdk_netconf/netconfclient.py | 4 |
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 d898ec00..e263ba8f 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 |