# US 2017/0374180 A1 · Method to build a modular distributed network device using microservices architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0374180 A1
- Document ID: US20170374180A1
- Status: Published application
- Kind: A1
- Application number: 15/331,796
- Filed: 2016-10-21
- Published: 2017-12-28
- Earliest claimed: 2016-06-22
- Assignees: RtBrick Inc.
- Applicants: RtBrick Inc.
- Inventors: Deepak J. Gowda; Pravin S. Bhandarkar; Santosh Pallagatti Kotrabasappa; Hannes Gredler
- Web page: https://patentgrep.com/patent/US20170374180A1

## CPC

- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 45/60: Router architectures
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed herein is a distributed, modular and highly available routing apparatus that is enabled to perform IP, MPLS VPN v4 and v6 services. The routing apparatus comprises a plurality of functional modules selected from the group consisting of a processor, a data storage module, an input/output module, a shared memory, and a network module. Each functional module is driven by a software architecture comprising a TCP/IP stack, a protocol serializer, a protocol de-serializer, an in-memory data store and one or more utility applications. The software architecture is stored partially or completely in the user space of the operating system of the routing apparatus.

## Claims

### Claim 1

A distributed, modular and highly available network routing apparatus that is enabled to perform IP, MPLS VPN v4 and v6 services, the network routing apparatus comprising:
a plurality of functional modules selected from the group consisting of a processor, a data storage module, an input/output module, a shared memory, and a network module;
Wherein the network routing apparatus is run by an operating system comprising a system space and a user space,
wherein each functional module in the plurality functions modules is driven by a micro-services based software architecture comprising one selected from the group consisting of a TCP/IP stack, a protocol serializer, a protocol de-serializer, an in-memory data store, and one or more utility applications, and
Wherein the software architecture is at least partially retained in the user space of the operating system of the network routing apparatus.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The network routing apparatus of claim 1, wherein the in-memory data store comprises one selected from the group consisting of one or more state of the network routing apparatus, one or more state of the software architecture, and one or more state of the software architecture and network routing apparatus.

### Claim 4

(canceled)

### Claim 5

(canceled)

### Claim 6 (depends on 3)

The network routing apparatus of claim 3, wherein each of the one or more state comprises an in memory representation of all data organized in tables in a common binary format: the brick data store format (BDSF), accessible to each of the one or more utility applications which provide control plane and domain specific functionality on the platform.

### Claim at position 7

7-9. (canceled)

### Claim 10 (depends on 1)

The network routing apparatus of claim 1, wherein a protocol serializer or de-serializer serializes information from BDSF objects to on the wire format and de-serializer on the wire format to BDSF objects.

### Claim 11 (depends on 1)

The network routing apparatus of claim 1, wherein the one or more utility applications comprise an input/output daemon (IOd), a forwarding daemon (FWDd), an application daemon (APPd), or combinations thereof.

### Claim 12 (depends on 11)

The network routing apparatus of claim 11, wherein the software architecture allows an Anti-Fragile Restart (AFR), which comprises an instant re-start of an APPd based on a disk snapshot of a previous incarnation of a system state thereby allowing seamless restart from the previous incarnation.

### Claim 13 (depends on 1)

The network routing apparatus of claim 1, wherein sharding of the software architecture is based on one selected from the group consisting of i) a set of neighbors of the routing apparatus within a network to create shard per neighbor, ii) prefixes learnt from the network, iii) a set of neighbors of the routing apparatus within a network to create shard per neighbor and prefixes learnt from the network, iv) range, v) hash, vi) lookup based on number of processors, and combinations thereof.

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16 (depends on 1)

The network routing apparatus of claim 1, wherein the software architecture comprises a JSON configuration file that allows plug-n-play of features.

### Claim 17 (depends on 1)

The network routing apparatus of claim 1, wherein the one or more utility applications allow division and separation of information in the form of prefixes and BGP address families, thereby allowing BGP protocol in the routing control plane to scale by diving processing in smaller atomic units.

### Claim 18 (depends on 1)

The network routing apparatus of claim 1, wherein a planned restart is based on a stored state of the one or more utility applications, wherein the stored state is retained by dumping all tables of each of the one or more utility applications to a non-volatile memory.

### Claim 19 (depends on 18)

The network routing apparatus of claim 18, wherein the stored state of the one or more utility applications can be accessed by a different processor, and wherein the different processor re-populates tables using the stored state of the one or more utility applications.

### Claim 20 (depends on 1)

The network routing apparatus of claim 1, wherein an unplanned restart is based on a state of the one or more utility applications that has persisted in a non-volatile memory of the network routing apparatus and sequence numbers using a distributed block management to ensure no roll-over of these values to allowing collision free restart and perform recovery post restart.

### Claim at position 19

21-23. (canceled)

### Claim 24 (depends on 1)

The network routing apparatus of claim 1, wherein the one or more utility applications allow manipulation of object attributes without assumption on the locality of reference, thereby allowing each of one or more utility applications to create tables, add objects and subscribe for remote updates without concern for locality of the tables.

### Claim 25 (depends on 1)

The network routing apparatus of claim 1, wherein the one or more utility applications allow a recursive architecture where an instance of routing protocol (e.g., IS-IS) used for discovering nodes in a network is also used for discovery of service endpoints and state synchronization.

### Claim 26 (depends on 17)

The network routing apparatus of claim 17, wherein the one or more utility applications allow an Anti-Fragile Restart (AFR) along with localization assumption, thereby allowing state associated with the one or more utility applications to migrate from a first node to a second node (e.g., VMs or chassis within a router or between routers).

### Claim 27

A distributed network routing system comprising:
a network including a plurality of network routing apparatus distributed across the network at network access points; wherein each network routing apparatus comprises:
a plurality of functional modules selected from the group consisting of a processor, a data storage module, an input/output module, a shared memory, and a network module;
wherein each network routing apparatus is run by an operating system comprising a system space and a user space,
wherein each functional module in the plurality functions modules is driven by a micro-services based software architecture comprising one selected from the group consisting of a TCP/IP stack, a protocol serializer, a protocol de-serializer, an in-memory data store, and one or more utility applications, and
wherein the software architecture is at least partially retained in the user space of the operating system of the network routing apparatus.

### Claim 28

A method of providing microservices-based network services in a network comprising a plurality of interconnected network routing apparatus, wherein each network routing apparatus comprises a plurality of functional modules selected from the group consisting of a processor, a data storage module, an input/output module, a shared memory, and a network module; wherein each network routing apparatus is run by an operating system comprising a system space and a user space, wherein the network services are driven by a software architecture comprising a TCP/IP stack, a publish-subscribe bus, a protocol serializer, a protocol de-serializer, an in-memory data store and one or more utility applications, and the method comprising the steps of:
initializing each network routing apparatus,
creating, via one or more forwarding utility applications in the one or more utility applications, one or more tables for forwarding information from an incoming control packet to one or more input/output utility applications in the one or more utility applications, thereby sharding the information from the incoming control packet based on one or more neighboring network routing apparatus; and
creating, via each of the one or more input/output utility applications, one or more new tables for forwarding information from the incoming control packet to one or more route computation utility applications in the one or more utility applications, thereby further sharding the information from the incoming control packet.

### Claim 29 (depends on 28)

The method of claim 28, wherein the step of initializing each network routing apparatus comprises:
reading configuration stored in JSON format from the data storage module; and
instantiating the one or more utility applications to re-creating run time state saved in a binary format (BDSF) from tables in the data storage module.

### Claim 30 (depends on 28)

The method of claim 28, wherein the sharding is based on a mechanism selected from the group consisting of range, prefixes learned from the network, a hash function, and lookup based on number of processors, mapped to internet protocols corresponding to one or more neighboring network routing apparatus and further sharding is based on the prefixes learned from the network are spread across different route computation utility applications learned from one or more neighboring network routing apparatus.

### Claim 31

(canceled)

### Claim 32

(canceled)

### Claim 33 (depends on 32)

The method of claim 32, further comprising:
computing, via one or more route computation utility applications, the best route for downloading a specific prefix, thereby generating a publish-subscribe update that is processed by one or more the forwarding utility applications.

### Claim 34

(canceled)

### Claim 35 (depends on 1)

A computer program product comprising a computer-readable medium having computer program logic recorded thereon arranged to put into effect the software architecture of claim 1.
