Hi,
I have observed validation issue with the sequence of leaf elements within grouping.
To keep things simple I used bellow dummy yang model to reporduce the issue.
$ cat a.yang
module a {
namespace urn:yang:a;
prefix a;
grouping group_1 {
leaf g1_config_1 {
type uint32;
}
leaf g1_config_2 {
type uint32;
}
}
grouping group_2 {
leaf g2_config_1 {
type uint32;
}
leaf g2_config_2 {
type uint32;
}
}
container container_a {
uses group_1;
uses group_2;
}
}
In the failed configuration the sequence of config leaf elements is scrambled. This is even worst when grouping has more elements.
I guess the sequence should not matter for validation.
Hi, I have observed validation issue with the sequence of leaf elements within grouping. To keep things simple I used bellow dummy yang model to reporduce the issue.
$ cat a.yang
Configuration that passes validation:
Configuration that fails validation:
In the failed configuration the sequence of config leaf elements is scrambled. This is even worst when grouping has more elements. I guess the sequence should not matter for validation.
Regards AKSHAY