-
Notifications
You must be signed in to change notification settings - Fork 661
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
Add Multi ASIC support for apply-patch #3249
Add Multi ASIC support for apply-patch #3249
Conversation
The old PR's conversation is here: #3219, the old PR was mistakenly deleting commits. #Resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please check with other reviewer.
This is real db connector object, please ref this function def set_config(config_db, tbl, key, data):
config_db.set_entry(tbl, key, data) In reply to: 2037887648 Refers to: generic_config_updater/change_applier.py:73 in 60bbcfe. [](commit_id = 60bbcfe, deletion_comment = False) |
Thanks, Good point, added empty case handle which can drive YANG validation for host and all ASICs. #Resolved |
Hello, @xincunli-sonic, I'm working on the unit test codes development for this PR. Now I couldn't compile an image including your modification. The error is below. Could you help provide some hints on this? And what's the sonic-buildimage's URL and branch that you are using while developing and testing this PR?
|
What I forked the branch is an old version, if you want to test, please do some manual work to align with the latest change. |
There is a problem: the command "config apply-patch" caused some containers to exit.
|
This has been identified by a known issue when we change a conflicting lanes for a port, but it is not related with GCU change self. |
* Add Multi ASIC support for apply-patch * Add more test cases. * Ignore mock diff exception * Address comments. * Fix errors * Add empty case handle * Refactor extract scope * Fix UT * Fix extract for single asic * Adding localhost into log if scope is empty * Fix format in log * Fix log * Fix log * Fix variable
What I did
Add Multi-ASIC GCU support apply-patch.
ADO
26574257
How I did it
How to verify it
Happy case
Reverse case
Failed case
Empty case
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)