# US 2024/0406112 A1 · Automatic policy engine selection

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

- Number: US 2024/0406112 A1
- Document ID: US20240406112A1
- Status: Published application
- Kind: A1
- Application number: 18/800,289
- Filed: 2024-08-12
- Published: 2024-12-05
- Earliest claimed: 2021-10-11
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Mark A. Parenti; Timothy M. Ireland; Mathieu Riverin; Rajaseelan Manavalan; Marek Tomasz Telus
- Web page: https://patentgrep.com/patent/US20240406112A1

## CPC

- H04L 47/20: Traffic policing
- H04L 41/08: Configuration management of networks or network elements (address allocation H04L61/50)
- H04L 41/0894: Policy-based network configuration management
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

One aspect of the instant application facilitates automatic policy engine selection. During operation, a system can monitor a network including a set of network devices. The system can receive, based on the monitoring, a set of attributes associated with the network. At least two network devices are equipped with a different policy enforcement engine for enforcing one or more given policy rules. The system can apply a unified policy model to determine, based on the set of attributes, an assignment of the one or more given policy rules to the first policy enforcement engine and the second policy enforcement engine for providing an optimized policy enforcement. The system may then select based on the assignment, one or both of the first policy enforcement engine and the second policy enforcement engine. The system may activate the selected one or both policy enforcement engines for enforcing the given policy rules.

## Claims

### Claim 1 (depends on 1)

A computer-implemented method comprising:
monitoring, by a controller, a network including a set of network devices;
receiving, based on the monitoring, a set of attributes associated with the network, wherein at least two network devices are equipped with a first policy enforcement engine and a second policy enforcement engine, respectively, for enforcing one or more given policy rules;
applying a unified policy model to determine, based on the set of attributes, an assignment of the one or more given policy rules to the first policy enforcement engine and the second policy enforcement engine for providing an optimized policy enforcement,
selecting, based on the assignment, one or both of the first policy enforcement engine and the second policy enforcement engine; and
activating, by the controller, the selected one or both policy enforcement engines for enforcing the one or more given policy rules. cm 2. The computer-implemented method of claim 1, wherein the set of attributes includes one or more of network device related attributes:
amount of memory available at a respective network device;
processing resource capability at the network device;
number of policy rules supported by a policy enforcement engine associated with the network device; and
latency added to a given network traffic flow.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the set of attributes incudes one or more of network related attributes:
efficiency of a likely network path taken by a given network traffic flow;
different types of policy enforcement engines along the likely network path; and
current location(s) of one or more hosts corresponding to one or more virtual machines.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
creating, based on the set of attributes, the unified policy model which involves:
receiving, at a controller, configuration information from a set of network devices residing in a network, wherein at least two network devices are equipped with a different policy enforcement engine with each policy enforcement engine associated with a different Application Programming Interface (API), wherein the API provides a different representation of a similar policy function;
determining, based on the configuration information, different representations corresponding to a set of similar policy functions; and
performing a first mapping from the different representations corresponding to the set of similar policy functions to a single unified representation.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
determining, based on the configuration information, different representations corresponding to a set of different capabilities across the policy enforcement engines;
performing a second mapping from the different representations corresponding to the set of different capabilities to multiple unified representations;
creating, based on the first mapping and the second mapping, the unified API including the first unified representation and the set of unified representations; and
applying the unified API to configure and manage the different policy enforcement engines in the network.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein activating, by the controller, the selected one or both policy enforcement engines for enforcing the one or more given policy rules comprises:
sending, based on the assignment, one or more commands to the selected one or both policy enforcement engine to add the one or more given policy rules in a policy lookup table associated with a corresponding network device.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein applying the unified policy model to determine, based on the set of attributes, the assignment of the one or more given policy rules to the first policy enforcement engine and the second policy enforcement engine for providing the optimized policy enforcement further comprising:
determining, based on the set of attributes and the given policy rules, that assigning a first policy rule to a first policy enforcement engine and a second policy rule to the second policy enforcement engine results in optimized policy enforcement, wherein the optimized policy enforcement indicates that enforcing the given policy rules by the corresponding policy enforcement engines satisfies one or more performance criteria.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the performance criteria include one or more of:
enforcing a first policy rule by one policy enforcement engine does not conflict with a second policy rule enforced by another policy enforcement engine;
assignment of the one or more policy rules among the different policy enforcement engines along a network path for a given network traffic flow provides for improved path efficiency; and
amount of latency added by the selected policy enforcement engines is below a latency threshold.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
in response to determining that enforcing at least one policy rule by a policy enforcement engine does not provide the optimized policy enforcement, deactivating the policy enforcement engine from enforcing the policy rule.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein deactivating the policy enforcement engine from enforcing the policy rule involves: sending one or more API commands to the policy enforcement engine to remove the policy rule from a policy lookup table in a corresponding network device.

### Claim 11

A computer system, comprising:
a processor;
a memory coupled to the processor and storing instructions which, when executing by the processor, cause the processor to perform a method, the method comprising:
monitoring, by a controller, a network including a set of network devices;
receiving, based on the monitoring, a set of attributes associated with the network, wherein at least two network devices are equipped with a first policy enforcement engine and a second policy enforcement engine, respectively, for enforcing one or more given policy rules;
applying a unified policy model to determine, based on the set of attributes, an assignment of the one or more given policy rules to the first policy enforcement engine and the second policy enforcement engine for providing an optimized policy enforcement,
selecting, based on the assignment, one or both of the first policy enforcement engine and the second policy enforcement engine; and
activating, by the controller, the selected one or both policy enforcement engines for enforcing the one or more given policy rules.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the set of attributes includes one or more of network device related attributes:
amount of memory available at a respective network device;
processing resource capability at the network device;
number of policy rules supported by a policy enforcement engine associated with the network device; and
latency added to a given network traffic flow.

### Claim 13 (depends on 11)

The computer system of claim 11, wherein the set of attributes incudes one or more of network related attributes:
efficiency of a likely network path taken by a given network traffic flow;
different types of policy enforcement engines along the likely network path; and
current location(s) of one or more hosts corresponding to one or more virtual machines.

### Claim 14 (depends on 11)

The computer system of claim 11, the method further comprising:
creating, based on the set of attributes, the unified policy model which involves:
receiving, at a controller, configuration information from a set of network devices residing in a network, wherein at least two network devices are equipped with a different policy enforcement engine with each policy enforcement engine associated with a different Application Programming Interface (API), wherein the API provides a different representation of a similar policy function;
determining, based on the configuration information, different representations corresponding to a set of similar policy functions; and
performing a first mapping from the different representations corresponding to the set of similar policy functions to a single unified representation.

### Claim 15 (depends on 14)

The computer system of claim 14, the method further comprising:
determining, based on the configuration information, different representations corresponding to a set of different capabilities across the policy enforcement engines;
performing a second mapping from the different representations corresponding to the set of different capabilities to multiple unified representations;
creating, based on the first mapping and the second mapping, the unified API including the first unified representation and the set of unified representations; and
applying the unified API to configure and manage the different policy enforcement engines in the network.

### Claim 16 (depends on 11)

The computer system of claim 11, wherein activating, by the controller, the selected one or both policy enforcement engines for enforcing the one or more given policy rules comprises:
sending, based on the assignment, one or more commands to the selected policy enforcement engine(s) to add the one or more given policy rules in a policy lookup table associated with a corresponding network device.

### Claim 17 (depends on 11)

The computer system of claim 11, wherein applying the unified policy model to determine, based on the set of attributes, the assignment of the one or more given policy rules to the first policy enforcement engine and the second policy enforcement engine for providing the optimized policy enforcement further comprising:
determining, based on the set of attributes and the given policy rules, that assigning a first policy rule to a first policy enforcement engine and a second policy rule to the second policy enforcement engine results in optimized policy enforcement, wherein the optimized policy enforcement indicates that enforcing the given policy rules by the corresponding policy enforcement engines satisfies one or more performance criteria.

### Claim 18 (depends on 11)

The computer system of claim 11, wherein the performance criteria include one or more of:
enforcing a first policy rule by one policy enforcement engine does not conflict with a second policy rule enforced by another policy enforcement engine;
assignment of the one or more policy rules among the different policy enforcement engines along a network path for a given network traffic flow provides for improved path efficiency; and
amount of latency added by the selected policy enforcement engines is below a latency threshold.

### Claim 19 (depends on 11)

The computer system of claim 11, wherein the method further comprising:
in response to determining that enforcing at least one policy rule by a policy enforcement engine does not provide the optimized policy enforcement, deactivating the policy enforcement engine from enforcing the policy rule.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein deactivating the policy enforcement engine from enforcing the policy rule involves: sending one or more API commands to the policy enforcement engine to remove the policy rule from a policy lookup table in a corresponding network device.
