libyang
libyang copied to clipboard
YANG data modeling language library
It seems that some `must` violations are reported before the `mandatory` violations. For example, in this model: ```yang module wtf { yang-version 1.1; namespace "wtf"; prefix "wtf"; container channel-plan {...
For the following `test.yang` ``` module test { yang-version 1.1; namespace "urn:ietf:params:xml:ns:test"; prefix "test"; container foo { leaf x { type uint8; } container bar { must "y < ../x";...
Hi,I'm running into some peculiar behavior about the leaf with **identityref** type while using lyd_parse_op() and I just want to check whether this is expected or not. My YANG model:...
https://github.com/CESNET/libyang/blob/7e5ea21030fe6632b6faad30c0de8d9669503773/src/schema_compile_node.c#L1643C20-L1643C20 Hi, I use valgrind to run my program's testcase, and it report such : ==3455252== 40 bytes in 1 blocks are possibly lost in loss record 945 of 2,427...
Hello, as the title says, I compiled the Windows version of libyang according to the required environment, but many problems occurred. Can the author give more compilation guidance related to...
Hi, I have some security restriction on my product for some special leaf like `password`: 1. When the memory of `password` is freed, the content should also be cleared; 2....
Hello! Are you planning tu support CBOR? Or, if I went for implementing it, could you please give me a little guidance what to implement? I'd naturally look into how...
curently I have this; but calling `delete node` is crashing ``` DataNodeImpl::~DataNodeImpl() { lyd_free_withsiblings(m_node); } ```
Hi, I'm using Libyang version 2.1.4 The example data tree i'm working on: ``` module: examples +--rw cont +--rw l? string +--rw config +--rw list1* [key1] +--rw key1 string +--rw...
Trying to the see the current date and time represented in original timezone. Tested using netopeer2-server and netopeer2-cli and the model [email protected] The server send correctly: 2023-10-18T21:57:21+09:30 but in the...