yumapro  20.10-10
YumaPro SDK
YANG Type Definitions

Type definitions for leaf and leaf-list data nodes. More...

Collaboration diagram for YANG Type Definitions:

Modules

 Core Functions for YANG Types
 APIs to access compiler data strctures during compilation.
 
 Parser Functions for YANG Types
 YANG Parser functions to consume and resolve data types.
 
 YANG Type Data Structures
 Data structures for YANG type implementation.
 

Detailed Description

Type definitions for leaf and leaf-list data nodes.

    From RFC 6020, sec. 4.2.4:
       +------------------—+----------------------------------—+
       | Name                | Description                         |
       +------------------—+----------------------------------—+
       | binary              | Any binary data                     |
       | bits                | A set of bits or flags              |
       | boolean             | "true" or "false"                   |
       | decimal64           | 64-bit signed decimal number        |
       | empty               | A leaf that does not have any value |
       | enumeration         | Enumerated strings                  |
       | identityref         | A reference to an abstract identity |
       | instance-identifier | References a data tree node         |
       | int8                | 8-bit signed integer                |
       | int16               | 16-bit signed integer               |
       | int32               | 32-bit signed integer               |
       | int64               | 64-bit signed integer               |
       | leafref             | A reference to a leaf instance      |
       | string              | Human-readable string               |
       | uint8               | 8-bit unsigned integer              |
       | uint16              | 16-bit unsigned integer             |
       | uint32              | 32-bit unsigned integer             |
       | uint64              | 64-bit unsigned integer             |
       | union               | Choice of member types              |
       +------------------—+----------------------------------—+