State¶
Leafs
destination_address
destination_port
destination_protocol
heartbeat_interval
originated_qos_marking
sample_interval
subscription_id
suppress_redundant
-
class
TelemetrySystem.Subscriptions.Dynamic.Subscription.
State
¶ Bases:
Entity
Class Hierarchy:
TelemetrySystem
Subscriptions
Dynamic
Subscription
State
This class represents state data.
State information relating to dynamic telemetry
subscriptions.
-
subscription_id
¶ Identifer of the telemetry subscription. Will be used by configuration operations needing to modify or delete the telemetry subscription
type: int
range: 0..18446744073709551615config: False
-
destination_address
¶ IP address of the telemetry stream destination
type: union of the below types:
type: str
pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?type: str
pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?config: False
-
destination_port
¶ Protocol (udp or tcp) port number for the telemetry stream destination
type: int
range: 0..65535config: False
-
destination_protocol
¶ Protocol used to transmit telemetry data to the collector
type:
TelemetryStreamProtocol
config: False
-
sample_interval
¶ Time in milliseconds between the device’s sample of a telemetry data source. For example, setting this to 100 would require the local device to collect the telemetry data every 100 milliseconds. There can be latency or jitter in transmitting the data, but the sample must occur at the specified interval. The timestamp must reflect the actual time when the data was sampled, not simply the previous sample timestamp + sample-interval. If sample-interval is set to 0, the telemetry sensor becomes event based. The sensor must then emit data upon every change of the underlying data source
type: int
range: 0..18446744073709551615config: False
-
heartbeat_interval
¶ Maximum time interval in seconds that may pass between updates from a device to a telemetry collector. If this interval expires, but there is no updated data to send (such as if suppress_updates has been configured), the device must send a telemetry message to the collector
type: int
range: 0..18446744073709551615config: False
-
suppress_redundant
¶ Boolean flag to control suppression of redundant telemetry updates to the collector platform. If this flag is set to TRUE, then the collector will only send an update at the configured interval if a subscribed data value has changed. Otherwise, the device will not send an update to the collector until expiration of the heartbeat interval
type: bool
config: False
-
originated_qos_marking
¶ DSCP marking of packets generated by the telemetry subsystem on the network device
type: int
range: 0..63config: False
-