Skip to content

Commit

Permalink
Add cisco-8000 checks to syncd_init_common (sonic-net#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkatCisco committed Jun 15, 2021
1 parent 9aed2ff commit c163238
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ function set_start_type()
fi
}

config_syncd_cisco_8000()
{
export BASE_OUTPUT_DIR=/opt/cisco/silicon-one
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
}

config_syncd_bcm()
{
Expand Down Expand Up @@ -268,7 +273,10 @@ config_syncd()
{
check_warm_boot

if [ "$SONIC_ASIC_TYPE" == "broadcom" ]; then

if [ "$SONIC_ASIC_TYPE" == "cisco-8000" ]; then
config_syncd_cisco_8000
elif [ "$SONIC_ASIC_TYPE" == "broadcom" ]; then
config_syncd_bcm
elif [ "$SONIC_ASIC_TYPE" == "mellanox" ]; then
config_syncd_mlnx
Expand Down

0 comments on commit c163238

Please sign in to comment.