YANG Object Tree Handling

Obj_template_t structure APIs and utility functions

How do I find the referenced object of a leafref object?
Question: Is there a simple function to find the referenced object of a leafref object? leaf a type string; leaf b type leafref; path “/a...
Thu, 24 Feb, 2022 at 5:50 PM
How do I find a top-level object and any other objects?
Assume you know the name of the target object and your goal is to obtain its object template. Assume the object is a top level object in the YANG module, i...
Thu, 25 Jul, 2019 at 5:41 PM
How do I access objects in the YANG schema tree?
What is a YANG Schema Tree? The YANG schema tree is the conceptual tree made up of all resolved objects: All groupings have been expanded All augment...
Thu, 25 Jul, 2019 at 5:17 PM
How to generate object ID from the obj_template_t?
If there is an object template of a YANG node, the complete object ID (yang path from top parent to the current object node) of the object can be fetched wi...
Wed, 13 May, 2020 at 4:43 PM