gRPC Services for Junos Telemetry Interface
Configuring gRPC for the Junos Telemetry Interface
You can stream telemetry data for various network elements through gRPC, an open source framework for handling remote procedure calls based on TCP. The Junos Telemetry Interface relies on a so-called push model to deliver data asynchronously, which eliminates polling.
Before you begin:
-
Install Junos OS Release 16.1R3 or later on your Juniper Networks device.
To configure your system for gRPC services specify the API connection setting based on Transport Layer Security (TLS) technology.
For example, to set the API connection:
[edit system services] user@host# set extension-service request-response grpc tls
For an TLS-based connection, you must specify a local-certificate name. You can rely on the default IP address (::) to enable Junos to “listen” for all IPv4 and IPv6 addresses on incoming connections. If you would rather specify an IP address, follow step 2 below.
See Also
Configuring Mutual Authentication for gRPC for Junos Telemetry Interface
Starting with Junos OS Release 17.4R1, you can configure mutual authentication for gRPC sessions
used to stream telemetry data. Previously, only authentication of the server, that is,
Juniper device, was supported. Now the external client, that is management station that
collects data, can also be authenticated using TLS certificates. The JET service process
(jsd), which supports application interaction with Junos OS, uses
the credentials provided by the external client to authenticate the client and authorize
a connection.
Before you begin:
Configure the gRPC server. For more information, see Configuring gRPC for the Junos Telemetry Interface.
To configure authentication for the external client, that is, management station that collects telemetry data streamed from the Juniper device:
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.