Skip to content

Commit

Permalink
Turn on SAI attribute version validation
Browse files Browse the repository at this point in the history
As per sonic-net/sonic-buildimage#20725
attribute validation must be enabled otherwise failures will
be observed.

Not sure why this isn't default.
  • Loading branch information
bradh352 committed Dec 4, 2024
1 parent def7e80 commit 3834995
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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/

Expand Down

0 comments on commit 3834995

Please sign in to comment.