Skip to content

Commit

Permalink
Enable ZMQ on gnmi and orchagent (sonic-net#214)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
liuh-80 authored Aug 7, 2023
1 parent 8f821f2 commit f04c36b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockers/docker-orchagent/orchagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ else
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
fi

ORCHAGENT_ARGS+=" -q tcp://127.0.0.1:8100"

exec /usr/bin/orchagent ${ORCHAGENT_ARGS}
1 change: 1 addition & 0 deletions dockers/docker-sonic-gnmi/gnmi-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ else
fi

TELEMETRY_ARGS+=" -gnmi_native_write=true"
TELEMETRY_ARGS+=" -zmq_address=tcp://127.0.0.1:8100"

exec /usr/sbin/telemetry ${TELEMETRY_ARGS}

0 comments on commit f04c36b

Please sign in to comment.