Skip to content

Latest commit

 

History

History
 
 

gnmi_set

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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