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...
Thu, 24 Feb, 2022 at 7:48 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...
Thu, 24 Feb, 2022 at 7:44 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...
Thu, 24 Feb, 2022 at 7: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...
Thu, 24 Feb, 2022 at 7:20 PM
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