Need help with gnxi?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

google
159 Stars 78 Forks Apache License 2.0 378 Commits 12 Opened issues

Description

gNXI Tools - gRPC Network Management/Operations Interface Tools

Services available

!
?

Need anything else?

Contributors list

License GoDoc Go Report Card Build Status Code coverage master

gNxI Tools

  • gNMI - gRPC Network Management Interface
  • gNOI - gRPC Network Operations Interface

A collection of tools for Network Management that use the gNMI and gNOI protocols.

Summary

Note: These tools are intended for testing and as reference implementation of the protocol.

gNMI Clients:

gNMI Targets:

gNOI Clients

gNOI Targets

Helpers

Documentation

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Install go in your system https://golang.org/doc/install. Requires golang1.7+.

Download sources

go get -v github.com/google/gnxi/...

Building and installing binaries

cd $GOPATH
mkdir bin
go install github.com/google/gnxi/...
ls -la $GOPATH\bin

Generating certificates

cd $GOPATH\bin
./../src/github.com/google/gnxi/certs/generate.sh

Running a client

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

Disclaimer

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.