Hi Team – please find meeting notes from SONiC YANG subgroup meeting below:
Meeting Notes (1/28/2021)
1) SONiC YANG Guideline document: https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md
2) Went over example of YANG model [AI: Praveen to share pointer to the Wiki]
3) Is there plan to add YANG model for BGP? Yes, YANG model is planned for Routing.
a. Option#1: DELL team has defined configDB schemas for FRR including YANG model, refer below:
· BGP config DB schemas: https://github.com/Azure/SONiC/pull/544
· PR handles the config DB events (schemas defined based on above HLD) in BGP container to configure FRR: https://github.com/Azure/sonic-buildimage/pull/5142
b. Option#2: Leverage YANG model developed by FRR
4) [Attention: SONiC Community] YANG Subgroup is an initiative to standardize YANG model
i. Any change to ConfigDB schema MUST include YANG model schema change
ii. PR covering YANG model update MUST be reviewed and approved by YANG subgroup
iii. HLD approval can be BLOCKED if YANG model is not reviewed and approved by YANG subgroup
5) Housekeeping:
Common place/repo for hosting all YANG models
6) To validate YANG, We can check:
If a given config in ABNF.json (sonic config) format can be written in a format as specified in RFC 7951 using the new YANG model.
So steps Develop will take:
a.) Write a new yang model.
b.) update sample_configDB.json file with SONiC config related to this YANG model [AI: Praveen will raise a PR to add sample_configDB.json]
c.) Then Build YANG PKGs. i.e. sonic-yang-models and sonic-yang-mgmt. At build time, Package sonic-yang-mgmt internally tries to load sonic config and creates data tree using new YANG models.
Next week Agenda 02/04/2021:
Missed YANG Subgroup meeting?
All meeting recordings will be published here: https://www.opencompute.org/wiki/Networking/SONiC
Thank You,
Anshu
(Correction – minor formatting issue)
Hi Team – please find meeting notes from SONiC YANG subgroup meeting below:
Meeting Notes (1/28/2021)
1) SONiC YANG Guideline document: https://github.com/Azure/SONiC/blob/master/doc/mgmt/SONiC_YANG_Model_Guidelines.md
2) Went over example of YANG model [AI: Praveen to share pointer to the Wiki]
3) Is there plan to add YANG model for BGP? Yes, YANG model is planned for Routing.