Skip to content

Commit 47d1a14

Browse files
authored
[generate-dump] Remove Arista specific logic (sonic-net#1482)
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]>
1 parent 1260f90 commit 47d1a14

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

scripts/generate_dump

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -854,21 +854,6 @@ collect_broadcom() {
854854
copy_from_masic_docker "syncd" "/var/log/bcm_diag_post" "/var/log/bcm_diag_post"
855855
}
856856

857-
###############################################################################
858-
# Collect Arista specific information
859-
# Globals:
860-
# None
861-
# Arguments:
862-
# None
863-
# Returns:
864-
# None
865-
###############################################################################
866-
collect_arista() {
867-
save_cmd "cat /proc/scd" "scd"
868-
save_cmd "arista syseeprom" "arista.syseeprom"
869-
save_cmd "arista dump" "arista.dump"
870-
}
871-
872857
###############################################################################
873858
# Save log file
874859
# Globals:
@@ -1148,10 +1133,6 @@ main() {
11481133
collect_broadcom
11491134
fi
11501135

1151-
if $GREP -qi "aboot_platform=.*arista" /host/machine.conf; then
1152-
collect_arista
1153-
fi
1154-
11551136
# 2nd counter snapshot late. Need 2 snapshots to make sense of counters trend.
11561137
save_counter_snapshot $asic 2
11571138

0 commit comments

Comments
 (0)