orchagent for generate SAI debug dump file#3301
Open
aviramd wants to merge 10 commits intosonic-net:masterfrom
Open
orchagent for generate SAI debug dump file#3301aviramd wants to merge 10 commits intosonic-net:masterfrom
aviramd wants to merge 10 commits intosonic-net:masterfrom
Conversation
This update introduces support for the sai_dbg_gen_dump API The general process is as follows: The filename is written to configDB. This action triggers the dbgGenDumpOrch to write the necessary data to ASIC DB. The syncd process reads from ASIC DB and invokes the SAI. SAI processes the request and returns a response. syncd writes the response back to redis. dbgGenDumpOrch retrieves the response and informs the caller by writing to configDB. The caller then removes the data from configDB.
Collaborator
|
Please link HLD and also associated tests. Suggest move this to draft until then |
Signed-off-by: aviramd <aviramd@marvell.com>
…-switching/sonic-swss into SAI_DBG_GEN_DUMP_support
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
This update enables the generation of a SAI debug dump file.
A new orchestration agent,
DbgGenDumpOrch, has been introduced, which is triggered by updates in the APPL DB . It updates syncd by writing to the ASIC DB and waits for a response. Once received, it writes the result back to the APPL DB, allowing the calling application to retrieve the file.HLD: sonic-net/SONiC#1846
What I did
Why I did it
How I verified it
Details if related