Overview of YANG


YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF), NETCONF remote procedure calls (RPCs), and NETCONF notifications.


In addition to providing devices, each vendor provides an independent device management method (for example, using different commands) to facilitate management. These management methods are independent of each other and cannot be universally used. As the network scale expands and the number of device types increases, traditional NETCONF management methods fail to meet the requirement for managing various devices. To uniformly manage, configure, and monitor various devices on the network, YANG is developed.


YANG is gradually becoming a mainstream service description language for service provisioning interfaces. It structures data models and defines attributes and values through tags. The YANG data model is a machine-oriented model interface, which defines data structures and constraints to provide more flexible and complete data description. Network administrators can use NETCONF to uniformly manage, configure, and monitor various network devices that support YANG, simplifying network O&M and reducing O&M costs.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >