Description
LeafRefPatch is built using namespace of the module which contains leafref.
Such approach probably originates from ----, but fails withYANGTOOLS-749
org.opendaylight.yangtools.yang.data.impl.leafref.LeafRefDataValidationFailedException: Invalid leafref value [...] allowed values []
for uscase as simple as:
bar.yang:
grouping grouping-with-list {
list list-in-grouping {
key "name";
leaf name {
type leafref {
path "../container-in-list/name";
}
}
container container-in-list {
leaf name {
type string;
}
}
}
}
foo.yang:
container foo-top {
uses bar:grouping-with-list;
}
Attachments
Issue Links
- blocks
-
YANGTOOLS-892 LeafRefValidatation can't find target node afi-safi-name (bgp-openconfig-extensions@2017-12-07)
-
- Resolved
-