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

Enable ZMQ between GNMI and Orchanget #16661

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/orchagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ else
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
fi

ORCHAGENT_ARGS+=" -q tcp://127.0.0.1:8100"
Copy link
Collaborator

@qiluo-msft qiluo-msft Sep 28, 2023

Choose a reason for hiding this comment

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

ORCHAGENT_ARGS

On non-dash related platforms, this new arg is not necessary. Could you limit the scope? #Closed

Copy link
Contributor Author

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.


exec /usr/bin/orchagent ${ORCHAGENT_ARGS}
2 changes: 2 additions & 0 deletions dockers/docker-sonic-telemetry/telemetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ else
TELEMETRY_ARGS+=" -v=2"
fi

TELEMETRY_ARGS+=" -zmq_address=tcp://127.0.0.1:8100"
Copy link
Collaborator

@qiluo-msft qiluo-msft Sep 28, 2023

Choose a reason for hiding this comment

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

TELEMETRY_ARGS

Could you limit the scope? #Closed


# Server will handle threshold connections consecutively
THRESHOLD_CONNECTIONS=$(echo $GNMI | jq -r '.threshold')
if [[ $THRESHOLD_CONNECTIONS =~ ^[0-9]+$ ]]; then
Expand Down
Loading