cisco Model-Driven Telemetry — Service gNMI

Service gNMI The gNMI specification identifies a single top-level service named gNMI that contains high-level RPCs. The following is a service definition that contains the subscribe service RPC: service gNMI{ . . . rpc Subscribe(stream SubscribeRequest) returns (stream SubscribeResponse); The is used by a management agent to request a dynamic subscription. This RPC contains a set of messages. The following section describes the messages supported by the SubscribeRequest Message This message is sent by a client to request updates from the target for a specified set of paths. The following is a message definition:

message SubscribeRequest { SubscriptionList subscribe = 1; PollRequest poll = 3; AliasList aliases = 4; } Repeated gNMI_ext.Extensions = 5; } oneof request { Only request.subscribe is supported. Note SubscribeResponse Message This message is carried from the target to the client over an established . The following is a message definition: message SubscribeResponse { oneof response { Notification update = 1; Model-Driven Telemetry Service gNMI Result String RPC Cause • There are too many subscriptions. • The amount of data requested is too large. • The interval for a periodic subscription is too small. error-other Some other error. Model-Driven Telemetry 9