Relative Content

Tag Archive for pythonxmlxpathietf-netmod-yangietf-netconf

How to split a (sysrepo, netconf) xpath into a json object

I am working with NETCONF and Sysrepo. When a change is made in the sysrepo managed configuration, it gives a call back so that the corresponding change can be effected in the underlying hardware. The call back has an xpath parameter which gives the exact location in the yang model where the data has been changed. Some examples are as follows: