IP Library Granted Patent US 11,477,288
Granted Patent B1
US 11,477,288 · App. 17/305,122 · Granted Oct 18, 2022

High availability for streaming telemetry

Inventors: Maneet Singh (Bangalore, IN); Kishore Wariyal (Roorkee, IN); Vivek M (Bangalore, IN)
Assignee: Juniper Networks, Inc.
H04L67/14H04L67/1095H04L67/12
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,477,288
App. No.
17/305,122
Filed
Jun 30, 2021
Granted
Oct 18, 2022
Kind
B1
Art Unit
2445
USPC
709/220
Abstract

An example network device includes a primary node and a secondary node. The primary node includes one or more processors implemented in circuitry and configured to receive a message from a collector device requesting to subscribe to statistics of a metrics streaming session; initiate a telemetry session for sending the statistics to the collector device; replicate data of the telemetry session to the secondary node; and send the data of the telemetry session to the collector device. In this manner, in the event of the switchover, the secondary node may act as the primary node and resume the telemetry session. That is, the secondary node, acting as a primary node following the switchover, may receive statistics data from one or more sensors related to the metrics streaming session, and send telemetry session data, representative of the statistics data, to the collector device as part of the telemetry session.

Claims (48)

1. A method comprising:

receiving, by a primary node of a routing device, a message from a collector device requesting to initiate a telemetry session to subscribe to statistics of a metrics streaming session;

initiating, by the primary node, the telemetry session for sending the statistics to the collector device, wherein initiating the telemetry session comprises initializing one or more sensors for one or more network elements of the routing device to produce statistics data for the telemetry session, the one or more network elements including one or more of a line card, a packet forwarding engine, or a routing engine;

replicating, by the primary node, data of the telemetry session to a secondary node of the routing device, the secondary node being configured as a backup node to the primary node in the event of a switchover from the primary node to the secondary node; and

sending, by the primary node, the data of the telemetry session to the collector device.

2. The method of claim 1 , wherein initiating the telemetry session comprises initiating one of a gRPC streaming session, a NETCONF streaming session, a Representational State Transfer (REST) session, or an OpenFlow session.

3. The method of claim 1 , wherein replicating the data of the telemetry session comprises:

receiving statistics data from one or more sensors related to the metrics streaming session; and

sending telemetry session data representative of the received statistics data to the secondary node.

4. The method of claim 1 , wherein the telemetry session comprises a transmission control protocol (TCP) session and a plurality of HTTP/2 sessions over the TCP session, and wherein replicating the data of the telemetry session comprises replicating data of the TCP session and each of the HTTP/2 sessions to the secondary node.

5. The method of claim 1 , further comprising:

performing, by the secondary node, the switchover to cause the secondary node to act as the primary node for the routing device; and

after the switchover:

receiving, by the secondary node, statistics data from one or more sensors related to the metrics streaming session; and

sending, by the secondary node, telemetry data representative of the statistics data to the collector device as part of the telemetry session.

6. A routing device comprising:

one or more network elements including one or more of a line card, a packet forwarding engine, or a routing engine;

a primary node implemented in circuitry; and

a secondary node implemented in circuitry, the secondary node being configured as a backup node to the primary node in the event of a switchover from the primary node to the secondary node;

wherein the primary node is configured to:

receive a message from a collector device requesting to initiate a telemetry session to subscribe to statistics of a metrics streaming session;

initiate the telemetry session for sending the statistics to the collector device, wherein to initiate the telemetry session, the primary node is configured to initialize one or more sensors in at least one of the network elements to produce statistics data for the telemetry session;

replicate data of the telemetry session to the secondary node; and

send the data of the telemetry session to the collector device.

7. The routing device of claim 6 , wherein the telemetry session comprises one of a gRPC streaming session, a NETCONF streaming session, a Representational State Transfer (REST) session, or an OpenFlow session.

8. The routing device of claim 6 , wherein to replicate the data of the telemetry session, the primary node is configured to:

receive statistics data from one or more sensors related to the metrics streaming session; and

send telemetry session data representative of the received statistics data to the secondary node.

9. The routing device of claim 6 , wherein the telemetry session comprises a transmission control protocol (TCP) session and a plurality of HTTP/2 sessions, and wherein to replicate the data of the telemetry session, the primary node is configured to replicate data of the TCP session and each of the HTTP/2 sessions to the secondary node.

10. The routing device of claim 6 , wherein the secondary node is configured to:

perform the switchover to cause the secondary node to act as the primary node for the routing device; and

after the switchover:

receive statistics data from one or more sensors related to the metrics streaming session; and

send telemetry data representative of the statistics data to the collector device as part of the telemetry session.

11. A computer-readable storage medium having stored thereon instructions that, when executed, cause a processor of a primary node of a routing device to:

receive a message from a collector device requesting to initiate a telemetry session to subscribe to statistics of a metrics streaming session;

initiate the telemetry session for sending the statistics to the collector device, wherein the instructions that cause the processor to initiate the telemetry session comprise instructions that cause the processor to initialize one or more sensors for one or more network elements of the routing device to produce statistics data for the telemetry session, the one or more network elements including one or more of a line card, a packet forwarding engine, or a routing engine;

replicate data of the telemetry session to a secondary node of the routing device, the secondary node being configured as a backup node to the primary node in the event of a switchover from the primary node to the secondary node; and

send the data of the telemetry session to the collector device.

12. The computer-readable storage medium of claim 11 , wherein the instructions that cause the processor to initiate the telemetry session comprise instructions that cause the processor to initiate one of a gRPC streaming session, a NETCONF streaming session, a Representational State Transfer (REST) session, or an OpenFlow session.

13. The computer-readable storage medium of claim 11 , wherein the instructions that cause the processor to replicate the data of the telemetry session comprise instructions that cause the processor to:

receive statistics data from one or more sensors related to the metrics streaming session; and

send telemetry session data representative of the received statistics data to the secondary node.

14. The computer-readable storage medium of claim 11 , further comprising instructions that cause a processor of the secondary node to:

perform the switchover to cause the secondary node to act as the primary node for the routing device; and

after the switchover:

receive statistics data from one or more sensors related to the metrics streaming session; and

send telemetry session data representative of the statistics data to the collector device as part of the telemetry session.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 5, 2023
From: SINGH, MANEET; WARIYAL, KISHORE; M., VIVEK
To: JUNIPER NETWORKS, INC.
Reel/Frame 063555/0169 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2021
From: SINGH, MANEET; WARIYAL, KISHORE; M, VIVEK
To: JUNIPER NETWORKS, INC.
Reel/Frame 056722/0120 →
Priority Claims (1)
IN 202141022226 · May 18, 2021 · national
Cited By (5)
US 12,294,510 US 12,393,475 US 12,477,033 US 12,726,400 US 12,744,715