command
Version:
v0.0.0-...-11186bd
Opens a new window with list of versions in this module.
Published: Jun 29, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gNMI Get
A simple shell binary that performs a GET against a gNMI Target.
Install
go get github.com/jipanyang/gnxi/gnmi_get
go install github.com/jipanyang/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:10161 \
-target_name hostname.com \
-key client.key \
-cert client.crt \
-ca ca.crt \
-username foo \
-password bar \
-alsologtostderr
Documentation
¶
Binary gnmi_get performs a get request against a gNMI target.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.