Create default Vxlan and Vnet configs#13409
Merged
prsunny merged 3 commits intosonic-net:masterfrom Jun 14, 2023
Merged
Conversation
8 tasks
prsunny
commented
Jan 19, 2023
| def run_script(self, argument, check_stderr=False, verbose=False, skip_yang_validation=False): | ||
| print('\n Running sonic-cfggen ' + ' '.join(argument)) | ||
| self.assertTrue(self.yang.validate(argument)) | ||
| if not skip_yang_validation: |
Contributor
Author
There was a problem hiding this comment.
Discussed in Yang community (1/19) and proposal is to add the Yang model and remove the skip validation
Collaborator
There was a problem hiding this comment.
Could you share the link addressed this issue?
lguohan
reviewed
Jan 20, 2023
Collaborator
lguohan
left a comment
There was a problem hiding this comment.
generally looks good to me, but let's finalize the plan.
Contributor
Author
|
/easycla |
qiluo-msft
reviewed
Jun 14, 2023
qiluo-msft
approved these changes
Jun 14, 2023
Collaborator
|
@prsunny PR conflicts with 202205 branch |
mssonicbld
pushed a commit
to mssonicbld/sonic-buildimage
that referenced
this pull request
Jun 15, 2023
* Create default Vxlan and Vnet configs for ToRs with Appliance Resource type
Collaborator
|
Cherry-pick PR to 202211: #15477 |
8 tasks
10 tasks
prsunny
added a commit
to prsunny/sonic-buildimage
that referenced
this pull request
Jun 15, 2023
* Create default Vxlan and Vnet configs for ToRs with Appliance Resource type
10 tasks
yxieca
pushed a commit
that referenced
this pull request
Jun 16, 2023
prsunny
added a commit
that referenced
this pull request
Jun 16, 2023
[Sonic-Config-Engine] Re-add the yang validation check accidently removed by #13409
mssonicbld
pushed a commit
to mssonicbld/sonic-buildimage
that referenced
this pull request
Jun 23, 2023
[Sonic-Config-Engine] Re-add the yang validation check accidently removed by sonic-net#13409
10 tasks
Collaborator
2 similar comments
Collaborator
Collaborator
sonic-otn
pushed a commit
to sonic-otn/sonic-buildimage
that referenced
this pull request
Sep 20, 2023
* Create default Vxlan and Vnet configs for ToRs with Appliance Resource type
sonic-otn
pushed a commit
to sonic-otn/sonic-buildimage
that referenced
this pull request
Sep 20, 2023
[Sonic-Config-Engine] Re-add the yang validation check accidently removed by sonic-net#13409
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
Create Vxlan and Vnet default configs as below for certain cases:
MSFT ADO - 24263117
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)