Hi,
I have following yang model.
list condition-map {
key name;
ordered-by user;
leaf name {
type string {
length "1..32";
}
leaf-list condition1 {
ordered-by user;
type string;
}
leaf-list condition2 {
ordered-by user;
type uint32;
}
}
What I want to do with condition-map is, at least one of condition1 and condition2 should be present for the condition-map to be a valid entry. How do I set this constraint?