libyang icon indicating copy to clipboard operation
libyang copied to clipboard

YANG data modeling language library

Results 143 libyang issues
Sort by recently updated
recently updated
newest added

module: ```yang container testsdk { container TsdkTypeInners { list TsdkTypeInner { key "TestIndex TestName"; config true; mo:global-max-elements "1000000"; leaf TestIndex { type uint32 { range "0..4294967295"; } mandatory true; mo:indexAssignMode...

is:question

Issue Details: While running with approximately 100 ONTs and periodically querying PON counter statistics, a crash occurs in libyang. This appears to be a memory corruption issue, as it is...

is:bug

Is there any way built in, or otherwise recommended to track the amount of memory allocated by libyang, ideally without LD_PRELOAD or similar? For example, libxml provides an [API](https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xmlmemory.html#xmlMemSetup) to...

is:enhancement

I recently updated to the latest libyang master and LYD_LYB format now no longer works for us. `2025/10/22 06:40:14 MGMTD: libyang: Different current LYB context modules hash compared to the...

is:enhancement
status:completed

Hi, The node callback has been removed from plugin_ext in libyang 4. In my case, it was used to validate data in a container with extensions. For example, I have...

is:enhancement
status:completed

I've got this error and YANG cannot be compiled normally. cannot load module: Not found node "A" in path.: Schema path: /path/.../A/.../target-leaf: Target of leafref "leaf" cannot be referenced because...

## Add CBOR Support to libyang Attempt to resolve #2130 ### Overview This PR adds comprehensive CBOR support to libyang, enabling parsing, validating, and printing instance data in CBOR format...

This is a WIP PR. An early review would be appreciated, but I want to see if others can bang on the code a bit, too.

As confirmed by Michal, the parsing code will try to read the `notifications` module, if it is available, or if the parsed data from the `ietf-yang-types` module are not available....