Skip to content

Extend show tech to gather sonic core dumps and resource diagnostics#1403

Draft
pau-hedgehog wants to merge 2 commits intomasterfrom
pau/show-tech-core-dump
Draft

Extend show tech to gather sonic core dumps and resource diagnostics#1403
pau-hedgehog wants to merge 2 commits intomasterfrom
pau/show-tech-core-dump

Conversation

@pau-hedgehog
Copy link
Copy Markdown
Contributor

No description provided.

@pau-hedgehog pau-hedgehog requested a review from Copilot February 2, 2026 14:09
@pau-hedgehog pau-hedgehog self-assigned this Feb 2, 2026
@pau-hedgehog pau-hedgehog requested a review from a team as a code owner February 2, 2026 14:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the show tech functionality to collect additional diagnostic information from switches, including sonic core dumps and critical resource monitoring data.

Changes:

  • Added collection of systemd core dumps from switches
  • Enhanced diagnostic output with CRM resource monitoring and additional MAC/route statistics
  • Modified collectShowTech function signature to accept VM type for conditional processing

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pkg/hhfab/vlabhelpers.go Added vmType parameter to collectShowTech function and implemented conditional core dump collection for switches
pkg/hhfab/show-tech/switch.sh Extended diagnostic script with MAC address counts, route summaries, CRM resources, and systemd core dump extraction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/hhfab/show-tech/switch.sh Outdated
Comment thread pkg/hhfab/show-tech/switch.sh
@pau-hedgehog pau-hedgehog marked this pull request as draft February 2, 2026 14:14
@pau-hedgehog pau-hedgehog changed the title Extend show tech to gather sonic code dumps and resource diagnostics Extend show tech to gather sonic core dumps and resource diagnostics Feb 2, 2026
Signed-off-by: Pau Capdevila <pau@githedgehog.com>
@pau-hedgehog pau-hedgehog force-pushed the pau/show-tech-core-dump branch from c25555a to 86dc7d6 Compare February 2, 2026 16:26
Signed-off-by: Pau Capdevila <pau@githedgehog.com>
@pau-hedgehog pau-hedgehog force-pushed the pau/show-tech-core-dump branch from 86dc7d6 to d2621e6 Compare February 2, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants