Popularity
6.3
Growing
Activity
5.4
-
192
33
91

Programming language: Go
License: Apache License 2.0
Tags: Networking    

gNxI alternatives and similar packages

Based on the "Networking" category.
Alternatively, view gNxI alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of gNxI or a related project?

Add another 'Networking' Package

README

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

Notes about these tools:

  • They are intended for testing and as reference implementation of the protocol.
  • They log to stderr by default, disable with -logtostderr=false.
  • They use glog's log levels, use -v 1 to log proto message exchanges.

gNMI Clients:

  • [gNMI Capabilities](./gnmi_capabilities)
  • [gNMI Get](./gnmi_get)
  • [gNMI Set](./gnmi_set)
  • [gNMI Subscribe](./gnmi_subscribe)

gNMI Targets:

  • [gNMI Target](./gnmi_target)

gNOI Clients

  • [gNOI Cert](./gnoi_cert)
  • [gNOI OS](./gnoi_os)
  • [gNOI Reset](./gnoi_reset)

gNOI Targets

  • [gNOI Target](./gnoi_target)

Helpers

  • [gNOI mockOS](./gnoi_mockos)
  • [certificate generator](./certs)

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.14+.

Download sources

go get github.com/google/gnxi
ls $GOPATH/src/github.com/google/gnxi

Building and installing binaries

cd $GOPATH
mkdir bin
# This reads the go modules dependencies for installation
cd src/github.com/google/gnxi
go install ./...
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:9339 \
    -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

  • This is not an official Google product.
  • See [how to contribute](CONTRIBUTING.md).


*Note that all licence references and agreements mentioned in the gNxI README section above are relevant to that project's source code only.