A NETCONF server may implement a number of
modules, which is the most common implementation for
the Cisco devices that support NETCONF, or it might
implement only one module that defines all the available
data.
YANG is expressed in XML, meaning that an instance of
a YANG model is an XML document.
YANG defines a set of built-in types and has a
mechanism through which additional types can be
defined. There are more than 20 base types to start with,
including the ones in Table 12-3.
Table 12-3 YANG Built-in Data Types
Data TypeDescription
binary Binary data
bits Set of bits
boolean True or false
decimal64 64-bit signed decimal number
empty No value
enumeration Enumerated strings
int8/16/32/64 Integer
uint8/16/32/64 Unsigned integer
string Unicode string