-
Notifications
You must be signed in to change notification settings - Fork 543
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
orchagent for generate SAI debug dump file #3301
Open
aviramd
wants to merge
10
commits into
sonic-net:master
Choose a base branch
from
Marvell-switching:SAI_DBG_GEN_DUMP_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
orchagent for generate SAI debug dump file #3301
aviramd
wants to merge
10
commits into
sonic-net:master
from
Marvell-switching:SAI_DBG_GEN_DUMP_support
Conversation
This file contains 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
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.
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
aviramd
changed the title
add orchagent for debug generate dump
orchagent for generate SAI debug dump file
Nov 6, 2024
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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