gnxi

package module
v0.0.0-...-68ef6d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

README

License GoDoc Go Report Card Build Status codecov.io

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.

Documentation

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Docker for instructions on how to test against network equipment.

Prerequisites

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

Clone

Clone the project to your go source folder:

mkdir -p $GOPATH/src/github.com/google/
cd $GOPATH/src/github.com/google/
git clone https://github.com/google/gnxi.git
Running

To run the binaries:

cd $GOPATH/src/github.com/google/gnxi/gnmi_get
go run ./gnmi_get.go

Docker

FAUCET currently includes a Dockerfile to setup the environment that facilitates testing these tools against network equipment.

Disclaimer

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package gnmi implements a gnmi server to mock a device with YANG models.
Package gnmi implements a gnmi server to mock a device with YANG models.
modeldata
Package modeldata contains the following model data in gnmi proto struct: openconfig-interfaces 2.0.0, openconfig-openflow 0.1.0, openconfig-platform 0.5.0, openconfig-system 0.2.0.
Package modeldata contains the following model data in gnmi proto struct: openconfig-interfaces 2.0.0, openconfig-openflow 0.1.0, openconfig-platform 0.5.0, openconfig-system 0.2.0.
modeldata/gostruct
Package gostruct is a generated package which contains definitions of structs which represent a YANG schema.
Package gostruct is a generated package which contains definitions of structs which represent a YANG schema.
Binary gnmi_capabilities performs a capabilities request to a gNMI target.
Binary gnmi_capabilities performs a capabilities request to a gNMI target.
Binary gnmi_get performs a get request against a gNMI target.
Binary gnmi_get performs a get request against a gNMI target.
Binary gnmi_set performs a set request against a gNMI target with the specified config file.
Binary gnmi_set performs a set request against a gNMI target with the specified config file.
Binary gnmi_target implements a gNMI Target with in-memory configuration and telemetry.
Binary gnmi_target implements a gNMI Target with in-memory configuration and telemetry.
Package gnoi contains required services for running a gnoi server.
Package gnoi contains required services for running a gnoi server.
Binary implements a Certificate Management service client.
Binary implements a Certificate Management service client.
Binary implements a gNOI Target with a Certificate Management service.
Binary implements a gNOI Target with a Certificate Management service.
Package utils implements utilities for gnxi.
Package utils implements utilities for gnxi.
credentials
Package credentials loads certificates and validates user credentials.
Package credentials loads certificates and validates user credentials.
entity
Package entity provides a lightweight method for generating certificates.
Package entity provides a lightweight method for generating certificates.
xpath
Package xpath parses xpath string into gnmi Path struct.
Package xpath parses xpath string into gnmi Path struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL