libyang
libyang copied to clipboard
YANG data modeling language library
hi, we are using latest libyang 2.0.194 (also corresponding latest netopeer2). during the test I have seen that the following logs printing: ``` 1 2022-06-26T02:29:04.426406+00:00 netopeer2-server 15 - - Event...
Hi, please consider the following two YANG schema modules: ~~~ module test-deviation { namespace "urn:test:deviation"; prefix test-dev; identity base-identity-delete; identity derived-identity1-delete { base base-identity-delete; } identity derived-identity2-delete { base base-identity-delete;...
Using the yanglint-tool we can do nice things in interactive mode such as: > add a.yang > data -t config a.xml > add b.yang > data -t edit b.xml This...
Hi. ``` typedef listen-ipv6-address { type inet:ipv6-address-no-zone; default "::0"; } ``` If i try to store a value in a leaf of type `inet:ipv6-address`, the plugin callback `lyplg_type_store_ipv6_address_no_zone()` is correctly...
HI, I'm trying to generate the custom deb packages for bionic(ubuntu 18.04.5) (with custom option)using tag/v2.0.194 branch, make **build-deb** target is not generating, using the following steps: **Dependent packages installed**...
Currently, the (internal) extension plugins check for the correct placing of the extension instances. This is done in the `compile` callback. The limitation of this approach is that not all...
``` libyang-2.0.194/src/plugins_types/date_and_time.c:125:13: error: use of undeclared identifier 'daylight' if (daylight) { ^ 2 warnings and 1 error generated. ``` fix: ```patch --- CMakeModules/UseCompat.cmake.orig 2022-05-26 18:50:41.811402000 +0200 +++ CMakeModules/UseCompat.cmake 2022-05-26 18:50:55.845563000...
Related issue - #1822 If the node type is a `LYS_LEAFLIST`, then the code checks for `'['` to ensure the input has the begin array square brackets and then the...
While the error message was accurate, it was not as helpful as it could be. Before: ``` libyang warn: Argument #1 of xpath_deref is a list node "amplifier". ``` Now:...
Today, libyang only supports XPATH expressions. There is a need to alternatively support RESTCONF compliant path expression, as specified in rfc8040. XPATH expression example: `/nokia-conf:configure/port[port-id=1/1/1]` Corresponding RESTCONF URL syntax `/nokia-conf:configure/port=1%2F1%2F1`...