- gNMI - gRPC Network Management Interface
- gNOI - gRPC Network Operations Interface
A collection of tools for Network Management that use the gNMI and gNOI protocols.
Note: These tools are intended for testing and as reference implementation of the protocol.
- gNMI Capabilities
- gNMI Get
- gNMI Set
- gNMI Subscribe - in progress
These instructions will get you a copy of the project up and running on your local machine.
Install go in your system https://golang.org/doc/install. Requires golang1.7+.
go get -v github.com/google/gnxi/...
cd $GOPATH
mkdir bin
go install github.com/google/gnxi/...
ls -la $GOPATH\bin
cd $GOPATH\bin
./../src/github.com/google/gnxi/certs/generate.sh
cd $GOPATH\bin
./gnoi_reset \
-target_addr localhost:9399 \
-target_name target.com \
-rollback_os \
-zero_fill \
-key client.key \
-cert client.crt \
-ca ca.crt
Optionally define $GOBIN as $GOPATH\bin and add it to your path to run the binaries from any folder.
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
- This is not an official Google product.
- See how to contribute.