# US 2020/0272499 A1 · Creating and distributing service chain descriptions

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

- Number: US 2020/0272499 A1
- Document ID: US20200272499A1
- Status: Published application
- Kind: A1
- Application number: 16/445,044
- Filed: 2019-06-18
- Published: 2020-08-27
- Earliest claimed: 2019-02-22
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Yong Feng; Anuprem Chalvadi; Yang Ping; Yanjun Lin; Li Sun; Akhila Naveen; Fenil Kavathia; Pierluigi Rolando; Jayant Jain; Raju Koganty
- Web page: https://patentgrep.com/patent/US20200272499A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 41/0803: Configuration setting
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/0893: Assignment of logical groups to network elements
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 41/5003: Managing SLA; Interaction between SLA and QoS
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- H04L 45/26: {Route discovery packet}
- H04L 45/308: {Route determination based on user's profile, e.g. premium users}
- H04L 45/38: {Flow based routing}
- H04L 45/586: of virtual routers
- H04L 45/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 45/74: Address processing for routing
- H04L 45/745: Address table lookup; Address filtering
- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 47/17: Interaction among intermediate nodes, e.g. hop by hop
- H04L 47/19: at layers above the network layer (network arrangements for networked applications for scheduling or organising the servicing of application requests H04L67/60)
- H04L 47/2425: for supporting services specification, e.g. SLA
- H04L 49/252: {Store and forward routing}
- H04L 49/3009: {Header conversion, routing tables or routing tags}
- H04L 61/2592: using tunnelling or encapsulation
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/101: based on network conditions
- H04L 67/30: Profiles
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/563: Data redirection of data network streams
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L 67/63: Routing a service request depending on the request content or context
- H04L 69/321: Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers
- H04L 69/324: in the data link layer [OSI layer 2], e.g. HDLC
- H04L 69/325: in the network layer [OSI layer 3], e.g. X.25 (H04L69/16 takes precedence)
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 69/22: Parsing or analysis of headers
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L 2212/00: Encapsulation of packets
- 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 novel methods for performing services for machines operating in one or more datacenters. For instance, for a group of related guest machines (e.g., a group of tenant machines), some embodiments define two different forwarding planes: (1) a guest forwarding plane and (2) a service forwarding plane. The guest forwarding plane connects to the machines in the group and performs L2 and/or L3 forwarding for these machines. The service forwarding plane (1) connects to the service nodes that perform services on data messages sent to and from these machines, and (2) forwards these data messages to the service nodes. In some embodiments, the guest machines do not connect directly with the service forwarding plane. For instance, in some embodiments, each forwarding plane connects to a machine or service node through a port that receives data messages from, or supplies data messages to, the machine or service node. In such embodiments, the service forwarding plane does not have a port that directly receives data messages from, or supplies data messages to, any guest machine. Instead, in some such embodiments, data associated with a guest machine is routed to a port proxy module executing on the same host computer, and this other module has a service plane port. This port proxy module in some embodiments indirectly can connect more than one guest machine on the same host to the service plane (i.e., can serve as the port proxy module for more than one guest machine on the same host).

## Claims

### Claim 1

A method of specifying a sequence of services, the method comprising:
defining a chain of services to perform on a set of data messages associated with at least one host computer and a service chain identifier to identify the defined service chain;
defining a plurality of service paths to implement the service chain, each service path defined by reference to a plurality of service nodes;
distributing, to each service node in each defined service path, a description of at least a portion of the defined service chain along with the service chain identifier; and
distributing to the host computer (i) data for each service path for the host computer to use to select one of the service paths for the data message, and (ii) a service chain identifier for the host computer to forward with the data message when forwarding the data message to service nodes of the selected service path.

### Claim 2 (depends on 1)

The method of claim 1, wherein the service node uses the service chain identifier to identify a service operation to perform on the data message.

### Claim 3 (depends on 1)

The method of claim 1, wherein the service node uses the service chain identifier to identify a service rule that specifies a service operation to perform on the data message.

### Claim 4 (depends on 1)

The method of claim 1, wherein a service node uses the service chain identifier to identify a set of service rules to examine for the data message, and then examines the identified set of rules to identify a service rule that is applicable to the data message, the identified service rule specifying a service operation to perform on the data message.

### Claim 5 (depends on 1)

The method of claim 1, wherein
defining the service chain comprises defining the service chain by reference to a plurality of service profiles with each profile corresponding to a particular service in the service chain;
distributing the description of at least a portion of the defined service chain comprises providing to each service node a mapping of the service chain identifier to a service profile associated with the service node.

### Claim 6 (depends on 5)

The method of claim 5, wherein the provided service chain description to each service node further includes a service index that specifies a location of the service node's service in the service chain, the provided description mapping the service chain identifier and the service index to the service node's service profile.

### Claim 7 (depends on 5)

The method of claim 5, wherein the provided service chain description to each service node further includes a service index that specifies a location of the service node's service in the service chain and a direction that specifies a forward or reverse processing order through the services of the service chain, the provided description mapping the service chain identifier, the service index and direction to the service node's service profile.

### Claim 8 (depends on 5)

The method of claim 5, wherein the service profile for each service node maps to a set of service rules examined by the service node.

### Claim 9 (depends on 8)

The method of claim 8, wherein
the service profiles of a service node are defined in a service template associated with the service node, and are used to define service chains,
the method further comprising defining service insertion rules for the host computer to enforce, each defined service insertion rule comprising a rule identifier and specifying a service chain to use for data message flows that match a rule identifier.

### Claim 10 (depends on 9)

The method of claim 9, wherein the service insertion rules are distributed with a set of records that map each service chain identifier in the service insertion rules to a set of service paths.

### Claim 11

A non-transitory machine readable medium storing a program for execution by at least one processing unit and for specifying a sequence of services, the program comprising sets of instructions for:
defining a chain of services to perform on a set of data messages associated with at least one host computer and a service chain identifier to identify the defined service chain;
defining a plurality of service paths to implement the service chain, each service path defined by reference to a plurality of service nodes;
distributing, to each service node in each defined service path, a description of at least a portion of the defined service chain along with the service chain identifier; and
distributing to the host computer (i) data for each service path for the host computer to use to select one of the service paths for the data message, and (ii) a service chain identifier for the host computer to forward with the data message when forwarding the data message to service nodes of the selected service path.

### Claim 12 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the service node uses the service chain identifier to identify a service operation to perform on the data message.

### Claim 13 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the service node uses the service chain identifier to identify a service rule that specifies a service operation to perform on the data message.

### Claim 14 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein a service node uses the service chain identifier to identify a set of service rules to examine for the data message, and then examines the identified set of rules to identify a service rule that is applicable to the data message, the identified service rule specifying a service operation to perform on the data message.

### Claim 15 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein
the set of instructions for defining the service chain comprises a set of instructions for defining the service chain by reference to a plurality of service profiles with each profile corresponding to a particular service in the service chain;
the set of instructions for distributing the description of at least a portion of the defined service chain comprises a set of instructions for providing to each service node a mapping of the service chain identifier to a service profile associated with the service node.

### Claim 16 (depends on 15)

The non-transitory machine readable medium of claim 15, wherein the service insertion rules are distributed with a set of records that map each service chain identifier in the service insertion rules to a set of service paths.

### Claim 17 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the service chain description and identifier are distributed to the service nodes instead of the service path description because the service paths change more frequently than the service chain.

### Claim 18 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the host computer selects one service path to implement the service chain for all data messages for which the service chain is defined.

### Claim 19 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the distributed data for the service paths is used by the host computer to select at least two different service paths for at least two different data message flows for which the service chain is defined.
