Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

ganglyu
Copy link
Contributor

@ganglyu ganglyu commented Apr 18, 2022

Signed-off-by: Gang Lv [email protected]

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)

@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