Open
Description
Is there a nAPI to get the SNode the leafref points to? Or the schema xpath of what the leafref points to?
For example:
leaf vlanid {
type leafref {
path ../../../VLAN/VLAN_LIST/vlanid;
}
}
the existing leafref_path() will get "../../../VLAN/VLAN_LIST/vlanid",
can we have APIs:
- returns the real xpath of this leafref path, so we can use the returned path to get the SNode
- an API to return the SNode this leafref points to?
Metadata
Metadata
Assignees
Labels
No labels