Systems and methods for consistent configuration update handling in high availability deployments using a global configuration epoch
Abstract
A networking device in a high availability (HA) configuration processes network flows for a virtual network interface card (VNIC). Network configurations include networking policies governing network packet processing by the networking device. Global epoch values are associated with each network configuration version. The networking device has a control plane, a data plane, and a flow table. The control plane uses the most recent network configuration to produce flow table entries for storage in the flow table. The data plane uses the flow table entries to process network packets. Flow table entries include flow epoch values matching the global epoch value associated with the network configurations used to create the flow entries. Datapath epoch values, VNIC peer epoch values, and VNIC local epoch values are associated with the VNICs and used to ensure consistent flow table entries among the peers in the HA configuration.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (21 — 3 Independent, 18 Dependent)
- Claim 1Independent Claim
A networking device comprising: a packet processing pipeline circuit configured to implement a data plane; and a processor configured to implement a control plane, wherein the packet processing pipeline circuit and the processor are further configured to implement flow table updating, wherein the flow table updating includes: the data plane using an encapsulated network packet received from a virtual network interface card (VNIC) to identify a flow table entry; making a determination that the flow table entry is out of date, that a virtual internet protocol (VIP) address in the encapsulated network packet is bound to the VNIC, and that the VNIC is in a high availability (HA) active role for the VIP address; and the control plane updating the flow table entry in response to a result of making the determination.
- Claim 2Depends on #1
The networking device of claim 1, wherein: a VNIC datapath epoch value is determined from a VNIC local epoch value and a VNIC peer epoch value that is the VNIC local epoch value of a HA peer; and a flow epoch value stored in the flow table entry being less than the VNIC datapath epoch value indicates that the flow table entry is out of date.
- Claim 3Depends on #2
The networking device of claim 2, wherein: a network configuration received by the networking device is associated with a global epoch value; and the networking device is configured to update the VNIC local epoch value to equal the global epoch value in response to determining that the network configuration changes a policy that is implemented for the VNIC and that the global epoch value is greater than the VNIC local epoch value.
- Claim 4Depends on #3
The networking device of claim 3, wherein the control plane is configured to update the VNIC datapath epoch value after updating the VNIC local epoch in response to determining that the VNIC has the HA active role for the VIP address and the VIP address is bound to the VNIC.
- Claim 5Depends on #4
The networking device of claim 4, wherein updating the VNIC datapath epoch value includes incrementing the VNIC datapath epoch value by one in response to determining that the VNIC peer epoch value equals the VNIC local epoch value.
- Claim 6Depends on #4
The networking device of claim 4, wherein updating the VNIC datapath epoch value includes incrementing the VNIC datapath epoch value by a difference between the VNIC local epoch value and the VNIC peer epoch value in response to determining that the VNIC peer epoch value does not equal the VNIC local epoch value.
- Claim 7Depends on #3
The networking device of claim 3, wherein the VNIC local epoch value is not updated in response to receiving the network configuration after determining that none of a plurality of policies that are implemented for the VNIC are changed by the network configuration.
- Claim 8Depends on #3
The networking device of claim 3, wherein a second VNIC local epoch value and a second VNIC datapath epoch value are associated with a second VNIC; the networking device is configured to update the second VNIC local epoch value to equal the global epoch value in response to determining that the network configuration changing a second policy implemented for the second VNIC; and the networking device is configured to update the second VNIC datapath epoch value in response to determining that the second VNIC has the HA active role for a second VIP address that is bound to the second VNIC.
- Claim 9Depends on #3
The networking device of claim 3, wherein: the networking device is configured to send a sync packet to the HA peer; the sync packet includes a flow table update for the flow table entry; and the flow epoch value included in the flow table update equals the global epoch value.
- Claim 10Depends on #2
The networking device of claim 2, wherein the networking device is configured to send the VNIC local epoch value to the HA peer after updating the VNIC local epoch value.
- Claim 11Depends on #2
The networking device of claim 2, wherein the VNIC peer epoch value does not equal the VNIC local epoch value.
- Claim 12Depends on #2
The networking device of claim 2, wherein the VNIC local epoch value is less than a global epoch value associated with a HA configuration that includes the networking device and the HA peer.
- Claim 13Depends on #2
The networking device of claim 2, wherein: the networking device is configured to receive a sync packet for the flow table entry; the sync packet includes a second flow epoch value of the flow table entry; and the networking device is configured to use the sync packet to update the flow table entry in response to determining that the second flow epoch value is greater than the flow epoch value.
- Claim 14Depends on #2
The networking device of claim 2, wherein the networking device is configured to transition to a standby role for the VNIC in response to the HA peer transitioning to an HA active role.
- Claim 15Depends on #1
The networking device of claim 1, wherein: the data plane is configured to determine that the flow table entry is out of date; the control plane is configured to determine that the VIP address is bound to the VNIC; and the control plane is configured to determine that the VNIC is in the HA active role for the VIP address.
- Claim 16Independent Claim
A method comprising: using, by a data plane, an encapsulated network packet received from a virtual network interface card (VNIC) to identify a flow table entry; making a determination that the flow table entry is out of date, that a virtual internet protocol (VIP) address in the encapsulated network packet is bound to the VNIC, and that the VNIC is in a HA active role for the VIP address; and updating, by a control plane, the flow table entry in response to a result of making the determination, wherein: a packet processing pipeline circuit of a networking device is configured to implement the data plane; and a processor of the networking device is configured to implement the control plane.
- Claim 17Depends on #16
The method of claim 16, wherein: a VNIC datapath epoch value is determined from a VNIC local epoch value and a VNIC peer epoch value that is the VNIC local epoch value of a HA peer; and updating the flow table entry includes setting a flow epoch value that is in the flow table entry to equal the VNIC datapath epoch value.
- Claim 18Depends on #16
The method of claim 16, wherein: a VNIC datapath epoch value is determined from a VNIC local epoch value and a VNIC peer epoch value that is the VNIC local epoch value of a HA peer; and a flow epoch value stored in the flow table entry being less than the VNIC datapath epoch value indicates that the flow table entry is out of date.
- Claim 19Depends on #18
The method of claim 18, further including: receiving a network configuration that is associated with a global epoch value; and setting the VNIC local epoch value to equal the global epoch value in response to determining that the network configuration changes a policy that is implemented for the VNIC and that the global epoch value is greater than the VNIC local epoch value.
- Claim 20Depends on #19
The method of claim 19, further including: using the VNIC local epoch value to update the VNIC datapath epoch value after updating the VNIC local epoch and after determining that the VNIC has the HA active role for the VIP address in the encapsulated network packet and that the VIP address is bound to the VNIC.
- Claim 21Independent Claim
A networking device comprising: a circuit means for implementing a data plane means; a processor means for implementing a control plane means; and a determination means for making a determination that a flow table entry is out of date, that a virtual internet protocol (VIP) address is bound to a virtual network interface card (VNIC) implemented by the networking device, and that the VNIC is in a high availability (HA) active role for the VIP address, wherein: the flow table entry is associated with the VIP address; and the control plane means is configured to update the flow table entry in response to a result of the determination means making the determination.
Technical Overview & Description
TECHNICAL FIELD The descriptions and drawings relate to computer networks, local area networks, high availability (HA) availability network configurations, networking devices such as a router, a switch, a network interface card (NIC), a smartNIC, and a distributed service card (DSC). The descriptions and drawings also relate to elements of networking devices such as semiconductor chips implementing packet processing pipeline circuits, match-action pipelines, and to using global configuration epochs to coordinate the updating of data planes. BACKGROUND Networking devices process network traffic flows by receiving network packets and processing the network packets. The network packets are often processed by examining the packet's header data and applying policies such as routing policies, firewall policies, load balancing policies, etc. Packet processing can be performed by a packet processing pipeline such as a “ P4 ” packet processing pipeline. The concept of a domain-specific language for programming protocol-independent packet processors, known simply as “ P4, ” developed as a way to provide some flexibility at the data plane of a networking device. The P4 domain-specific language for programming the data plane of networking devices has been defined in the “ P416 Language Specification, ” version 1.2.2, as published by the P4 Language Consortium on May 17, 2021. P4 (also referred to herein as the “ P4 specification, ” the “ P4 language, ” and the “ P4 program ” ) is designed to be implementable on a large variety of targets including switches, routers, programmable NICs, software switches, field programmable gate arrays (FPGAs), and application specific integrated circuits (ASICs). As described in the P4 specification, the primary abstractions provided by the P4 language relate to header types, parsers, tables, actions, match-action units, control flow, extern objects, user-defined metadata, and intrinsic metadata. Packet processing pipeline circuits can be consid
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 (17)
Non-Patent Literature (10)
- Garg, P. et al.
- “
- NVGRE: Network Virtualization Using Generic Routing Encapsulation
- ”
- , Independent Submission, Request for Comments: 7637, Sep. 2015, 17 pgs.
- Mahalingam, M. et al.
- “
- Virtual extensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks
- ”
- , Independent Submission, Request for Comments: 7348, Aug. 2014, 22 pgs.