Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Junos XML API

NETCONF-based XML API for programmatic access to Junos devices.

This event API exposes 5 operations across 5 channels, and defines 5 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.

The API connects through 2 servers: {collectorHost}:{collectorPort} (grpc), {collectorHost}:{collectorPort} (udp).

5 operations 5 channels 5 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0
Base URL
netconf://device:830
Resource Areas
1

Channels & Operations 5

Across 5 channels, the API surfaces 5 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 5
SUB
/interfaces
Interface statistics telemetry stream
onInterfaceStats body
SUB
/routing
Routing protocol telemetry stream
onRoutingTelemetry body
SUB
/system-resources
System resource utilization telemetry stream
onSystemResources body
SUB
/firewall
Firewall filter counter telemetry stream
onFirewallCounters body
SUB
/optics
Optical diagnostics telemetry stream
onOpticsDiagnostics body

Messages & Schemas 5

The contract defines 5 schemas that model the data carried by its messages. Each schema is shown below with its type and property counts.

InterfaceStatsMessage
message
Real-time interface counter data including ingress/egress packet and byte counts, error counters, and queue statistics. Published at the configured reporting r…
RoutingMessage
message
BGP session state and route count telemetry data. Reports peer session transitions, received/advertised prefix counts, and route table summary statistics.
SystemResourceMessage
message
System resource utilization data including CPU, memory, and temperature readings from routing engines and line cards.
FirewallMessage
message
Real-time firewall filter counter data for configured filter terms. Reports packet and byte match counts per filter term.
OpticsMessage
message
Optical transceiver diagnostic readings including power levels, bias current, temperature, and voltage for SFP/QSFP modules.

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

juniper-networks-junos-telemetry-asyncapi.yml Raw ↑