Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UML - leafref within grouping doesn't find its target #748

Open
mrehder opened this issue Jun 15, 2021 · 2 comments
Open

UML - leafref within grouping doesn't find its target #748

mrehder opened this issue Jun 15, 2021 · 2 comments

Comments

@mrehder
Copy link

mrehder commented Jun 15, 2021

Leafrefs defined within a grouping can't find their target.
Attached is a YANG file and the UML.
Test
Test.txt
This YANG file generates this warning from the UML plugin:
Info: Did not find leafref target /testTarget/key2

@nullromo
Copy link

nullromo commented Nov 3, 2021

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.

@steweg
Copy link

steweg commented Apr 21, 2023

Hi I have hopefully fixed this issue within PR #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants