YANG Data Types

Describes how to handle different YANG Data Types. How to set the value, what error to expect on failures, how to get the value in the SIL code

How to work with Binary data type?
Binary data type represents binary data, for example, sequence of octets. A binary type can be restricted with the "length"  statement. The length...
Mon, 5 Aug, 2019 at 5:18 PM
How to work with Bits data type?
A bits built-in type represents a bit set.  A bits value is a set of flags identified by small integer position numbers starting at 0.  Each bit number h...
Mon, 5 Aug, 2019 at 5:17 PM
How to work with Leafref data type?
The leafref type is restricted to the value space of some leaf or leaf-list node in the schema tree and optionally further restricted by corresponding insta...
Mon, 5 Aug, 2019 at 5:29 PM
How to work with Union data type?
The union built-in type represents a value that corresponds to one of its member types. Type statement is repeatedly used to specify each member type of the...
Mon, 5 Aug, 2019 at 5:37 PM