.YANG 文件扩展名
YANG Module
| 开发者 | Internet Engineering Task Force |
| 受欢迎程度 |
2.0 | 1 票 |
什么是 YANG 文件?
A YANG file is a data model written in the Yet Another Next Generation (YANG) data modeling language. It contains network element configuration data or state data structured using an XML tree format. YANG files are used to define how data is sent over network management protocols, such as Network Configuration Protocol (NETCONF) and RESTCONF.
更多信息
NETCONF is a network management protocol that was developed by the Internet Engineering Task Force (IETF). The IETF published NETCONF's initial specifications in 2006. After developing NETCONF, the IETF determined it needed a data modeling language that could be used to define data models manipulated by NETCONF. Thus, the IETF created the YANG data modeling language.
Data models written using YANG are saved as YANG files. Each YANG data model declares a namespace and a prefix before importing the YANG library module (ietf-yang-types). It then defines the data types, containers, lists, and leafs (items) that the data model includes.
如何打开 YANG 文件
You can open a YANG file in any text or source code editor, such as Microsoft Visual Studio Code (cross-platform). However, it is best to open YANG files in dedicated YANG module editors, such as MG-SOFT Visual YANG Designer (cross-platform). YANG module editors include helpful features that make editing YANG files easier.