Skip to content

Commit 969ad94

Browse files
authored
Support for cisco-8000 platform for sonic-sairedis/syncd (#823)
This fix brings in support for cisco-8000 platform into sonic-sairedis/syncd. It checks for the SONIC_ASIC_TYPE keyword and picks up the PLATFORM type to see if "cisco-8000" word is available. Accordingly, it sources the required paths for SDK to carry on its operations.
1 parent 1eacd05 commit 969ad94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

syncd/scripts/syncd_init_common.sh

+8
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,12 @@ config_syncd_innovium()
269269
mkdir -p $II_ROOT
270270
}
271271

272+
config_syncd_cisco_8000()
273+
{
274+
export BASE_OUTPUT_DIR=/opt/cisco/silicon-one
275+
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
276+
}
277+
272278
config_syncd()
273279
{
274280
check_warm_boot
@@ -294,6 +300,8 @@ config_syncd()
294300
config_syncd_vs
295301
elif [ "$SONIC_ASIC_TYPE" == "innovium" ]; then
296302
config_syncd_innovium
303+
elif [ "$SONIC_ASIC_TYPE" == "cisco-8000" ]; then
304+
config_syncd_cisco_8000
297305
else
298306
echo "Unknown ASIC type $SONIC_ASIC_TYPE"
299307
exit 1

0 commit comments

Comments
 (0)