We are subscribing to module and registering operational data callback. But when we are doing get via sysrepocfg on operational data, it is failing and not fetching data from callback. Can you please take a look at script and yang models?
PFA Yang and test script
oper_test.zip
Thanks,
While doing get using sysrepocfg, below error is coming:
python3 sysrepocfg.py -d operational -f xml -X ietf-hardware:hardware
python3: sysrepo/src/common.c:4675: sr_xpath_trim_last_node: Assertion `xpath[0] == '/'' failed.
Aborted (core dumped)