freeconf/restconf

Bug in support for RFC 8525

b-kamphorst opened this issue · 3 comments

Hi!

If I interpret the supported RFC 8525 correctly, the container modules-state from restconf/data/ietf-yang-library is deprecated in favor of a container yang-library. However, when I call the endpoint on the Car example, the reply contains modules-state but not yang-library. Is this a bug?

Thank you for the swift reply. I find an excuse to work on this (no guarantees), I could make a PR. Would you be open to that? From what I can see, this issue requires extending device/yang_lib_node.go and device/yang_lib_test.go. Would you agree?