Skip to content

Commit

Permalink
[generate-dump] Remove Arista specific logic (#1482)
Browse files Browse the repository at this point in the history
Cleanup review to remove Arista specific logic from generate_dump.
We now implement the vendor specific hw-management-generate-dump.sh hook which achieves the same purpose.

Signed-off-by: Samuel Angebault <[email protected]>
  • Loading branch information
Staphylo authored and daall committed Mar 12, 2021
1 parent 36606a1 commit 1117117
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -802,21 +802,6 @@ collect_broadcom() {
save_bcmcmd_all_ns "\"d chg my_station_tcam\"" "mystation.tcam.summary"
}

###############################################################################
# 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 @@ -1086,10 +1071,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

0 comments on commit 1117117

Please sign in to comment.