Information About gNMI Dial-Out Using gRPC Tunnel Service The following sections provide detailed information about a traditional gRPC connection, a gRC tunnel, and connecting to GNMIB using a gRPC tunnel. Traditional gRPC Connection The yellow arrow in the following image shows the traditional method of connecting to a network device to access gRPC or gNOI services. The gNMI client connects to the network device only when the gNMI client is allowed to establish a direct connection. Figure 9: Traditional gRPC Connection gRPC Tunnel The following are the main components of a gRPC tunnel: • Target: Represents a single service on a network device. For example, gNMI or gNOI is one target type.
A tunnel client can register one or more target types with a tunnel server. • Tunnel: A bidirectional stream in which data can be forwarded between the tunnel client and the server. • Tunnel Server: The gRPC server that manages the target subscriptions and registrations. • Tunnel Client: GNMIB is the gRPC tunnel client. Model-Driven Programmability Information About gNMI Dial-Out Using gRPC Tunnel Service Programmability Configuration Guide, Cisco IOS XE 17.16.x 296