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_response for this purpose
- Introduce a new message field
This can apply to:
SAMPLE mode subscriptions
- When
heartbeat_interval is triggered in ON_CHANGE or TARGET_DEFINED mode 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.
As a follow-on to openconfig/reference#231 which is clarifying the behavior around
SAMPLEsubscriptions 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 eachSAMPLEinterval.Options being:
sync_responsefor this purposeThis can apply to:
SAMPLEmode subscriptionsheartbeat_intervalis triggered inON_CHANGEorTARGET_DEFINEDmode subscriptionsWith an indication of when a
SAMPLEinterval is complete, a client can better understand data that no longer exists on the endpoint in order to perform appropriate actions downstream.