Fast Path Provider 2.2.0
Fast Path Provider (FPP) 2.2.0 provides the following features and fixes:
- Introduce the Firewall Custom Resource
- Make CLI-less Generally Available
- Do not restart Amberd when VPPConfig spec.beforeCommands are present
- Fix high CVEs
- Fix constant traffic drop
- Fix Uplink IP parsing
Features
Introduce the Firewall Custom Resource
FPP 2.2.0 introduces a firewall using VPPACL Custom Resource. Before, the firewall configuration was applied using VPPCTL.
Check the corresponding documentation for more details.
Caution
VPPConfig afterCommands with ACL definition for VPPInterfaces is no longer supported.
Make CLI-less Generally Available
CNI-less memif creation was stabilised and made Generally Available (GA) in FPP 2.2.0. All the found issues were fixed and CNI-less has feature parity with FPP-CNI.
Check the corresponding documentation for more details.
Fixes
Do not restart Amberd when VPPConfig spec.beforeCommands are present
FPP Operator used to trigger Amberds in the instance mode to restart when there were any entries in the VPPConfig spec.beforeCommands section, even if the configuration has not changed.
FPP 2.2.0 fixes this issue, and the restart is not requested if there are no changes in the VPP configuration.
Fix high CVEs
High CVEs were fixed by updating the x/net golang library.
Fix constant traffic drop
During performance tests, it was discovered that VPP hangs for a short time while scraping the heap metrics. This results in packet drops, even when FPP is not fully loaded.
FPP 2.2.0 fixes this issue by collecting memory metrics with the fastpath method in a fixed time and does not cause VPP to hang.
Fix Uplink IP parsing
While testing SRIOV deployment on the new Kubernetes cluster v1.26.8, it turned out that k8s.v1.cni.cncf.io/networks-status key had been removed from the pod annotations. This breaks the FPP Operator logic to parse the annotations and select the Uplink IP.
FPP 2.2.0 adds k8s.v1.cni.cncf.io/network-status as a source of Uplink IP, fixing this issue.
Known issues
The number of Rx/Tx queues and buffer/queue size cannot be modified when using CNI-less
The current implementation of CNI-less does not allow to modify the following parameters in the VPPInterface object:
- spec.memif.bufferSize
- spec.memif.ringSize
- spec.memif.numRxQueues
- spec.memif.numTxQueues
It results from the VPP internal implementation.
If one of the above parameters requires change, VPPInterface must be removed and recreated with a new configuration.
Caution
This action restarts UPG.
Migration guide
This section describes a detailed description of how to perform the FPP upgrade from version 2.X to 2.2.
Since FPP 2.2.0 adds new functionality in FPP-CNI, both FPP Operator and Amberds in the node mode must be updated.
Migration steps
- Install FPP CRD in version
2.2.0. - Install FPP Operator in version
2.2.0. - Install the FPP Support chart in version
2.2.0. - Install the FPP chart in the node mode in version
2.2.0:
FPP 2.2.0 provides the CNI-less feature, where FPP-CNI adds a legacy-instance label to VPPInterface created by pods labelled legacy-instance. This compatibility requirement occurs, for example, in UPG 2.X.