gnmi_get

command
Version: v0.0.0-...-ca39941 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

gNMI Get

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

Install

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

Run

./gnmi_get \
  -xpath_target CONFIG_DB \
  -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

Documentation

Overview

Binary gnmi_get performs a get request against a gNMI target.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL