Closed krihal closed 10 months ago
This happens when the memory optimization is enabled in the controller:
<clixon-config xmlns="http://clicon.org/config">
<autocli>
<grouping-treeref>true</grouping-treeref> <----
An example from ietf-yang-library.yang is:
grouping module-implementation-parameters {
description
"Parameters for describing the implementation of a module.";
leaf-list feature {
type yang:yang-identifier;
...
leaf-list deviation {
type leafref {
path "../../module/name";
}
The path "../.." goes beyond the scope of the grouping and assumes that there is a "module" node in the context where the "uses" is done. I think is broken YANG.