Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/wiki/spaces/JUN/pages/547226

https://docs.ipinfusion.com/service-provider/#page/OcNOS-SP/Improved_Management/Streaming_Telemetry.html


gNMI ( Dial-in )enable Streaming telemetric in OcNOS
config

conf t

feature streaming-telemetry

commit

showshow streaming-telemetry dynamic-subscriptions
show streaming-telemetry persistent-subscriptions
show streaming-telemetry persistent-subscriptions brief
show streaming-telemetry persistent-subscriptions details



Supported platform / Chipset

Qmx, Q2a, Q2c and J2C+
gNMI

is a specific use case of gRPC tailored for network management

gRPC

gRPC is a general-purpose RPC framework that can be used in various applications
toolsgmnic ( gNMIC CLI tool )

gnmic -a <ipaddress:port> -u <UserName> -p <Password> --insecure --config <path to config file> subscribe

gnmic -a <ipaddress:port> -u <UserName> -p <Password> --encoding json_ietf --insecure --mode STREAM --stream-mode sample --sample-interval sample-interval-value sub --path <path>

gnmic -a 192.168.68.18:9339 -u ocnos -p ocnos --encoding json_ietf --insecure --mode STREAM --stream-mode sample --sample-interval 10s sub --path 'ipi:/components/component[name=CHASSIS]/state'