How to apply a filter with netconf GetConfig in Scrapligo? #131
-
Hi all, Myself again, stuck again, apologies. I am currently working on a project where I'm using the Scrapligo library to interact with a NETCONF server. I have been successful in retrieving data using the Get operation with a filter, as shown in the following code snippet:
However, I am now trying to use a similar filter with the GetConfig operation to retrieve specific configuration data, but I can't find a way to apply the filter. The function signature for GetConfig is as follows:
From the documentation, it isn't clear how to apply a filter using this function, if it's possible at all. Could you please guide me on how to use a filter with the GetConfig operation in Scrapligo, or confirm if this is not currently supported? Thank you in advance for your assistance, Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
think you're prolly lookin for this guy; basically getconfig like normal + pass the filter and should do the trick :) |
Beta Was this translation helpful? Give feedback.
-
you rock, thank you!!
If you are up for contributing these as examples that would be amazing! alternatively and a bit less effort just posting discussions and answering your own discussion with things would be great too! or none of the above, no pressure at all this is already great! thanks! |
Beta Was this translation helpful? Give feedback.
think you're prolly lookin for this guy; basically getconfig like normal + pass the filter and should do the trick :)