Add Multi ASIC support for apply-patch#3249
Add Multi ASIC support for apply-patch#3249xincunli-sonic merged 14 commits intosonic-net:masterfrom xincunli-sonic:xincun/multiasic-gcu
Conversation
|
The old PR's conversation is here: #3219, the old PR was mistakenly deleting commits. #Resolved |
wen587
left a comment
There was a problem hiding this comment.
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) |
|
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
* 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)