Skip to content
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

[202012] [generate_dump]: Enhance show techsupport for cisco-8000 pla… #2395

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

gvlaemyn
Copy link
Contributor

…tform

  • Collect data from /usr/share/sonic/device/ and save in techsupport tarfile under sai directory

Signed-off-by: Geert Vlaemynck gvlaemyn@cisco.com

What I did

Added cisco-8000 specific platform information to "show techsupport" tarfile

How I did it

Added collect_cisco_8000 function to scripts/generate_dump which filters out the wanted files from /usr/share/sonic/device/${platform} and saves them in the techsupport tarfile under sai subdirectory

How to verify it

Run "show techsupport" and grep sai in the generated techsupport tarfile

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)

…tform

* Collect data from /usr/share/sonic/device/<platform> and save in techsupport tarfile under sai directory

Signed-off-by: Geert Vlaemynck <gvlaemyn@cisco.com>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 22, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: gvlaemyn / name: Geert Vlaemynck (8efd3a5)

@alpeshspatel
Copy link
Contributor

@neethajohn @prsunny Can you please assign reviewers. We are adding this for 202012 branch so need that tag as well as need it in 202205 and master as well.

@yxieca
Copy link
Contributor

yxieca commented Sep 26, 2022

@gvlaemyn please create an PR for master branch. If there is already an PR for master branch. We will cherry-pick that one.

We want to make sure that the change is in all branches.

@gvlaemyn
Copy link
Contributor Author

gvlaemyn commented Sep 27, 2022 via email

dprital added a commit to dprital/sonic-buildimage that referenced this pull request Oct 11, 2022
Update sonic-utilities submodule pointer to include the following:
* 94a3436 [show] vnet endpoint [ip/ipv6] command (sonic-net#2342) ([sonic-net#2421](sonic-net/sonic-utilities#2421))
* 84a0712 [VxLAN]Fix Vxlan delete command to throw error when there are references ([sonic-net#2404](sonic-net/sonic-utilities#2404))
* 1341f58 [202012] [generate_dump]: Enhance show techsupport for cisco-8000 platform ([sonic-net#2395](sonic-net/sonic-utilities#2395))

Signed-off-by: dprital <drorp@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants