-
Notifications
You must be signed in to change notification settings - Fork 293
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
lyd_validate() fails when list have multiple lists at same level. #1119
Comments
It looks like a bug indeed since your test program works fine when libyang is built with |
@michalvasko Can someone please help look into this? It is a blocker to our key development. |
Hi, Regards, |
@michalvasko Thanks for quick fix/cleanup of canonical values. We have validated the fix and it works or the use case reported in this issue. Though scaling can be an issue but for now we want to avoid additional containers. Could you please help cherry-pick this change to master so frr can integrate into its workflow. |
Hi, Regards, |
Hi,
I have a yang model, with list having multiple lists as below :
If i tries to configure this model with specific set of keys then lyd_validate fails.
I am getting below error
For the details i have attached the sample code with yang model, to reproduce the issue.
This folder contains 3 sub folders bin, src ,inc
I will give you an error.
However as a work around, If i use container at the top of every list then this problem is not coming.
I am creating a data tree in yang.c, xpaths are defined in macros starting with
#define XPATH_PREFIX_
list_with_in_list.zip
Any pointers would be helpful.
The text was updated successfully, but these errors were encountered: