This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/sonic-yang-models
ohu1 459d3d1f55
SONiC QoS MAPs and PORT_QOS_MAP Yang (#7375)
Why I did it
Created SONiC Yang model for the following QOS MAPs and PORT QOS MAP:
DSCP_TO_TC_MAP
DOT1P_TO_TC_MAP
TC_TO_QUEUE_MAP
TC_TO_PRIORITY_GROUP_MAP
MAP_PFC_PRIORITY_TO_QUEUE
PORT_QOS_MAP

How I did it
Defined Yang models for QOS MAPs based on Guideline doc:
https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md
and
https://github.com/Azure/sonic-utilities/blob/master/doc/Command-Reference.md

How to verify it
sonic_yang_models package build
The infra code was modified to handle the nested list definition in YANG and translate it to a flat list in DB.
2021-10-19 12:50:07 -07:00
..
tests SONiC QoS MAPs and PORT_QOS_MAP Yang (#7375) 2021-10-19 12:50:07 -07:00
yang-models SONiC QoS MAPs and PORT_QOS_MAP Yang (#7375) 2021-10-19 12:50:07 -07:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
AUTHORS.rst [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
LICENSE [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
README.rst [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
setup.cfg [sonic-yang-mgmt] Build PY3 & PY2 packages (#5559) 2020-11-07 13:03:41 -08:00
setup.py SONiC QoS MAPs and PORT_QOS_MAP Yang (#7375) 2021-10-19 12:50:07 -07:00

"
This Package contains YANG models for sonic which are written with guidelines mentioned in
https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md.
"