YANG Data Nodes

Accessing and creating YANG Data Nodes Internal representation: val_value_t struct

How can I tell if the running config has changed since the last startup?
At init time: cfg_template_t *cfg = cfg_get_config_id(NCX_CFGID_RUNNING); ncx_transaction_id_t save_id = cfg->cur_txid; Later, get the cur_txid again...
Mon, 2 Apr, 2018 at 3:47 PM
How do I tell which member type in a union matched?
YANG provides the "union" data type which is processed by matching values against each member type.   type union { type int32; ...
Mon, 2 Apr, 2018 at 3:48 PM
What is the yp-system library?
The yp-system library provides easy vendor integration with the netconfd-pro server. Use the yp-system library functions, found in the YumaPro Server ...
Tue, 11 Sep, 2018 at 6:33 PM
Does the netconfd-pro server delete the parent NP container when the last child node is deleted?
  [RFC4741] 7.5.8.  NETCONF <edit-config> Operations    Containers can be created, deleted, replaced, and modified through    <edit-confi...
Wed, 6 Sep, 2017 at 3:37 PM
How do I find the referenced object of a leafref object?
Question: Is there a simple function to find the referenced object of a leafref object?   e.g.   leaf a     type string;   leaf b    t...
Mon, 2 Apr, 2018 at 3:49 PM
How do I insert or move list entries?
The 'insert' command is used to insert or move YANG list or leaf-list data into a NETCONF database. It is a high level command that utilizes t...
Mon, 2 Apr, 2018 at 3:50 PM
How to set a decimal64 number
The internal data type ncx_num_t is used to store numeric types such as decimal64 The file ncx/ncx_num.c contains access functions for ncx_num_t. ...
Mon, 2 Apr, 2018 at 3:50 PM
How do I construct a data tree for a YANG list?
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
How to covert Leafref node to a real value node in RPC SIL
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 s...
Mon, 2 Apr, 2018 at 3:51 PM
How do I construct a data node for a YANG leaf-list?
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, 2 Apr, 2018 at 3:52 PM