Skip to content

Files

Latest commit

a4392bf · Mar 14, 2022

History

History

gnmi_get

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 18, 2020
Mar 14, 2022

gNMI Get

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

Install

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

Run

./gnmi_get \
  -xpath "/system/openflow/agent/config/datapath-id" \
  -xpath "/system/openflow/controllers/controller[name=main]/connections/connection[aux-id=0]/state/address" \
  -target_addr localhost:9339 \
  -target_name target.com \
  -key client.key \
  -cert client.crt \
  -ca ca.crt