YANG is a data modeling language used to model configuration and state data as published in RFC 6020. The Representational State Transfer Configuration Protocol (RESTCONF) interface supports YANG models defined by standards bodies and community groups such as IETF and OpenConfig, as well as native YANG models. Some aspects of the data model to note:
Callout | Description |
---|---|
1 | Module name |
2 | Data type |
3 | Leaf |
4 | List |
5 | Container |
To see the published YANG model tree, URLs for each supported YANG model, and the complete JSON for the YANG model, go to RESTCONF Reference Documentation.
Modules |
|
---|---|
OpenConfig |
Relay Agent (DHCP support) |
OpenConfig |
Interfaces Port: POE, port attributes, such as auto-sense, default-vlan-id, flex-uni, qos, untag-port-default-vlan |
OpenConfig |
Interfaces LAG: attributes, such as flex-uni |
OpenConfig |
Interfaces VLAN: IPv4 configuration |
OpenConfig |
Platform: ports, CPU, fans, power supply, optical devices - GET operations only |
OpenConfig |
Network Instance: VLAN interface - VRF association, CVLAN I-SID, IS-IS redistribute direct, IPVPN, I-SID, and IP DHCP relay forward path) |
OpenConfig |
STP: STP global information and port interface bpduguard state, RSTP global and port level information, MSTP global, MST instance level state - GET operations only |
OpenConfig |
System (aaa) |
OpenConfig |
LLDP |
OpenConfig |
VLAN |
Data model | Description |
---|---|
ietf-interfaces | Contains a collection of YANG definitions for managing network interfaces. |
Data model | Description |
---|---|
extreme-virtual-service | Defines data for managing Extreme virtual services. |
extreme-network-service | Defines data for managing Extreme network services. |