hottub.patents
US 12,401,623 B2#3458638 Most CitedActiveUnited States (USPTO)Utility

Merging chained actions in traffic policies having branch rules

0Forward Citations (#3458638 Global)
0.0/yrCitation Velocity (#3458638 Global)
0.00Citation PageRank (#3458638 Global)
22Prior Art Cited
8Claims (2 Indep. · 6 Dep.)
0Drawings / Sheets

Abstract

A traffic policy includes policy rules that specify branch actions in their action fields. A branch action specifies another policy rule in the traffic policy. Packet filters generated from the traffic policy represent the traffic policy rules and execution order semantics of the branch rules. The packet filters include resolved actions that are generated by resolving the original actions in the policy rules.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.

Claims (8 — 2 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A method for programming a traffic policy in a network device, the method comprising: accessing a traffic policy comprising branch rules and non-branch rules, wherein the branch rules and non-branch rules include actions, wherein the branch rules include branch actions in addition to non-branch actions, wherein the branch actions specify other rules anywhere in the traffic policy; identifying a chain of rules comprising a plurality of branch rules and a non-branch rule in the traffic policy, wherein each of the branch rules references another rule in the chain of rules, wherein a last branch rule references the non-branch rule; identifying at least one group of actions comprising two or more non-branch actions of a same action category from among a plurality of actions in the chain of rules; resolving the two or more non-branch actions in the at least one group of actions according to a resolution procedure that corresponds to the action category of the two or more non-branch actions t

  2. Claim 2Depends on #1

    The method of claim 1, wherein the resolution procedure includes selecting as the resolved action an action in the at least one group of actions that is associated with a highest priority rule in the chain of rules.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the resolution procedure includes selecting as the resolved action an action in the at least one group of actions that is associated with a lowest priority rule in the chain of rules.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the resolution procedure produces only one resolved action.

  5. Claim 5Depends on #1

    The method of claim 1, wherein a first resolution procedure for a first action category is different from a second resolution procedure for a second action category.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising: identifying additional groups of actions among the plurality of actions; and resolving each additional group of actions according to a resolution procedure that corresponds to an action category with which the additional group is associated.

  7. Claim 7Independent Claim

    A network device comprising: one or more computer processors; a computer-readable storage medium; and a forwarding information base (FIB), the computer-readable storage medium comprising instructions for controlling the one or more computer processors to: receive a traffic policy comprising branch rules and non-branch rules, wherein the branch rules and non-branch rules include non-branch actions, wherein the branch rules further include branch actions, wherein each branch action specifies any one of the rules in the traffic policy; identify a chain of rules that comprises a plurality of branch rules and a non-branch rule from the traffic policy, wherein each of the branch rules references another rule in the chain of rules, wherein a last branch rule references the non-branch rule, the chain of rules being associated with a plurality of actions from rules in the chain of rules; generate one or more resolved actions from the plurality of actions in the chain of rules using one or more

  8. Claim 8Depends on #7

    The network device of claim 7, wherein one of the resolution algorithms includes selecting, as a resolved action, an action from a group of actions, wherein the selected action is selected from a policy rule that is chosen based on its priority.

Technical Overview & Description

CROSS REFERENCE TO RELATED APPLICATIONS Pursuant to 35 U.S.C. § 119(e), this application is entitled to and claims the benefit of the filing date of U.S. Provisional App. No. 63/304,153 filed Jan. 28, 2022, the content of which is incorporated herein by reference in its entirety for all purposes. This application is a continuation-in-part application and, pursuant to 35 U.S.C. § 120, is entitled to and claims the benefit of earlier filed application U.S. application Ser. No. 17/476,352 filed Sep. 15. 2021, the content of which is incorporated herein by reference in its entirety for all purposes. BACKGROUND A network traffic policy is used to identify packets (ingress or egress) for processing. The traffic policy is an ordered list of policy rules, each of which is associated with a set of actions. Each rule is expressed as a combination of match criteria classifying packets (ingress or egress). The rules are processed and eventually compiled into a list of packet filters that can be used in a packet processor. Generally, the list of packet filters are ordered in the same order as the list of source rules, where the first rule in the list is deemed to have highest priority and the last rule has lowest priority. The packet processor matches the list of packet filters against a packet in prioritized, first-hit fashion. In other words, actions associated with the highest priority packet filter that matches the packet are applied to the packet. BRIEF DESCRIPTION OF THE DRAWINGS With respect to the discussion to follow and in particular to the drawings, it is stressed that the particulars shown represent examples for purposes of illustrative discussion, and are presented in the cause of providing a description of principles and conceptual aspects of the present disclosure. In this regard, no attempt is made to show implementation details beyond what is needed for a fundamental understanding of the present disclosure. The discussion to follow, in conjunction with the drawi

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (22)

Non-Patent Literature (10)

  • Schlesinger et al.,
  • “
  • Concurrent NetCore: From Polices to Pipelines
  • ”
  • , Proceedings of the 2009 ACM Sigplan Conference on Programming Language Design and Implementation, Jun. 15-20, 2009, vol. 49, No. 9, Aug. 19, 2014, pp. 11-24.
  • Smolka et al.,
  • “
  • A fast compiler for NetKAT
  • ”
  • , ACM Sigplan Notices, Association for Computing Machinery, vol. 50, No. 9, Aug. 29, 2015, pp. 328-341.