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] Remove Arista specific logic #1482

Merged
merged 1 commit into from
Mar 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -854,21 +854,6 @@ collect_broadcom() {
copy_from_masic_docker "syncd" "/var/log/bcm_diag_post" "/var/log/bcm_diag_post"
}

###############################################################################
# Collect Arista specific information
# Globals:
# None
# Arguments:
# None
# Returns:
# None
###############################################################################
collect_arista() {
save_cmd "cat /proc/scd" "scd"
save_cmd "arista syseeprom" "arista.syseeprom"
save_cmd "arista dump" "arista.dump"
}

###############################################################################
# Save log file
# Globals:
Expand Down Expand Up @@ -1148,10 +1133,6 @@ main() {
collect_broadcom
fi

if $GREP -qi "aboot_platform=.*arista" /host/machine.conf; then
collect_arista
fi

# 2nd counter snapshot late. Need 2 snapshots to make sense of counters trend.
save_counter_snapshot $asic 2

Expand Down