OcNOS SP : Streaming Telemetry Guide : Streaming Telemetry OpenConfig Data Models
Streaming Telemetry OpenConfig Data Models
Overview
Streaming telemetry incrementally supports all listed OpenConfig data models, providing standardized representations of network configurations and telemetry data.
Telemetry OpenConfig Pyang Tree
The Pyang tree output illustrates the supported containers or leaf, along with a list of supported container-level paths.
Container Level Sensor Paths and Leaf Attributes
Lists the container level sensor paths and leaf attributes supported for OpenConfig data models.
OpenConfig-Platform
Pyang Tree
openconfig-platform
+--rw components
+--ro component* [name]
+--ro name -> ../state/name
+--ro state
| +--ro name? string
| +--ro type? union
| +--ro id? string
| +--ro location? string
| +--ro description? string
| +--ro mfg-name? string
| +--ro mfg-date? oc-yang:date
| +--ro hardware-version? string
| +--ro firmware-version? string
| +--ro software-version? string
| +--ro serial-no? string
| +--ro part-no? string
| +--ro removable? boolean
| +--ro oper-status? identityref
| +--ro empty? boolean
| +--ro parent? -> ../../../component/state/name
| +--ro temperature
| | +--ro instant? decimal64
| | +--ro avg? decimal64
| | +--ro min? decimal64
| | +--ro max? decimal64
| | +--ro interval? oc-types:stat-interval
| | +--ro alarm-status? boolean
| | +--ro alarm-threshold? decimal64
| | +--ro alarm-severity? identityref
| +--ro memory
| +--ro available? uint64
| +--ro utilized? uint64
+--ro power-supply
| +--ro state
| +--ro oc-platform-psu:enabled? boolean
| +--ro oc-platform-psu:capacity? decimal64
| +--ro oc-platform-psu:input-current? decimal64
| +--ro oc-platform-psu:input-voltage? decimal64
| +--ro oc-platform-psu:output-current? decimal64
| +--ro oc-platform-psu:output-voltage? decimal64
| +--ro oc-platform-psu:output-power? decimal64
+--ro fan
| +--ro state
+--ro cpu
| +--ro oc-cpu:utilization
| +--ro oc-cpu:state
| +--ro oc-cpu:instant? oc-types:percentage
| +--ro oc-cpu:avg? oc-types:percentage
| +--ro oc-cpu:interval? oc-types:stat-interval
Sensor Paths
openconfig-platform
The listed paths below represent telemetry OpenConfig paths for monitoring the platform state of various components, including CPU, RAM, power supply, fans, CMIS, and transceivers.
CPU
Sensor Path
/components/component[name]/cpu/utilization/state
 
Leaf Attributes
/components/component[name]/cpu/utilization/state/avg
/components/component[name]/cpu/utilization/state/instant
/components/component[name]/cpu/utilization/state/interval
RAM
Sensor Path
/components/component[name]/state/memory/
 
Leaf Attributes
/components/component[name]/state/memory/available
/components/component[name]/state/memory/utilized
Power-Supply
Sensor Path
/components/component[name]/power-supply/state/
 
Leaf Attributes
/components/component[name]/power-supply/state/capacity
/components/component[name]/power-supply/state/output-power
/components/component[name]/power-supply/state/input-voltage
/components/component[name]/power-supply/state/input-current
/components/component[name]/power-supply/state/output-voltage
/components/component[name]/power-supply/state/output-current
/components/component[name]/power-supply/state/enabled
Fan
Sensor Path
/components/component[name]/fan/state
 
Leaf Attributes
/components/component[name]/fan/state/speed
Platform State
Sensor Path
/components/component[name]/state
 
Leaf Attributes
/components/component[name]/state/id
/components/component[name]/state/type
/components/component[name]/state/location
/components/component[name]/state/mfg-date
/components/component[name]/state/description
/components/component[name]/state/hardware-version
/components/component[name]/state/firmware-version
/components/component[name]/state/software-version
/components/component[name]/state/serial-no
/components/component[name]/state/part-no
/components/component[name]/state/removable
/components/component[name]/state/oper-status
/components/component[name]/state/parent
/components/component[name]/state/empty
Sensor Path
/components/component[name]/state/memory
 
Leaf Attributes
/components/component[name]/state/memory/available
/components/component[name]/state/memory/utilized
Sensor Path
/components/component[name]/state/temperature
 
Leaf Attributes
/components/component[name]/state/temperature/instant
/components/component[name]/state/temperature/min
/components/component[name]/state/temperature/max
/components/component[name]/state/temperature/avg
/components/component[name]/state/temperature/interval
/components/component[name]/state/temperature/alarm-status
/components/component[name]/state/temperature/alarm-threshold
/components/component[name]/state/temperature/alarm-severity
OpenConfig-Interface
Pyang Tree
openconfig-interfaces
+--rw interfaces
+--ro interface* [name]
+--ro name -> ../state/name
+--ro state
+--ro name? string
+--ro ifindex? uint32
+--ro admin-status enumeration
+--ro oper-status enumeration
+--ro last-change? oc-types:timeticks64
+--ro logical? boolean
+--ro counters
+--ro in-octets? oc-yang:counter64
+--ro in-pkts? oc-yang:counter64
+--ro in-unicast-pkts? oc-yang:counter64
+--ro in-broadcast-pkts? oc-yang:counter64
+--ro in-multicast-pkts? oc-yang:counter64
+--ro in-discards? oc-yang:counter64
+--ro in-errors? oc-yang:counter64
+--ro in-fcs-errors? oc-yang:counter64
+--ro out-octets? oc-yang:counter64
+--ro out-pkts? oc-yang:counter64
+--ro out-unicast-pkts? oc-yang:counter64
+--ro out-broadcast-pkts? oc-yang:counter64
+--ro out-multicast-pkts? oc-yang:counter64
+--ro out-discards? oc-yang:counter64
+--ro out-errors? oc-yang:counter64
+--ro last-clear? oc-types:timeticks64
Sensor Paths
openconfig-interface
The listed paths below represent telemetry OpenConfig paths for monitoring the interface and counters state.
Interface State
Sensor Path
/interfaces/interface[name]/state
 
Leaf Attributes
/interfaces/interface[name]/state/name
/interfaces/interface[name]/state/ifindex
/interfaces/interface[name]/state/admin-status
/interfaces/interface[name]/state/oper-status
/interfaces/interface[name]/state/last-change
/interfaces/interface[name]/state/logical
Counters State
Sensor Path
/interfaces/interface[name]/state/counters
 
Leaf Attributes
/interfaces/interface[name]/state/counters/in-octets
/interfaces/interface[name]/state/counters/in-pkts
/interfaces/interface[name]/state/counters/in-unicast-pkts
/interfaces/interface[name]/state/counters/in-broadcast-pkts
/interfaces/interface[name]/state/counters/in-multicast-pkts
/interfaces/interface[name]/state/counters/in-discards
/interfaces/interface[name]/state/counters/in-errors
/interfaces/interface[name]/state/counters/in-fcs-errors
/interfaces/interface[name]/state/counters/out-octets
/interfaces/interface[name]/state/counters/out-pkts
/interfaces/interface[name]/state/counters/out-unicast-pkts
/interfaces/interface[name]/state/counters/out-broadcast-pkts
/interfaces/interface[name]/state/counters/out-multicast-pkts
/interfaces/interface[name]/state/counters/out-discards
/interfaces/interface[name]/state/counters/out-errors
/interfaces/interface[name]/state/counters/last-clear