diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-11 22:22:30 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-11 22:34:11 -0400 |
commit | 1a19d33abd1c6afda3b064da022bb77ddf13d5cf (patch) | |
tree | 95913ec5d9597f3a1aa5fb4d4e01d99ffcb0ab5e /components | |
parent | 51da489d08f63d3ac8f176609d442bcf7f7a04bd (diff) |
Add support to invoke device specific RPC
Change-Id: Ia003ed669cc88a4c24a495e79db620b5034bc3ca
Issue-ID: CCSDK-790
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components')
-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 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 |