Skip to content

Commit 0e2105a

Browse files
[vs]: Start syncd by passing context configuration file and global context index. (#832)
In multi-asic VS switch, there are multiple swss and syncd dockers. Orchagent process in each swss is started with a different hwinfo(asic_id). This PR is to ensure that context configuration is passed in syncd which has the hwinfo information with which each orchagent is started.
1 parent f931ae4 commit 0e2105a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

syncd/scripts/syncd_init_common.sh

+3
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ config_syncd_nephos()
250250
config_syncd_vs()
251251
{
252252
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
253+
if [ -f $HWSKU_DIR/context_config.json ]; then
254+
CMD_ARGS+=" -x $HWSKU_DIR/context_config.json -g 0"
255+
fi
253256
}
254257

255258
config_syncd_innovium()

0 commit comments

Comments
 (0)