...
gNMI ( Dial-in ) | enable Streaming telemetric in OcNOS |
---|---|
config | conf t feature streaming-telemetry commit |
show | show 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 | |
tools | gmnic ( 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' |