-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Consider the below two event-driven attributes which fit "on-change" mode type.
/interfaces/interface/state/admin-status
/interfaces/interface/state/oper-status
-
If gnmi "sample" mode subscribe rpc request is received for these leaf level attributes, should the gnmi server reject the request? And only accept "on-change" or "target-defined" mode for these attributes? Or is it left to the implementations?
-
Do implementations have to exclusively classify leaf level attributes as SAMPLE or ON-CHANGE mode type for stream-mode? Or can some attributes be of "both" type?
Clarity on this in gnmi spec is needed. For interoperability across vendors, one would prefer to see each attribute in the openconfig data models to be annotated with (SAMPLE, ON-CHANGE or both) type. I would like to hear experts opinion on this.
Thanks,
Raghu