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:9339 \
  -target_name target.com \
  -key client.key \
  -cert client.crt \
  -ca ca.crt