libyang
libyang copied to clipboard
YANG data modeling language library
Python 3.10.12 ; libyang 2.8.4 When trying to load a yang module I'm getting the following error: >>> import libyang >>> ctx = libyang.Context('/root/yang-modules') >>> module = ctx.load_module('telemety-config') Traceback (most...
hi When I try to use libyang 2.1.30 to parse the rpc message, the error message "List instance is missing its key "OCSAddr" is displayed. My message is in XML...
A model already exists in the current context. I would like to modify this model to be implemented in a patch. In libyang1, I can use ly_ctx_remove_module to uninstall a...
I'm using this code, that's similar to what I can see in file binary.c: `const struct lyd_value *value = ... ` `struct lyd_value_binary *data; ` `LYD_VALUE_GET(value, data);` the gcc compiler...
Hello! I found possible issue in libyang source code (0e1e5096fa782028f5cc852b3bc659bb14f225ee - last devel commit), which break edit-config replacement functionality for me. I have the following part of ietf-nacm in datastore:...
Memory leaks
Hello! We ran stability tests for our system, using netopeer2 (version 2.1.71), sysrepo (version 2.2.132) and libyang (version 2.1.137). And it seems, that there are memory leaks (as shown on...
https://github.com/CESNET/libyang/blob/fc4dbd923e044006c93df020590a1e5a8656c09e/src/parser_yang.c#L3955 Why success for "must" but failure for "mandatory"/"min-element"/... ? thanks
I created a parent module and a sub module like this: Parent module: ```yang module parent { namespace "http://xxx/parent"; prefix p; include sub; // BUG: comment the line below, then...
- Support for parsing JSON bare leaf values Add support for parsing bare values for top-level (from the parser's point of view) leaf nodes, using a new LYD_OPT_BARETOPLEAF flag. The...
Hello! I discovered the following problem on the libyang version 2.1.144. Other related libs versions: libnetconf2 - 2.1.38 sysrepo - 2.2.33 netopeer2 - 2.1.49 We sent get-config into the running...