YANG Data Tree Handling
Accessing and creating YANG Data Nodes Internal representation: val_value_t struct
YANG provides the "union" data type which is processed by matching values against each member type. type union {
type int32;
typ...
Fri, 8 Feb, 2019 at 2:13 PM
GET: Return a decimal64 Value to the Client The most common usage of the decimal64 data type is for operational data or RPC operation output data. In al...
Tue, 2 Mar, 2021 at 9:13 AM
The following examples illustrates how to construct a list data node. The list nodes have several limitations and special handling nuances. The following li...
Thu, 17 May, 2018 at 1:04 PM
When there is a Leafref node in a RPC input, the server will pass to the SIL code a value of Leafref type, where it's fields in val->v are not set. ...
Fri, 8 Feb, 2019 at 2:16 PM
The following examples illustrates how to construct a simple leaf-list data node. The leaf-list nodes can be constructed the same way as regular leaf nodes...
Mon, 31 Jan, 2022 at 10:33 AM
The following examples illustrates how to construct a simple leaf data node. There are multiple ways to construct leaf nodes depending on what information y...
Mon, 31 Jan, 2022 at 10:23 AM
The following examples illustrates how to construct a container data node. The container nodes can be constructed different ways depending whether it is a ...
Mon, 2 Apr, 2018 at 3:53 PM
The normal APIs for creating values expect a zero-terminated string, so they cannot be used for creating a YANG leaf with the binary type. Use the val_m...
Fri, 8 Feb, 2019 at 2:18 PM
In this article the following simple YANG data model will be used for illustration: module example {
namespace "http://www.yumaworks.com/ns/examp...
Thu, 22 Aug, 2019 at 8:32 PM
If the val_value_t node represents a leaf or a leaf-list node and its value can be converted to a string format then the following API can be used to malloc...
Wed, 24 Jul, 2019 at 8:05 PM