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...
Fri, 11 Jun, 2021 at 2:38 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 ha...
Fri, 15 May, 2020 at 9:36 AM
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...
Thu, 7 May, 2020 at 12:02 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...
Wed, 23 Dec, 2020 at 10:05 AM
How to work with Enumeration data type?
The enumeration built-in type represents values from a set of assigned names. The "enum" statement, which is a substatement to the "type&...
Fri, 15 May, 2020 at 10:51 AM