gnmi_set

command
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: 14 Imported by: 0

README

gNMI Set

A simple shell binary that performs a SET against a gNMI Target.

Install

go get github.com/google/gnxi/gnmi_set
go install github.com/google/gnxi/gnmi_set

Run

Run gnmi_set -help to see usage. For example:

gnmi_set \
  -delete /system/openflow/agent/config/max-backoff \
  -replace /system/clock:@clock-config.json \
  -replace /system/openflow/agent/config/max-backoff:12 \
  -update /system/clock/config/timezone-name:"US/New York" \
  -target_addr localhost:10161 \
  -target_name hostname.com \
  -key client.key \
  -cert client.crt \
  -ca ca.crt \
  -username foo \
  -password bar
  -alsologtostderr

Documentation

Overview

Binary gnmi_set performs a set request against a gNMI target with the specified config file.

Jump to

Keyboard shortcuts

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