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

leaf-list multiple defaults are not supported (throwing error) #870

Open
kirankotari opened this issue Jul 8, 2023 · 1 comment
Open

Comments

@kirankotari
Copy link

09_46_12

In the above image I have a yang model with leaf-list with multiple defaults. when I tried to use pyang -f format its throwing following errors

tailf-ncs-cluster.yang:224: error: unexpected keyword "default"
tailf-ncs-cluster.yang:225: error: unexpected keyword "default"
tailf-ncs-cluster.yang:226: error: unexpected keyword "default"
tailf-ncs-cluster.yang:227: error: unexpected keyword "default"
tailf-ncs-cluster.yang:228: error: unexpected keyword "default"

similar merged PR: #756

OS: Mac 13.4.1
pyang 2.5.3

@mbj4668
Copy link
Owner

mbj4668 commented Oct 30, 2023

please provide an example module and show the exact command you use to reproduce this

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

2 participants