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 2, 2024
1 parent 7817c3b commit cc42a57
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 @@ -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/

Expand Down

0 comments on commit cc42a57

Please sign in to comment.