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