Skip to content

[gearbox] startup gbsyncd in sync mode in vSonic#939

Merged
jimmyzhai merged 1 commit intosonic-net:masterfrom
jimmyzhai:gearbox
Sep 30, 2021
Merged

[gearbox] startup gbsyncd in sync mode in vSonic#939
jimmyzhai merged 1 commit intosonic-net:masterfrom
jimmyzhai:gearbox

Conversation

@jimmyzhai
Copy link
Copy Markdown
Contributor

Need to startup gbsyncd in sync mode, since orchagent is using sync mode.


for i, phy in enumerate(gearbox_config['phys'], 1):
cmd = '/usr/bin/syncd -p /etc/sai.d/pai.profile -x /usr/share/sonic/hwsku/context_config.json -g {}"'.format(i)
cmd = '/usr/bin/syncd -s -p /etc/sai.d/pai.profile -x /usr/share/sonic/hwsku/context_config.json -g {}'.format(i)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. The option -s is equative to -z redis_sync, which is still used in syncd and orchagent command line parameter.

@jimmyzhai jimmyzhai merged commit e59a085 into sonic-net:master Sep 30, 2021
@jimmyzhai jimmyzhai deleted the gearbox branch September 30, 2021 08:29
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants