# US 2022/0291943 A1 · Logical processing for containers

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

- Number: US 2022/0291943 A1
- Document ID: US20220291943A1
- Status: Published application
- Kind: A1
- Application number: 17/827,925
- Filed: 2022-05-30
- Published: 2022-09-15
- Earliest claimed: 2015-05-17
- Assignees: Nicira, Inc.
- Applicants: Nicira, Inc.
- Inventors: Somik Behera; Donghai Han; Jianjun Shen; Justin Pettit
- Web page: https://patentgrep.com/patent/US20220291943A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- 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/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 45/586: of virtual routers
- H04L 69/329: in the application layer [OSI layer 7]
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 45/745: Address table lookup; Address filtering
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Some embodiments provide a local network controller that manages a first managed forwarding element (MFE) operating to forward traffic on a host machine for several logical networks and configures the first MFE to forward traffic for a set of containers operating within a container virtual machine (VM) that connects to the first MFE. The local network controller receives, from a centralized network controller, logical network configuration information for a logical network to which the set of containers logically connect. The local network controller receives, from the container VM, a mapping of a tag value used by a second MFE operating on the container VM to a logical forwarding element of the logical network to which the set of containers connect. The local network controller configures the first MFE to apply the logical network configuration information to data messages received from the container VM that are tagged with the tag value.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of configuring a first managed forwarding element that operates on a virtual machine (VM) executing on a host computer to process packets from a set of containers operating on the VM, the method comprising:
identifying a logical forwarding element (LFE) to which the set of containers logically connect;
receiving a tag value that maps to the LFE; and
configuring the MFE operating on the VM to tag data messages received from the containers with the tag value before sending the data messages to a second MFE, which executes on the host computer outside of the VM, to perform logical processing associated with the LFE.

### Claim 22 (depends on 21)

The method of claim 21, wherein the identifying, receiving and configuring are performed on a network controller executing on the VM.

### Claim 23 (depends on 22)

The method of claim 22, wherein the VM operates on a host machine and the network controller is a first network controller, wherein a second network controller operates outside of the VM on the host machine.

### Claim 24 (depends on 23)

The method of claim 23, wherein the set of instructions for identifying the logical forwarding element comprises a set of instructions for receiving configuration information that identifies the logical forwarding element from the second network controller.

### Claim 25 (depends on 23)

The method of claim 23, wherein the set of instructions for identifying the logical forwarding element comprises a set of instructions for receiving configuration information that identifies the logical forwarding element from a third network controller that operates outside of the host machine and manages a plurality of host machines.

### Claim 26 (depends on 23)

The method of claim 23, wherein the program further comprises sending a mapping of the local tag value and the logical forwarding element to the second network controller.

### Claim 27 (depends on 26)

method of claim 26, wherein the program further comprises a set of instructions for sending a set of container information to the second network controller.

### Claim 28 (depends on 27)

The method of claim 27, wherein the set of container information comprises application context data for a set of applications executing in the set of containers.

### Claim 29 (depends on 21)

The method of claim 21, wherein the set of instructions for receiving the tag value comprises sets of instructions for:
sending a request to a tag assignment controller; and
receiving a response comprising the tag value.

### Claim 30 (depends on 19)

The method of claim 19, wherein the tag assignment controller maintains a pool of available tag values specified for the VM.

### Claim 31

A method for managing a first managed forwarding element (MFE) executing on a host computer to forward traffic for a set of containers on a virtual machine (VM) executing on the host computer, the method comprising:
from a centralized network controller, receiving logical network configuration information for a logical network to which the set of containers logically connect;
from the VM, receiving a mapping of a tag value used by a second MFE operating on the VM to a logical forwarding element (LFE) of the logical network to which the set of containers connect; and
configuring the first MFE to apply the logical network configuration information to data messages received from the VM that are tagged with the tag value.

### Claim 32 (depends on 31)

The method of claim 31, wherein the tag value is a VLAN tag associated with the logical forwarding element.

### Claim 33 (depends on 31)

The method of claim 31, wherein the logical network is a first logical network and the tag value is a first tag value, wherein the method further comprises:
receiving logical network configuration information for a second logical network to which a second set of containers operating within the VM logically connect;
receiving a mapping of a second tag value used by the second MFE to a logical forwarding element of the second logical network to which the second set of containers connect; and
configuring the first MFE to apply the logical network configuration information to data messages received from the VM that are tagged with the second tag value.

### Claim 34 (depends on 31)

The method of claim 31 further comprising sending configuration information to a second network controller for managing the second MFE, the configuration information for configuring the second MFE to apply a portion of the logical network configuration information.

### Claim 35 (depends on 34)

The method of claim 34, wherein the portion of the logical configuration information relates to forwarding data messages between the containers on the VM.

### Claim 36 (depends on 31)

The method of claim 31, wherein the logical configuration information is for applying at least one of firewall policies, quality of service (QoS) policies, and load balancing policies.

### Claim 37 (depends on 31)

The method of claim 31, wherein receiving the mapping comprises receiving a media access control (MAC) address for each container of the set of containers.

### Claim 38 (depends on 31)

The method of claim 31, wherein the set of containers operating within the VM comprises a set of virtual machines.

### Claim 39 (depends on 31)

The method of claim 31, wherein the data messages comprise at least one of an Ethernet frame, an IP packet, a TCP segment, and a UDP datagram.

### Claim 40 (depends on 31)

The method of claim 31, wherein the containers are for isolating services operating within each container.
