Loading...
Searching...
No Matches
About

libyang is a library implementing processing of the YANG schemas and data modeled by the YANG language. The library is implemented in C for GNU/Linux and provides C API.

# Main Features

- Parsing (and validating) schemas in YANG format.
- Parsing (and validating) schemas in YIN format.
- Parsing, validating and printing instance data in XML format.
- Parsing, validating and printing instance data in JSON format (RFC 7951).
- Manipulation with the instance data.
- Support for default values in the instance data (RFC 6243).
- Support for YANG extensions and user types.
- Support for YANG Metadata (RFC 7952).
- Support for YANG Schema Mount (RFC 8528).

The current implementation covers YANG 1.0 (RFC 6020) as well as YANG 1.1 (RFC 7950).

# License

Copyright (c) 2015 - 2025 CESNET, z.s.p.o.

(The BSD 3-Clause License)

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the Company nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.