Add decorator for Yang default value. #713
Merged
liuh-80 merged 6 commits intosonic-net:masterfrom Nov 22, 2022
Merged
Conversation
Contributor
Contributor
Author
qiluo-msft
approved these changes
Nov 21, 2022
StormLiangMS
pushed a commit
to StormLiangMS/sonic-swss-common
that referenced
this pull request
Dec 11, 2022
#### Why I did it Support sonic-swss-common read Yang model defaut value. #### How I did it Add decorator for Yang default value. #### How to verify it Add new UT to cover new decorate code. Pass all UT and E2E test cases. #### Which release branch to backport (provide reason below if selected) <!-- - Note we only backport fixes to a release branch, *not* features! - Please also provide a reason for the backporting below. - e.g. - [x] 202006 --> - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 #### Description for the changelog Add decorator for Yang default value. #### Link to config_db schema for YANG module changes <!-- Provide a link to config_db schema for the table for which YANG model is defined Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration. --> #### A picture of a cute animal (not mandatory but encouraged)
StormLiangMS
added a commit
that referenced
this pull request
Dec 11, 2022
Cherry-pick from master branch f312634 - Install swsscommon.i with libswsscommon-dev (Install swsscommon.i with libswsscommon-dev #717) (6 minutes ago) [ganglv] 61b7888 - Use SWIGPYTHON to improve SWIG for GO wrapper. (Use SWIGPYTHON to improve SWIG for GO wrapper. #714) (6 minutes ago) [ganglv] 1c10dac - Add decorator for Yang default value. (Add decorator for Yang default value. #713) (6 minutes ago) [Hua Liu]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
Support sonic-swss-common read Yang model defaut value.
How I did it
Add decorator for Yang default value.
How to verify it
Add new UT to cover new decorate code.
Pass all UT and E2E test cases.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Add decorator for Yang default value.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)