gnmi_set

command
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 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:9339 \
  -target_name target.com \
  -key client.key \
  -cert client.crt \
  -ca ca.crt

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