-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Enable ZMQ between GNMI and Orchanget #16661
Conversation
Depends PR merged, close and re-open to trigger rebuild. |
@@ -69,4 +69,6 @@ else | |||
ORCHAGENT_ARGS+="-m $MAC_ADDRESS" | |||
fi | |||
|
|||
ORCHAGENT_ARGS+=" -q tcp://127.0.0.1:8100" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I know there is no flag for Dash, I will check and update this PR.
@@ -70,6 +70,8 @@ else | |||
TELEMETRY_ARGS+=" -v=2" | |||
fi | |||
|
|||
TELEMETRY_ARGS+=" -zmq_address=tcp://127.0.0.1:8100" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -69,4 +69,10 @@ else | |||
ORCHAGENT_ARGS+="-m $MAC_ADDRESS" | |||
fi | |||
|
|||
# Enable ZMQ for SmartSwitch | |||
LOCALHOST_SUBTYPE=`sonic-db-cli CONFIG_DB hget localhost "subtype"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here should be
sonic-db-cli CONFIG_DB hget "DEVICE_METADATA|localhost" "subtype"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I will update with new PR
@@ -70,6 +70,12 @@ else | |||
TELEMETRY_ARGS+=" -v=2" | |||
fi | |||
|
|||
# Enable ZMQ for SmartSwitch | |||
LOCALHOST_SUBTYPE=`sonic-db-cli CONFIG_DB hget localhost "subtype"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I will update with new PR
Enable ZMQ on gnmi and orchagent
Why I did it
Improve GNMI API performance for Dash resources
How I did it
Modify gnmi and orchagent service start script, add ZMQ parameter.
How to verify it
Pass all UT & E2E test
Manually verify with create Dash resources via gnmi API.