Getting schema from python API


How can I get the schema information from the python API similar to “get_schema” rpc call?

I know there are the CsNode objects but they lack some of the information, for example “tailf:hidden” and sorts.

1 Like

The schema information that you get from the ConfD CsNode objects is what the ConfD Python / C / Java / Erlang API provide.
If you want to get the YANG model through the get_schema RPC call via NETCONF using Python code, take a look at the $CONFD_DIR/bin/netconf-console implementation for the get-schema RPC.

Could you please elaborate?
Classname and(or) method name to get this data.