hi i have a yang model which looks like
container one {
presence "true";
uses somegroup {
refine somegroupleaf {
tailf:cli-delete-container-on-delete;
tailf:cli-diff-delete-before "../../one";
}
}
}
container two {
presence "true";
uses somegroup {
refine somegroupleaf {
tailf:cli-delete-container-on-delete;
tailf:cli-diff-delete-before "../../two";
}
}
}
etc…,
how can i make this generic
tailf:cli-diff-delete-before “…/…/two”; instead specifying “two” in the xpath, how can i express to pick its parent.
Also where can i learn about Xpaths for yang and what expressions are valid ?
Thanks for help.