Forwarding element implementation for containers
AssigneeNicira, Inc.
InventorsJianjun Shen, Donghai Han, Vadim Egorov, Corentin Derbois
Life of this patent
Estimating the term…
Abstract
A method of creating containers in a physical host that includes a managed forwarding element (MFE) configured to forward packets to and from a set of data compute nodes (DCNs) hosted by the physical host. The method creates a container DCN in the host. The container DCN includes a virtual network interface card (VNIC) configured to exchange packets with the MFE. The method creates a plurality of containers in the container DCN. The method, for each container in the container DCN, creates a corresponding port on the MFE. The method sends packets addressed to each of the plurality of containers from the corresponding MFE port to the VNIC of the container DCN.
Claims20
A method of configuring processing of packets associated with a plurality of containers executing on a virtual machine (VM) on a host computer that also executes a managed forwarding element (MFE), the method comprising:
- for each particular container in the plurality of containers executing on the VM;
- creating a corresponding MFE port on the MFE for receiving packets sent to the particular container;
- configuring the MFE to forward the received packets sent to the particular container to the particular container's associated MFE port;
- and
- configuring a set of service policies to be enforced on packets received at the MFE port associated with the particular container.
A non-transitory machine readable medium storing a program for configuring processing of packets associated with a plurality of containers executing on a virtual machine (VM) on a host computer that also executes a managed forwarding element (MFE), the program comprising sets of instructions for:
- for each particular container in the plurality of containers executing on the VM;
- creating a corresponding MFE port on the MFE for receiving packets sent to the particular container;
- configuring the MFE to forward the received packets sent to the particular container to the particular container's associated MFE port;
- and
- configuring a set of service policies to be enforced on packets received at the MFE port associated with the particular container.
Dependencies are inferred from the claim text.