Scale and Minimum Sample Interval Supported

To limit the impact of telemetry on critical features of the OcNOS target device, certain limits have been implemented for different platform types.

High End Platforms: A system is considered high range if it has eight or more CPU cores and is not based on an "Intel Atom" processor.

Standard Range Platforms: A system is considered standard range if it has fewer than eight CPU cores or is based on an "Intel Atom" processor.

 

If telemetry subscribe paths are not explicitly configured using the command telemetry maximum-subscribe-paths, the system sets them to 100 sensor paths for high-end platforms and 50 sensor paths for standard platforms.
If telemetry mimum sample intervals are not explicitly configured using the command telemetry minimum-sample-interval, the system sets them to 10 seconds for high-end platforms and 90 seconds for standard platforms.
The total count of sensor paths includes the child paths of a subscribe request. For instance, if a subscribe request has four child paths, the total sensor paths count equals five (the given path plus four child paths). Use the show streaming-telemetry command to display the minimum sample interval and the maximum number of sensor paths configured.

Scale Scenarios

New Subscribe RPC Request Makes Total Paths To Not Exceed Max Allowed

When new paths are added to the existing paths already handled by the gNMI server, the total number does not exceed the Default limit or the user-configured value. Consequently, the gNMI server accepts this subscribe request and proceeds with the processing.

New Subscribe RPC Request Makes Total Paths To Reach Allowed Max:

With the new Subscribe RPC Request, the total paths handled would be exactly equal to its Default or the user-configured values. When the gNMI server accepts the new subscribe request, it processes it but logs a warning that the maximum number of paths has been reached. This warning indicates that it will not handle any new subscribe RPC stream mode requests until the number of currently handled paths drops below 100 or below the user-configured subscribe path values.

New Subscribe RPC Request Makes Total Paths To Exceed Allowed Max

With the new Subscribe RPC request, the gNMI server returns an error if the total paths exceed its Default or the user-configured values. The RPC request is not closed but will be accepted and responded to when the total number of paths handled drops to a level that can accommodate this RPC request.

Minimum Sample Interval

Any sampling mode request with a sample interval of less than the minimum allowed will result in an error. However, if a sample interval is 0, it defaults to the minimum sample interval supported by the gNMI server for that platform type.