Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

jimmyzhai
Copy link
Contributor

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

@@ -33,7 +33,7 @@ def physyncd_spawn(gearbox_config):
proc_list = []

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
Contributor

Choose a reason for hiding this comment

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

Copy link
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