libyang
libyang copied to clipboard
YANG data modeling language library
Fixes for Coverity issues (company internal).
Hi, libyang is throwing below error while creating subscription: ` Tag: operation-failed Type: application Severity: error Message: Missing mandatory prefix for XML metadata "type".` The RPC sent is ` `...
Reproducible with: yanglint 3.7.8 This YANG should be valid AFAICT but yanglint can't find the leafref's target: ``` module example { yang-version 1.1; namespace "ex:ample"; prefix example; import ietf-yang-structure-ext {...
Hello, and thank you for your work on libyang! According to [RFC 7950, section 7.6.7](https://datatracker.ietf.org/doc/html/rfc7950#section-7.6.7), the replace operation is intended to behave as a combination of delete and create. In...
While porting SONiC from libyang 1.0.73 to 3.7.8, I ran across a peculiar issue. Unless I'm evaluating it wrong, it looks like a bug in libyang's handling of default values...
Is it possible to switch to a faster hash function such as `xxhash` or similar? The current implementation of `lyht_hash_multi()` uses one-at-a-time hash, which may not be the best.
I optimize when validation in libyang that reduce about 50% execution time. If patch(0001-validation-OPTIMIZE-construct-layering-node_when.patch) can be acceptable, please merge to libyang source tree. ### **backgroud** Our sysrepo datastore is tremendously...
Version: libyang 3.7.8 There are two modules, the module a defined sx:structure called "struct" ``` module a { yang-version 1.1; namespace urn:tests:extensions:structure:a; prefix a; import ietf-yang-structure-ext { prefix sx; }...
Version: Libyang 2.1.80 Hi There, We have an application and it has been found recently that a process in that application has been increasing in memory. Through some binary searching...
I'm finding that if I do a: ``` err = lyd_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, LYD_NEW_PATH_UPDATE, NULL, trunk); ``` where xpath is a path that ends in a keyless...