Skip to content

Commit

Permalink
[vs]: Start syncd by passing context configuration file and global co…
Browse files Browse the repository at this point in the history
…ntext index. (sonic-net#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.
  • Loading branch information
SuvarnaMeenakshi committed Jun 1, 2021
1 parent f931ae4 commit 0e2105a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ config_syncd_nephos()
config_syncd_vs()
{
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile"
if [ -f $HWSKU_DIR/context_config.json ]; then
CMD_ARGS+=" -x $HWSKU_DIR/context_config.json -g 0"
fi
}

config_syncd_innovium()
Expand Down

0 comments on commit 0e2105a

Please sign in to comment.