# US 2017/0317954 A1 · Automatic configuration of logical routers on edge nodes

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

- Number: US 2017/0317954 A1
- Document ID: US20170317954A1
- Status: Published application
- Kind: A1
- Application number: 15/420,043
- Filed: 2017-01-30
- Published: 2017-11-02
- Earliest claimed: 2016-04-28
- Assignees: Nicira, Inc.
- Applicants: Nicira, Inc.
- Inventors: Uday Masurekar; Abhishek Goliya; Minjal Agarwal
- Web page: https://patentgrep.com/patent/US20170317954A1

## CPC

- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 41/0894: Policy-based network configuration management
- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 45/586: of virtual routers
- H04L 47/83: based on usage prediction
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 45/64: using an overlay routing layer
- H04L 45/745: Address table lookup; Address filtering
- H04L 47/783: Distributed allocation of resources, e.g. bandwidth brokers
- H04L 63/0218: {Distributed architectures, e.g. distributed firewalls}
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 63/0263: {Rule management}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Some embodiments provide a method or tool for automatically configuring a logical router on one or more edge nodes of an edge cluster (e.g., in a hosting system such as a datacenter). The method of some embodiments configures the logical router on the edge nodes based on a configuration policy that dictates the selection method of the edge nodes. In some embodiments, an edge cluster includes several edge nodes (e.g., gateway machines), through which one or more logical networks connect to external networks (e.g., external logical and/or physical networks). In some embodiments, the configured logical router connects a logical network to an external network through the edge nodes.

## Claims

### Claim 1

A method for configuring a logical router for a logical network, the method comprising:
receiving a definition of a logical router for configuring the logical router for a logical network;
identifying one or more edge nodes in an edge cluster that connects the logical network to one or more external networks, wherein each edge node is identified based on a rule in a set of rules related to the logical router and a set of real-time statistical data related to the edge node; and
configuring the identified edge nodes to implement the logical router.

### Claim 2 (depends on 1)

The method of claim 1, wherein the logical router comprises a distributed routing component and one or more service routing components, wherein each service routing component is configured on one identified edge node of the edge cluster.

### Claim 3 (depends on 2)

The method of claim 2, wherein for a particular service routing component, an active service routing component is configured on a first edge node and a standby routing component is configured on a second different edge node.

### Claim 4 (depends on 3)

The method of claim 3, wherein the active service routing component is configured on the first edge node based on a first set of rules, wherein the standby service routing component is configured on the second edge node based on a second set of rules.

### Claim 5 (depends on 1)

The method of claim 1 further comprising:
receiving a configuration policy from a user that comprises the set of rules; and
receiving the set of real-time statistical data from one or more databases.

### Claim 6 (depends on 1)

The method of claim 1, wherein each rule in the set of rules has a priority order based on a rank that is assigned to the rule.

### Claim 7 (depends on 6)

The method of claim 6, wherein the rule based on which each edge node is identified has a highest rank in the set of rules.

### Claim 8 (depends on 6)

The method of claim 6 further comprising, when no edge node matches any rule in the set of rules, identifying a first available edge node for configuring the logical router.

### Claim 9 (depends on 1)

The method of claim 1, wherein the set of rules comprises at least one rule for selecting an edge node that has the lowest number of connections to the external networks, wherein the set of statistical data for each selected edge node indicates that the edge node has the least number of connections to the external network at a time of selection of the edge node.

### Claim 10 (depends on 1)

The method of claim 1, wherein the set of rules comprises at least one rule for selecting an edge node on which a lowest number of logical routers is configured, wherein the set of statistical data for each selected edge node indicates that the edge node has the lowest number of configured logical routers at a time of selection of the edge node.

### Claim 11 (depends on 1)

The method of claim 1, wherein the set of rules comprises at least one rule for selecting an edge node that has been least recently used for logical router configuration, wherein the set of statistical data for each selected edge node indicates that the edge node has been least recently used at a time of selection of the edge node.

### Claim 12 (depends on 1)

The method of claim 1, wherein the set of rules comprises at least one rule for selecting an edge node through which the least amount of network traffic passes, wherein the set of statistical data for each selected edge node indicates that the edge node has the least amount of network traffic passed through the edge node at a time of selection of the edge node.

### Claim 13

A non-transitory machine readable medium storing a program executed by at least one processing unit, the program comprising sets of instructions for:
receiving a definition of a logical router for configuring the logical router for a logical network;
identifying one or more edge nodes in an edge cluster that connects the logical network to one or more external networks, wherein each edge node is identified based on a rule in a set of rules related to the logical router and a set of real-time statistical data related to the edge node; and
configuring the identified edge nodes to implement the logical router.

### Claim 14 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the logical router comprises a distributed routing component and one ore more service routing components, wherein the set of instructions for automatically configuring the logical router comprises a set of instructions for automatically configuring each service routing component on one identified edge node of the edge cluster.

### Claim 15 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the edge nodes comprise a first set of edge nodes in the edge cluster, wherein the program further comprises a set of instructions for, before identifying the first set of edge nodes, identifying a second set of edge nodes in the edge cluster that is not qualified for configuring the logical router.

### Claim 16 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein the second set of edge nodes is not qualified based on at least one of a user defined constraint, a system constraint, and a product constraint.

### Claim 17 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein the logical router is a first logical router, wherein the program further comprises sets of instructions for:
receiving a definition of a second logical router to be configured for the logical network;
determining, based on a particular rule in the set of rules, that the second logical router should be configured on the same identified edge nodes on which the first logical router is configured; and
configuring the identified edge nodes to implement the second logical router.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the particular rule specifies that when a second-tier logical router belongs to a same logical network to which a first-tier logical router belongs, the second-tier logical router should be configured on same edge nodes of the edge cluster on which the first-tier logical router is configured.

### Claim 19 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the second logical router comprises a distributed routing component and a service routing component, wherein the service routing component of the second logical router provides stateful routing services for the logical network data traffic.

### Claim 20 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the program further comprises sets of instructions for:
receiving a definition of a third logical router to be configured for the logical network; and
foregoing configuring any of the edge nodes of the edge cluster to implement the third logical router.

### Claim 21 (depends on 20)

The non-transitory machine readable medium of claim 20, wherein the third logical router comprises only a distributed routing component and does not include any service routing component.

### Claim 22 (depends on 13)

The non-transitory machine readable medium of claim 13, wherein program further comprises sets of instructions for:
receiving a definition of a plurality of logical switches to be configured for the logical network; and
configuring the plurality of logical switches on a plurality of host machines each of which hosts a set of data compute nodes, wherein the the plurality of logical switches along with the logical router logically connect the sets of data compute nodes to each other and to an external network.

### Claim 23 (depends on 22)

The non-transitory machine readable medium of claim 22, wherein the logical router comprises a distributed routing component and a set of service routing components, wherein each of the plurality of host machines executes a managed forwarding element that implements the plurality of logical switches and the distributed routing component by performing forwarding operations of each of the logical switches and of the distributed routing component.

### Claim 24 (depends on 23)

The non-transitory machine readable medium of claim 23, wherein each edge node in the edge cluster also comprises a managed forwarding element that implements the plurality of logical switches and the distributed routing component, wherein the host machines and edge nodes tunnel logical network traffic between each other through the managed forwarding elements.
