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

[orchagent] Add zmq sync mode flag #1505

Merged
merged 3 commits into from
Dec 7, 2020
Merged

Conversation

kcudnik
Copy link
Contributor

@kcudnik kcudnik commented Nov 17, 2020

What I did
Added support for zmq synchronous mode flag, passed from command line to sairedis

Why I did it
To add easy access for zmq sync mode from command line

How I verified it
Run OA with -z flag and syncd with -z flag

Details if related

@kcudnik
Copy link
Contributor Author

kcudnik commented Nov 17, 2020

requires sonic-net/sonic-sairedis#711 to wrok

@kcudnik
Copy link
Contributor Author

kcudnik commented Nov 29, 2020

retest vs please

@qiluo-msft
Copy link
Contributor

@shi-su Could you help review?

@@ -76,6 +77,7 @@ void usage()
cout << " -m MAC: set switch MAC address" << endl;
cout << " -i INST_ID: set the ASIC instance_id in multi-asic platform" << endl;
cout << " -s: enable synchronous mode" << endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also add a message that this is being deprecated as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -76,6 +77,7 @@ void usage()
cout << " -m MAC: set switch MAC address" << endl;
cout << " -i INST_ID: set the ASIC instance_id in multi-asic platform" << endl;
cout << " -s: enable synchronous mode" << endl;
cout << " -z: redis communication mode (redis_async|redys_sync|zmq_sync), default: redis_async" << endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems "redys_sync" is a typo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@kcudnik
Copy link
Contributor Author

kcudnik commented Nov 30, 2020

retest vs please

@kcudnik
Copy link
Contributor Author

kcudnik commented Dec 5, 2020

retest vs please

@kcudnik kcudnik requested a review from shi-su December 5, 2020 22:51
@kcudnik kcudnik merged commit 450bd07 into sonic-net:master Dec 7, 2020
@kcudnik kcudnik deleted the zmqsync branch December 7, 2020 11:41
daall pushed a commit to daall/sonic-swss that referenced this pull request Dec 7, 2020
Added support for zmq synchronous mode flag, passed from command line to sairedis
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Dec 8, 2020
Added support for zmq synchronous mode flag, passed from command line to sairedis
kktheballer pushed a commit to kktheballer/sonic-swss that referenced this pull request Dec 20, 2020
Added support for zmq synchronous mode flag, passed from command line to sairedis
kktheballer added a commit to kktheballer/sonic-swss that referenced this pull request Dec 23, 2020
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants