-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[202012] [generate_dump] allow to extend dump with plugin scripts (#1945
) #### What I did Added support for tech support extension scripts, by cherry-picking of #1335 to branch 202012 The purpose is to have dumps of extensions in SONiC techsupport, even without App Extension infrastructure. The new application will write a file that contains the dump command into /usr/bin/debug-dump folder, and it will appear in the output of `show techsupport` command. #### How I did it It looks at /usr/bin/debug-dump for scripts, if it finds one it will execute them and save the output to dump/ folder. #### How to verify it Write a simple scripts that outputs something and place it under /usr/bin/debug-dump/
- Loading branch information
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
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