Skip to content

Commit c163238

Browse files
authored
Add cisco-8000 checks to syncd_init_common (#839)
1 parent 9aed2ff commit c163238

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

syncd/scripts/syncd_init_common.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ function set_start_type()
8686
fi
8787
}
8888

89+
config_syncd_cisco_8000()
90+
{
91+
export BASE_OUTPUT_DIR=/opt/cisco/silicon-one
92+
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
93+
}
8994

9095
config_syncd_bcm()
9196
{
@@ -268,7 +273,10 @@ config_syncd()
268273
{
269274
check_warm_boot
270275

271-
if [ "$SONIC_ASIC_TYPE" == "broadcom" ]; then
276+
277+
if [ "$SONIC_ASIC_TYPE" == "cisco-8000" ]; then
278+
config_syncd_cisco_8000
279+
elif [ "$SONIC_ASIC_TYPE" == "broadcom" ]; then
272280
config_syncd_bcm
273281
elif [ "$SONIC_ASIC_TYPE" == "mellanox" ]; then
274282
config_syncd_mlnx

0 commit comments

Comments
 (0)