openconfig / gnmi

gRPC Network Management Interface
Apache License 2.0
464 stars 196 forks source link

How to fill Subscription attributes in SubscribeRequest using gnmi_cli #20

Closed kboyapa1 closed 6 years ago

kboyapa1 commented 6 years ago

We are able to fill very few attributes of SubscribeRequest-->SubscriptionList attribute like mode using --qt in gnmi_cli.

gnmi_cli help is not displaying options (I may be missing from the list of displayed options) to fill other SubscribeRequest attributes like poll, aliases, prefix, use_aliases, qos, encoding, sample_interval, suppress_redundant, heartbeat_interval etc...

Can Please point me some examples how to fill SubscribeRequest fields using gnmi_cli client.

kboyapa1 commented 6 years ago

Can please advise if gnmi client is not supporting to fill all the SubscribeRequest attributes in gnmi.proto, when the support will be available?

robshakir commented 6 years ago

The client does not support all the options that are within the gNMI specification, as you say. We don't have a timeline for supporting all the options here. This library tends to be focused towards the implementations that we have of gNMI in the field.

If you have a requirement for these features, we welcome pull requests against this repo. One of the maintainers can assist with reviewing such PRs.

Thanks, r.

kboyapa1 commented 6 years ago

Thanks @robshakir for your suggestion. We are in the process of identifying the requirements and studying the gnmi_cli support.

We will surely share the pull requests when we make the changes.