-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Today for gNMI.Subscribe a list of subscriptions can be provided. However, it is possible that overlap is created with different subscription behaviors.
For example, assume a subscription list specified these two:
- components/component - SAMPLE
- components/component/linecard - ON_CHANGE
In this case, would (1) override (2) and provide all data as SAMPLE? Or does (2) override (1) for its specific leaves because it comes after (1). That could also raise the question of 'are the subscriptions within the list order dependent?'.
I didn't see this topic discussed within the specifications or the proto, but please let me know if this has been discussed before.
My thought is that the simple approach might be to define that overlap should not exist and the device should error if a subscription is sent with overlapping fields. This ensures the device does not assume any behavior and forces clients to be explicit with their subscription if need be.