netopeer2
netopeer2 copied to clipboard
Question: All status paths are queried in sysrepo though one specific path is queried in netopeer2-cli
Could you help me to clarify the following behavior?
I have a yang model with 3 containers with "config false"
module mod1 {
container c1 {
config false;
list l1 {
key "id";
uses o1_t;
}
}
container c2 {
config false;
list l2 {
key "id";
uses o2_t;
}
}
container c3 {
config false;
list l3 {
key "id";
uses o3_t;
}
}
netopeer2-cli
> get --filter-xpath /mod1:c1
In sysrepo-plugind log, I notice all paths are queried.
[INF] nvOS: state_cb called with path: /mod1:c1, request_xpath: /mod1:*
...
[INF] nvOS: state_cb called with path: /mod1:c2, request_xpath: /mod1:*
...
[INF] nvOS: state_cb called with path: /mod1:c3, request_xpath: /mod1:*
...
Is this expected? Is there a way to configure netopeer2-server only to query the path asked alone?
What netopeer2-server version are you using? This should have been fixed in the latest release 2.1.36.
Hi Michal,
Thanks for the quick response!
I'm using netopeer2 version 2.1.16. Let me upgrade and check.
Thanks, Vivek