Open mrehder opened 3 years ago
I have noticed this issue too. In my case the YANG model validates just fine when run through pyang, but gives these leafref errors when running with -f uml
.
Hi I have hopefully fixed this issue within PR https://github.com/mbj4668/pyang/pull/852. It works correctly if using with --uml-inline-groupings
option. Without that it will work only if the target node is within the grouping itself.
Leafrefs defined within a grouping can't find their target. Attached is a YANG file and the UML. Test.txt This YANG file generates this warning from the UML plugin: Info: Did not find leafref target /testTarget/key2