Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.3 KB

CONTRIBUTING.md

File metadata and controls

43 lines (36 loc) · 1.3 KB

Contribution Guide

Guidelines

Be nice. Be respectful.

Developer Documentation

Regenerating Protobuf Source

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 update

gNMI Target Server

You 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).

Installation

go get -u github.com/google/gnxi/gnmi_target
go install -v github.com/google/gnxi/gnmi_target

Sample Configuration

You 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.json

Run Server

Once 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