Skip to content

[sonic-cfggen]: Update test minigraph to add deployment_id#9593

Merged
ganglyu merged 2 commits intosonic-net:masterfrom
ganglyu:deployment_id
Dec 21, 2021
Merged

[sonic-cfggen]: Update test minigraph to add deployment_id#9593
ganglyu merged 2 commits intosonic-net:masterfrom
ganglyu:deployment_id

Conversation

@ganglyu
Copy link
Copy Markdown
Contributor

@ganglyu ganglyu commented Dec 20, 2021

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

Why I did it

Config db schema generated from test minigraph can't pass yang validation.

How I did it

Update minigraph xml to add DeploymentId.

How to verify it

Build sonic-config-engine.
Run command 'sonic-cfggen -m xxx.xml --print-data', and check deployment_id field.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Fix #9550

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

@ganglyu ganglyu requested a review from lguohan as a code owner December 20, 2021 06:27
@ganglyu ganglyu requested a review from qiluo-msft December 20, 2021 06:27
@ganglyu ganglyu merged commit 67e40b5 into sonic-net:master Dec 21, 2021
@ganglyu ganglyu added the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 6, 2022
judyjoseph pushed a commit that referenced this pull request Jan 9, 2022
Why I did it
Config db schema generated from test minigraph can't pass yang validation.

How I did it
Update minigraph xml to add DeploymentId.

How to verify it
Build sonic-config-engine.
Run command 'sonic-cfggen -m xxx.xml --print-data', and check deployment_id field.

Signed-off-by: Gang Lv [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Included in 202111 Branch Request for 202111 Branch For PRs being requested for 202111 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[yang-models] device_metadata validation issue

3 participants