google / google/gnxi

How to set Path prefix Elements in gnmi_get

Open
#69 2 comments 0 reactions 0 assignees View on GitHub
clarify gnmi
Dominant language
Python
Stars
289
Forks
131
Avg merge
1d 28m
Merged PRs (30d)
1

Description

I would like to give the prefix path and set the Elem field in below structure using gnmi_get.
p prefix
*github.com/openconfig/gnmi/proto/gnmi.Path {
Element: []string len: 0, cap: 0, nil,
Origin: "",
Elem: []*github.com/openconfig/gnmi/proto/gnmi.PathElem len: 0, cap: 0, nil,
Target: "CONFIG_DB",
XXX_NoUnkeyedLiteral: struct {} {},
XXX_unrecognized: []uint8 len: 0, cap: 0, nil,
XXX_sizecache: 0,}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.