Enhance gnmi Subscription
The current Subscription works only for gnmi.SubscriptionList_STREAM/gnmi.SubscriptionMode_ON_CHANGE.
However, there is:
-
gnmi.SubscriptionList_ONCE -
gnmi.SubscriptionList_POLL -
and within gnmi.SubscriptionList_STREAM -
gnmi.SubscriptionMode_SAMPLE -
gnmi.SubscriptionMode_TARGET_DEFINED
-
Further, one would like to submit gnmi paths with wildcards in a SubscribeRequest to the target. This will require that the target:
-
can parse these requests -
can generate the subscribe -
can generate the publish
Further, the error handling could be improved, for sure.
Edited by Martin Stiemerling