reference icon indicating copy to clipboard operation
reference copied to clipboard

Details on Closing GNMI/GRPC Session

Open abhinava opened this issue 8 years ago • 0 comments

Hi,

The GNMI spec is clear and explicitly calls out instances when the GRPC session (channel) needs to be closed. For example:

  • Target to close the session after transmission of GetResponse as part of Get RPC (here)

  • Target to close session after sending the SubscribeResponse as part of the Subscribe RPC if the subscription mode is ONCE (here)

Are there other (similar) instances when the target needs to close/terminate the sessions? For example, after the completion of the Set RPC, should the session be kept open? (I assume so since the spec doesn't talk about it). Would be good if this can be explicitly added.

Thanks!

abhinava avatar Dec 30 '17 03:12 abhinava