-
Notifications
You must be signed in to change notification settings - Fork 299
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
Need help for a 'derived-from-or-self' validation #2342
Comments
Can you please post the exact command you are executing? I have tried validating the data you posted but they contain obvious typos (such as |
./yanglint --path=/prmanna/ietf/libyang/build/yangdb/ -f json tests/ietf-network-inventory.yang yangdb/iana-hardware.yang tests/ports-transceivers-breakouts-examples.json |
|
Hi Team,
We are using the yanglint validation for the yang with json example.
For this new change (ie. union)
https://github.com/ietf-ivy-wg/network-inventory-yang/blob/06d546603dbd58f1d6dccb371aa58204bf8a6399/ietf-network-inventory.yang#L334
the yanglint is giving error in this following validation for the example above.
https://github.com/ietf-ivy-wg/network-inventory-yang/blob/06d546603dbd58f1d6dccb371aa58204bf8a6399/ietf-network-inventory.yang#L520
Need your input here.
Thanks,
Prasenjit
The text was updated successfully, but these errors were encountered: