ios-xr / model-driven-telemetry

IOS XR Model Driven Telemetry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IOS XR Telemetry

This Repository contains Telemetry Protos for Cisco IOS XR yang models. Its currently organized by OS release version under Protos directory. Release version is represented without the dots. Maintenance version will use 'x' instead of number in directory naming, if same protos can be used across the maintenance releases.

Protos are organized in directory structure which matches yang model. Instructions on how to unmarshal compact gpb message can be read at https://github.com/cisco/bigmuddy-network-telemetry-proto

Proto directory contents include,

  • cisco_ios_xr_.*oper, root of native Cisco IOS XR models
  • .*_yang2proto_map.json, a mapping of YANG encoding path to message set definition models. These mappings can be used to figure our gather points in models and to get message definitions to decode GPB messages.
  • telemetry.proto, top level messages used with streaming telemetry and including the unified header used with GPB and GPB K/V encoding
  • mdt_grpc_dialin/out, gRPC service specification for streaming telemetry server and client side streaming

GRPC services are defined in mdt_grpc_dialin/mdt_grpc_dialin.proto and mdt_grpc_dialout/mdt_grpc_dialout.proto depending on if dialin or dialout is used to stream the data. These protos will be kept backward compatible across releases. For decoding self-describing-gpb(gpb k/v) telemetry message only telemetry.proto is required.

For more info on Model Driven Telemetry,

For more info on the IOS XR Telemetry collector:

About

IOS XR Model Driven Telemetry