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

[generate_dump]: Enhance show techsupport for cisco-8000 platform #2403

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

gvlaemyn
Copy link
Contributor

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)

Signed-off-by: Geert Vlaemynck <gvlaemyn@cisco.com>
@yxieca
Copy link
Contributor

yxieca commented Oct 3, 2022

@gvlaemyn please add unit test.

@alpeshspatel
Copy link
Contributor

Hi @yxieca I have opened #2432 for this.

I cannot assign the issue to Geert.
Can you please do the needful on the current issue and merge in master when possible.

@alpeshspatel
Copy link
Contributor

@yxieca can you merge this PR in master? Geert will tackle the unit-test via the separate issue.

@yxieca yxieca merged commit abd5eba into sonic-net:master Oct 13, 2022
mdanish-kh pushed a commit to hamnarauf/sonic-utilities that referenced this pull request Oct 22, 2022
…nic-net#2403)

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

Signed-off-by: Geert Vlaemynck <gvlaemyn@cisco.com>
@alpeshspatel
Copy link
Contributor

@yxieca Is this PR not merged in 202205 yet?

preetham-singh pushed a commit to preetham-singh/sonic-utilities that referenced this pull request Nov 21, 2022
…nic-net#2403)

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

Signed-off-by: Geert Vlaemynck <gvlaemyn@cisco.com>
@yxieca
Copy link
Contributor

yxieca commented Nov 28, 2022

@yxieca Is this PR not merged in 202205 yet?

@alpeshspatel , No. I cannot cherry-pick this change cleanly. Can you or @gvlaemyn create an PR for 202205 branch?

@alpeshspatel
Copy link
Contributor

sure @yxieca , either @gvlaemyn or I will do that and reach out to you.

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.

3 participants