I _think_ this is the system you're referring to: https://github.com/openconfig/gnmi/blob/d2b4e6a45802a75b3571a627519cae85a197fdda/proto/gnmi/gnmi.proto#L38-L40
I might try reaching out to the gNMI folks (just in case they're not on this group). From a quick read over the proto, it doesn't seem like the RPC's have built that in from the client perspective (the server returns the version as part of the CapabilitiesResponse). If you have control over the client, you _could_ peel the value off the descriptor and send it along in a header (if they aren't already doing something like that). On Tue, Dec 1, 2020 at 7:16 AM Shikha Chowdhary <[email protected]> wrote: > Hello, > > I am using gNMI proto and it supports different version/option like 020, > 040, 070 etc. How gRPC server can determine which version of gNMI.proto is > requesting data? Each version is little different in terms of variables. > > -Thanks > Shikha > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/3740493a-a771-4575-967a-fbd8f5dffcbbn%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/3740493a-a771-4575-967a-fbd8f5dffcbbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *Mya Pitzeruse* Gender Pronouns: She, Her, Hers [email protected] -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAAr1QBUaQSPrBnVHbDLLfJOGWyouH6gLjHN9orV1wWHtkrsMHg%40mail.gmail.com.
