Skip to content

[yang]: Update yang models to support 'cluster'#10597

Merged
ganglyu merged 2 commits intosonic-net:202111from
ganglyu:metadata_cluster_202111
Apr 21, 2022
Merged

[yang]: Update yang models to support 'cluster'#10597
ganglyu merged 2 commits intosonic-net:202111from
ganglyu:metadata_cluster_202111

Conversation

@ganglyu
Copy link
Copy Markdown
Contributor

@ganglyu ganglyu commented Apr 18, 2022

Signed-off-by: Gang Lv ganglv@microsoft.com

Why I did it

Minigraph parser added a new field 'cluster' to device_metadata, and then yang validation is blocked.

How I did it

Add 'cluster' to device_metadata yang models.

How to verify it

Run UT for sonc-yang-models.
Use minigraph parser to generate ConfigDB schema and run yang validation.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

#9806
There is merge conflict in 202111, need a separate PR

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Gang Lv ganglv@microsoft.com
@ganglyu ganglyu added the YANG YANG model related changes label Apr 18, 2022
@ganglyu ganglyu requested a review from qiluo-msft as a code owner April 18, 2022 07:45
@ganglyu ganglyu merged commit a459739 into sonic-net:202111 Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

YANG YANG model related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants