-
Notifications
You must be signed in to change notification settings - Fork 211
Description
As a follow-on to openconfig/reference#231 which is clarifying the behavior around SAMPLE subscriptions being "sample-only" and not interleaving other "actions" (e.g. delete), this raises another point in how clients should reconcile data for downstream systems when objects are removed between intervals.
Drawing parallels to prior sampling methods (e.g. client initiated snmp get/get-next or get-next sequence - aka. walk, IPFIX, etc..), a client either receives some signal from the endpoint in a PDU (EOM type), an error or in some cases no indicator as to when that sample window is complete making client side reconciliation variable and sometimes based on trust/time boundaries.
Prior to raising a PR for any spec/IDL updates, this issue is a request for comments from both the implementation/operator community for setting an indicator (e.g. sync_response) to complete the wrap for each SAMPLE interval.
Options being:
- Leverage
sync_responsefor this purpose - Introduce a new message field
This can apply to:
SAMPLEmode subscriptions- When
heartbeat_intervalis triggered inON_CHANGEorTARGET_DEFINEDmode subscriptions
With an indication of when a SAMPLE interval is complete, a client can better understand data that no longer exists on the endpoint in order to perform appropriate actions downstream.