From 636b42e9fc5a7bc291bfadb9ffe3aa3f3dc72c34 Mon Sep 17 00:00:00 2001 From: Samuel Angebault Date: Fri, 5 Mar 2021 11:21:26 -0800 Subject: [PATCH] [generate-dump] Remove Arista specific logic 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 1c087246e6..92508edefa 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