akarneliuk / pygnmi

The pure Python implementation of the gNMI client.
https://training.karneliuk.com
BSD 3-Clause "New" or "Revised" License
129 stars 44 forks source link

pygnmi subscribe request API does not allow for multiple streaming requests #25

Open jbemmel opened 3 years ago

jbemmel commented 3 years ago

As explained at https://github.com/cisco-ie/cisco-gnmi-python/blob/master/src/cisco_gnmi/client.py#L235 the 'subscribe' request is a streaming request - multiple subscribe requests from the client can be queued

With the current pygnmi code structure, this is not possible

akarneliuk commented 3 years ago

Hello @jbemmel ,

thanks for your request. We'll take a look and get back to you.

Best, Anton