Skip to content

Add YANG validation for config reload if file is given#3576

Merged
wen587 merged 5 commits intosonic-net:masterfrom
wen587:reload_yang
Oct 21, 2024
Merged

Add YANG validation for config reload if file is given#3576
wen587 merged 5 commits intosonic-net:masterfrom
wen587:reload_yang

Conversation

@wen587
Copy link
Contributor

@wen587 wen587 commented Oct 15, 2024

ADO:29948924

What I did

Add constraint for YANG when config reload, which is already enabled in load_minigraph

How I did it

Check YANG vaidation for the config

How to verify it

Unit test

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

xincunli-sonic
xincunli-sonic previously approved these changes Oct 16, 2024
@wen587 wen587 requested a review from ganglyu October 17, 2024 01:10
@wen587 wen587 merged commit 89bb87a into sonic-net:master Oct 21, 2024
mssonicbld pushed a commit to mssonicbld/sonic-utilities that referenced this pull request Oct 21, 2024
What I did
Add constraint for YANG when config reload, which is already enabled in load_minigraph

How I did it
Check YANG vaidation for the config

How to verify it
Unit test
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #3581

mssonicbld pushed a commit that referenced this pull request Oct 21, 2024
What I did
Add constraint for YANG when config reload, which is already enabled in load_minigraph

How I did it
Check YANG vaidation for the config

How to verify it
Unit test
oleksandrivantsiv added a commit to oleksandrivantsiv/sonic-utilities that referenced this pull request Nov 9, 2024
wen587 added a commit to wen587/sonic-utilities that referenced this pull request Dec 5, 2024
nmoray pushed a commit to nmoray/sonic-utilities that referenced this pull request Jun 25, 2025
What I did
Add constraint for YANG when config reload, which is already enabled in load_minigraph

How I did it
Check YANG vaidation for the config

How to verify it
Unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants