From 47d1a142dd1f7f5e7cd796dbf49abe17d4b75bfa Mon Sep 17 00:00:00 2001 From: Samuel Angebault Date: Fri, 12 Mar 2021 09:26:23 -0800 Subject: [PATCH] [generate-dump] Remove Arista specific logic (#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 --- scripts/generate_dump | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/scripts/generate_dump b/scripts/generate_dump index 1c087246e6dc..92508edefaec 100755 --- a/scripts/generate_dump +++ b/scripts/generate_dump @@ -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: @@ -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