I am trying to capture the imcoming netconf rpc-get request with non-existed path and record the path item which is in rpc-get request.
For example, I am trying to get a non-existed path “/fake/path”, rpc-reply without any error. Herer I want to get a notification that get /fake/path failed. I checked the notification chapter, and did not find a way how to capture this. Can someone help to point out if there is a way.
As you likely already know, ConfD behaves according to the NETCONF RFC 6241 section 6.4.2.
There are no notifications or log entries if the filter selects nothing because no content match or selection nodes are present.
netconf-console --port 830 -u test-p xxx --get -x "/fake/path"
This log can be recorded to xpath.trace
9-May-2023::09:12:22.369 get-xml filter: evaluating: /fake/path
Is there any samiliar configuration for netconf filter?