ConfD User Community

API to find an object type


#1

Hi,

is there any API to get the object type give a YANG path?
like whether the path is a container or list?
Please let me know.

Thanks,
-karthi


#2

You can refer to this posting at How to identify if a node is a list vs a container in the confd_cs_node data structure? for the relevant information.


#3

Thanks for the pointer. It helped me to find the object type.