cisco IOS XE 17.16.x — gNMI Dial-Out Using gRPC Tunnel Service

C H A P T E R 12 gNMI Dial-Out Using the gRPC Tunnel Service This module describes how to configure a tunnel service for gNMI dial-out connections. You can use the gRPC tunnel server to forward connections from external clients, such as a gRPC Network Management Interface (gNMI) or gRPC Network Operations interface (gNOI), to connect to a network device without establishing a direct connection.

gNMI Dial-Out Using gRPC Tunnel Service, on page 295 Information About gNMI Dial-Out Using gRPC Tunnel Service, on page 296 How to Configure gNMI Dial-Out Using gRPC Tunnel Service, on page 297 Verifying the gNMI Dial-Out Using gRPC Tunnel Service Configuration, on page 300 Feature Information for gNMI Dial-Out Using gRPC Tunnel Service, on page 301 gNMI Dial-Out Using gRPC Tunnel Service In releases prior to Cisco IOS XE Dublin 17.11.1, gNMI supports a dial-in session, where the data collector sends RPCs directly to a network device. From Cisco IOS XE Dublin 17.11.1, gNMI uses a tunnel service for gNMI dial-out connections based on the recommendation from the OpenConfig forum.

With gNMI dial-out through gRPC tunnel service, you can use a router (tunnel client) to dial out to a collector (tunnel server). After establishing a session, the tunnel server acts as a client and requests gNMI services. The tunnel server then forwards requests from one or more gNMI or gNOI clients. Note that the gRPC tunnel server and the gNMI or gNOI client may be distinct entities. The gRPC tunnel design is based on the feature specifications provided in the tunnel.proto file. Note For more information about gNMI dial-out using gRPC tunnel, see the Github repository. The tunnel service supports only Transport Layer Security (TLS) sessions.

Note Programmability Configuration Guide, Cisco IOS XE 17.16.x 295