Subject: [netmod] libyang - open source YANG library in C

From: Radek Krejčí <[email-masked]>
Date: Wed, 4 Nov 2015 14:25:57 +0100

Hi all,

as a side effect of evolving our libnetconf library, we've developed standalone libyang library for parsing and validating YANG schemas and instance data. It further allows callers to work with schemas and instance data via libyang tree structures and various functions. The library is available at github [1] under BSD license. Currently, the library is able to read and validate schemas in YIN format (YANG support is under development) and instance data in XML and JSON formats (being one the last features, JSON parser is available only in devel branch right now). To demonstrate features of the library, there is a simple tool called yanglint (with similar functions as pyang). Despite it currently supports only YANG 1.0, in future we plan to add also support for 1.1.

I believe that you will find it useful and I would like to ask WG chairs to add information about libyang to the list of NETCONF/YANG implementations in the NETCONF Wiki [2]

[1] - https://github.com/CESNET/libyang
[2] - https://trac.tools.ietf.org/wg/netconf/trac/wiki

Best regards,
Radek Krejci