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

I am trying to compile rousette (in an yocto environment, cross-compiling). Meanwhile a lot progress, but 1 link error remains: lyd_free_meta_single is reported as unresolved ``` | /builds/xxx/imagebuilder2-imx8mp/build/tmp-ampliphy-xxx/work/cortexa53-crypto-phytec-linux/rousette/1.0.0/recipe-sysroot-native/usr/bin/aarch64-phytec-linux/../../libexec/aarch64-phytec-linux/gcc/aarch64-phytec-linux/13.3.0/ld: /builds/xxx/imagebuilder2-imx8mp/build/tmp-ampliphy-xxx/work/cortexa53-crypto-phytec-linux/rousette/1.0.0/recipe-sysroot/usr/lib/libsysrepo-cpp.so: undefined...

is:question

I cloned from the master branch and built from source and installed to the default /usr/local. Using yang-rs, it is looking for the library lyang.pc. I cannot find this anywhere....

is:question

rfc6243: ![Image](https://github.com/user-attachments/assets/8d98cb37-92b6-4d83-b684-13a0ac76bca1) I understand that default is defined in the urn:ietf:params:xml:ns:netconf:default:1.0 namespace, but currently libyang2 incorrectly uses the urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults namespace for default. The related error implementation includes parsing, printing, and...

is:bug
status:completed

When I use the lyd_new_path interface of libyang2, there is a certain probability that the program will crash, and the corresponding stack information is as follows: ``` Thread 102 "tNCSess02"...

is:bug

I've tried to validate the example in RFC 8791 using yanglint but without a success, is yang structures fully supported for data and schema or schema only? This the examples...

is:enhancement
status:completed

Hi , Is there any way i can findout xpath pointing to leaf node or container in libyang before applying data ? Regard palani

is:question

``` (gdb) bt #0 0x00007ffff11cd63a in lyht_dup_inst_ht_equal_cb (val1_p=, val2_p=0x9332f8, mod=0 '\000', UNUSED_cb_data=0x0) at /tmp/build_libyang/src/src/tree_data_common.c:65 #1 0x00007ffff11b6397 in lyht_find_rec (ht=0x9204e0, val_p=val_p@entry=0x7fffffffbd50, hash=0, mod=mod@entry=0 '\000', crec_p=crec_p@entry=0x0, col=col@entry=0x0, rec_p=0x7fffffffbd18) at /tmp/build_libyang/src/src/hash_table.c:272 #2 0x00007ffff11b621e...

is:bug

Motivation: consider the structure with list hierarchy: ``` container earth { list country { key name; leaf name {....}; list city { key name; ...... ``` and you want to...

Since 79a5da39846e7dd0f7ad1ea916d23cf988d6283c I'm getting the following test failure: ``` 63/63 Test #61: yanglint_interactive ..............***Failed 8.56 sec Tests running in interp: /nix/store/vkxvc58f4yikbbqna4sps9dxq1qbrrrr-tcl-8.6.15/bin/tclsh Tests located in: /home/jkt/work/cesnet/gerrit/github/CESNET/libyang/tests/yanglint/interactive Tests running in: /home/jkt/work/prog/_build/czechlight-clang19-asan-ubsan/libyang/tests/yanglint Temporary...

is:bug
status:completed

Hi, When any node parsed with invalid value libyang parses it as an opaque node and on netopeer2-cli the edit-config operation does not throws any error. Now we have a...

is:question