gnmi icon indicating copy to clipboard operation
gnmi copied to clipboard

Example cmd/gnmi_cli directly uses a package that says you shouldn't use it directly

Open theclapp opened this issue 6 years ago • 0 comments

github.com/openconfig/gnmi/client/gnmi says "Note: this package should not be used directly. Use github.com/openconfig/gnmi/client instead."

Yet the example gnmi_cli uses it directly (here). And (maybe I'm missing it) I see no other way to do a Capabilities, or regular Get or Set calls.

Quite possibly I'm missing something. I'm new to gNMI.

As a side note, that package resides in .../gnmi/client/gnmi but is actually called package client, which is weird.

theclapp avatar Mar 21 '19 13:03 theclapp