From cc42a5794bc1fc1a7a6c752caa22addc7eeefa9f Mon Sep 17 00:00:00 2001 From: Brad House Date: Wed, 27 Nov 2024 17:58:09 -0500 Subject: [PATCH] Turn on SAI attribute version validation As per https://github.com/sonic-net/sonic-buildimage/issues/20725 attribute validation must be enabled otherwise failures will be observed. Not sure why this isn't default. --- syncd/scripts/syncd_init_common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/syncd/scripts/syncd_init_common.sh b/syncd/scripts/syncd_init_common.sh index 81b94ff33..a26bf51fd 100644 --- a/syncd/scripts/syncd_init_common.sh +++ b/syncd/scripts/syncd_init_common.sh @@ -29,6 +29,10 @@ fi # Use temporary view between init view and apply view CMD_ARGS+=" -u" +# Enable SAI attribute version checking, required currently for Broadcom +# as per https://github.com/sonic-net/sonic-buildimage/issues/20725 +CMD_ARGS+=" -a" + # Create a folder for SAI failure dump files mkdir -p /var/log/sai_failure_dump/