Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Overview of JET APIs

JET provides APIs that extend the functionality of Junos OS and Junos OS Evolved. These APIs fall into three main categories: the notification API, base type APIs, and service APIs. The APIs are defined by proto definition files. You can view these files in multiple ways:

  • View the full proto definition files on the JET GitHub repository.

  • To use the proto definition files, you will need to download and extract the IDL file for the release you are using. See Set Up the JET VM for instructions.

Notification API

The notification API provides interfaces that allow you to subscribe to events and designate a callback function to receive events when they occur. See JET Notification API for more information about this API.

Base Type APIs

Table 1: Base Types
RPC Proto File(s)

JET Common Address Types RPC

jnx_addr.proto

jnx_common_addr_types.proto

JET Common Base Types RPC

jnx_base_types.proto

jnx_common_base_types.proto

JET Routing Base Service RPC

jnx_routing_base_service.proto

JET Routing Base Types RPC

jnx_routing_base_types.proto

Service APIs

Service APIs provide interfaces to access the control plane on the device and a management interface to run operational and configuration commands.

Table 2: Management
RPC Proto File(s) Introduced in Release

Authentication Service RPC

authentication_service.proto

jnx_authentication_service.proto

Before Junos OS Release 19.4R1

Management Service RPC

management_service.proto

jnx_management_service.proto

Before Junos OS Release 19.4R1

Registration Service RPC

registration_service.proto

jnx_registration_service.proto

Before Junos OS Release 19.4R1

Versioning Service RPC

jnx_version_service.proto

Junos OS Release Evolved 20.4R1

Table 3: Routing
RPC Proto File(s) Introduced in Release

BFD Service RPC

bfd_service.proto

Before Junos OS Release 19.4R1

BGP Route Service RPC

bgp_route_service.proto

jnx_routing_bgp_service.proto

Before Junos OS Release 19.4R1

ECMP Tracer Flow Monitoring RPC

jnx_ecmptracer_service.proto

Junos OS Evolved 20.1R1

Flexible Tunnel Profile RPC

flexible_tunnel_profile.proto

jnx_routing_flexible_tunnel_profile.proto

Junos OS Release 19.4R1

Flexible Tunnel Service RPC

flexible_tunnel_service.proto

jnx_routing_flexible_tunnel_service.proto

Junos OS Release 19.4R1

MPLS Bandwidth Update Service RPC

jnx_routing_mpls_autobw_service.proto

Before Junos OS Release 19.4R1

MPLS Service RPC

mpls_api_service.proto

Before Junos OS Release 19.4R1

PRPD Common RPC

prpd_common.proto

Before Junos OS Release 19.4R1

PRPD Service RPC

prpd_service.proto

Before Junos OS Release 19.4R1

RIB Service RPC

rib_service.proto

jnx_routing_rib_service.proto

Before Junos OS Release 19.4R1

Routing Interface Service RPC

routing_interface_service.proto

jnx_routing_interface_service.proto

Junos OS Release 19.4R1

Table 4: Other
Type RPC Proto File Introduced in Release

Firewall

Firewall Service RPC

jnx_firewall_service.proto

Before Junos OS Release 19.4R1

Interfaces

DCD Service RPC

dcd_service.proto

Before Junos OS Release 19.4R1

Interfaces

Interfaces Service RPC

jnx_interfaces_service.proto

Before Junos OS Release 19.4R1

Network Address Translation (NAT)

MAP-E Service RPC

mape_service.proto

Junos OS Release 24.2R1