Skip to content

SONiC YANG Subgroup

anshuv-mfst edited this page Apr 29, 2021 · 4 revisions

Welcome to YANG Subgroup

Subgroup goal is to support YANG models for SONIC and act as governing body for new YANG models as they are added in SONiC.

SONiC YANG Guideline document

SONiC Community

  • Any change to Config_db schema MUST include YANG model schema change
  • PR covering YANG model update MUST be reviewed and approved by YANG subgroup

YANG Model PRs
If you have a change in config_db or have created PR for YANG model changes, please follow following steps:

  1. Create PR covering YANG model changes
  2. Please send notification to sonic-yang-subgroup@googlegroups.com alias.
  3. Label "Yang" will be added to your PR and will be scheduled for review in YANG subgroup.
  4. Please join YANG subgroup meeting (Thursday 10:00-11:00am pst) for presenting your PR.
  5. Please view the status of YANG PRs on YANG Project Tracker

Subgroup Recordings

Meeting Recordings

YANG Tables:

Sonic Table Yang exists Yang model Name
1 DEVICE_METADATA:localhost Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-device_metadata.yang
2 MAP_PFC_PRIORITY_TO_QUEUE N
3 QUEUE N
4 WRED_PROFILE N
5 SCHEDULER N
6 PORTCHANNEL Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-portchannel.yang
7 FLEX_COUNTER_TABLE Y sonic-buildimage/sonic-flex_counter.yang at master · Azure/sonic-buildimage (github.com)
8 PORT Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-port.yang
9 CRM Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-crm.yang
10 BUFFER_PG N
11 BGP_NEIGHBOR N https://github.com/Azure/sonic-buildimage/blob/cfd09bf06df6e495ab594bba6211d75daa680b72/src/sonic-yang-models/yang-models/sonic-bgp-neighbor.yang
12 INTERFACE Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-interface.yang
13 PFC_WD N
14 PORT_QOS_MAP N
15 MGMT_INTERFACE N
16 BUFFER_QUEUE N
17 TC_TO_PRIORITY_GROUP_MAP N
18 DEVICE_NEIGHBOR_METADATA N https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-device_neighbor.yang
19 TELEMETRY N
20 FEATURE_TABLE N
21 DSCP_TO_TC_MAP N
22 LOOPBACK_INTERFACE Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-loopback-interface.yang
23 RESTAPI N
24 VERSION Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-versions.yang
25 ACL Y https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-acl.yang
26 CABLE_LENGTH N
27 BUFFER_PROFILE N
28 VLAN Y
AAA/TACACS N
BGP Y https://github.com/Azure/sonic-buildimage/blob/cfd09bf06df6e495ab594bba6211d75daa680b72/src/sonic-yang-models/yang-models/sonic-bgp-global.yang
DHCP Relay N
MUX N
SYSLOG N
LLDP N
NAT N
Breakout_config Y https://github.com/Azure/sonic-buildimage/blob/be3d4e9a81f9306c4d320723a4cbc4674e1dc050/src/sonic-yang-models/yang-models/sonic-breakout_cfg.yang
Sonic extension N
COPP Y https://github.com/Azure/sonic-buildimage/blob/5c0980cfb3ca2d817fb7d660fa443bb545388391/src/sonic-yang-models/yang-models/sonic-copp.yang
Clone this wiki locally