Closed ntadas closed 8 years ago
Can you be more specific about your filter? That FILE datastore is used to get information about locks, all other parts of the status monitoring data should be returned.
using the filter
<netconf-state><datastores/></netconf-state>
nothing is returned.
thanks Regards
Now its working, thanks, but I still have an issue: its returning the 3 datastores (running, startup and candidate) but I only have the running datastore. Shouldn't this request be crosschecked with the announced capabilities? or do I have a way to prevent this in the "application" side?
thanks Regards
hmm, I'm afraid that there can be more such situations.
libnetconf implements all three datastores and there is no way to switch some of them off (in contrast to e.g. Notifications or NACM). I know that the server can completely change the announced capabilities, which is probably what you did. The problem is that it actually does not switch off the datastores and get_state_monitoring
has no idea about capabilities because it doesn't have access to the session.
Hi
When a filtered get is done to the netconf-state datastores we get an empty reply. Looking to the libnetconf code its possible to see this only works for datastore of type FILE
Is it possible to use this also in CUSTOM datastores?
REgards