libyang
libyang copied to clipboard
YANG data modeling language library
Running libyang 2.0.7, in the FRR project. When lyd_validate_all is called with aproximately ~3k lines of config it is taking ~6 seconds to validate the configuration. ``` 2023/05/03 18:05:08.699713 BGP:...
Hi, I m trying to fetch the data using `lyd_parse_data_mem()` subscribing at the parent level(which also includes list inside it). I m filling the values by forming string of json...
Hi Michal, currently, libyang2 strictly requires a LYB format version==5, as it seems, and refuses to read other/earlier versions of startup files. Are there plans (or already available means) to...
cmake settings: ```console -- Cache values CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_INSTALL_PREFIX:PATH=/usr CMOCKA_LIBRARY:FILEPATH=/usr/lib64/libcmocka.so DOT_PATH:FILEPATH=/usr/bin/dot ENABLE_COVERAGE:BOOL=OFF ENABLE_FUZZ_TARGETS:BOOL=OFF ENABLE_INTERNAL_DOCS:BOOL=OFF ENABLE_PERF_TESTS:BOOL=OFF ENABLE_STATIC:BOOL=OFF ENABLE_TESTS:BOOL=ON ENABLE_VALGRIND_TESTS:BOOL=OFF LYD_VALUE_SIZE:STRING=24 PATH_EXPECT:FILEPATH=PATH_EXPECT-NOTFOUND PATH_SHUNIT:FILEPATH=PATH_SHUNIT-NOTFOUND PCRE2_INCLUDE_DIR:PATH=/usr/include PCRE2_LIBRARY:FILEPATH=/usr/lib64/libpcre2-8.so PLUGINS_DIR:STRING=/usr/lib64/modiles/libyang PLUGINS_DIR_EXTENSIONS:STRING=/usr/lib64/modiles/libyang/extensions PLUGINS_DIR_TYPES:STRING=/usr/lib64/modiles/libyang/types YANG_MODULE_DIR:STRING=/usr/share/yang/modules/libyang ``` And test suite...
The value in errno is significant only when the return value of the call indicated an error ; a function that succeeds is allowed to change errno.There is a high...
Using latest devel for both libyang and libnetconf2 I face following errors: ``` `ly ERR: Invalid identityref "ct:rsa2048" value - identity found in non-implemented module "ietf-crypto-types".(/o-ran-file-management:file-upload/server/keys/algorithm) nc ERR: Failed to...
 input parameters: data: ```xml \n \n \n \n none\n stop-on-error\n\n ``` mod: ``` {ctx = 0x197abc0, name = 0x196f710 "ietf-netconf", revision = 0x1970d00 "2011-06-01", ns = 0x1964d00 "urn:ietf:params:xml:ns:netconf:base:1.0", prefix...
Hi, I use (a modified version of) the client example code provided by libnetconf2. When connecting to a device the client crashes in lys_compile_extension due to a null pointer. The...
Hello, I try to parse a yang file which contains comments between double quoted strings and the "+" operator. The module test-concat shows such a scenario. According the RFC 7950...
The bug has been raised as an issue, the link is as follows: https://github.com/CESNET/libyang/issues/2236 In versions 2.1.30 and 2.1.128, the overall process change of the lyd_create_any function resulted in the...