Be nice. Be respectful.
The project uses a git submodule under the vendor directory to keep proto files in
sync with upstream. You can update the module and regenerate the related source using make.
make updateYou can use the google/gnxi/gnmi_target to test the client
code. You can set this up using the the following commands (assuming you have ``golangandGOPATH` configured
correctly).
go get -u github.com/google/gnxi/gnmi_target
go install -v github.com/google/gnxi/gnmi_targetYou can use the provided sample configuration. If you do not have a local copy
of the repository, fetch it using curl.
curl -sLO https://raw.githubusercontent.com/python-gnxi/python-gnmi-proto/master/tests/integration/fixtures/config.jsonOnce you have a configuration you can start the server like shown below.
gnmi_target \
-bind_address ":9339" \
-username admin \
-password secret \
-logtostderr \
-notls \
-config tests/integration/fixtures/config.json