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 TypesData TypeDescriptionbinary Binary databits Set of bitsboolean True or falsedecimal64 64-bit signed decimal numberempty No valueenumeration Enumerated stringsint8/16/32/64 Integeruint8/16/32/64 Unsigned integerstring Unicode string