Fast Path Provider (FPP) Manager
Note
FPP is the abbreviation used to refer to the networking framework, while FPP Manager is the Golang application. This applies to the whole project documentation.
Fast Path Provider (FPP) is a Cennso Network Core (CNC) project, which enables VPPOpens in a new tab-centric fast network plumbing for Kubernetes clusters. FPP creates high-performance distributed networks based on the virtual L2 switch concept. Such networks can be connected to the host NICs and external networks, providing connectivity for the CNFs running on the cluster. This allows you to build solutions based on fast packet processing in user space.
FPP uses FPP VPPOpens in a new tab with downstream VPP patches that support Cennso Network Solutions.
The distinguishing features of FPP are:
- memif interface is used to connect VPP-based workloads
- VPP's fast tap driver is used to connect pods with Linux networking
- VXLANs are used to connect the pods together and different VNIs for interfaces can be used to partition the network
- both VPP-based and Linux networking pods can have multiple FPP interfaces with the help of Multus CNIOpens in a new tab
- works with SR-IOV Network OperatorOpens in a new tab
- NICs or VFs are handled by VPP out of the box, without the use of a slow AF_PACKET driver
- VPP interface configuration for both VPPSwitch daemon pods and VPP-based workloads is stored in Kubernetes CRs, which are continuously reconciled against the state of corresponding VPP processes, enabling dynamic reconfiguration
- CNI is provided for the pods (although you can also configure VPPInterface CRs directly)
- CPU ManagerOpens in a new tab-aware VPP core selection out of the box
FPP Components
FPP Manager
FPP Manager is used for creating VPP-based L2 switches (VPP Switches) that run as daemon pods on the nodes of the cluster.
FPP manages network interfaces of the following types in the cluster:
- memif - high-performance user space in memory interface usually for VPP-based CNFs
- TAP - userspace interface to connect regular Linux Based CNFs and Workloads, to be used by standard Linux networking-based applications
- DPDK NIC Interface - interfaces utilizing high-performance NIC Driver based on DPDK that can handle physical NICs and SR-IOV Virtual Functions
- Tunnel-Based Interfaces: VXLAN, GRE or similar, to interconnect cluster endpoint with remote endpoints
FPP Manager synchronizes VPP configuration with the state of Kubernetes API resources (Custom Resources, CRs). The application is implemented in Go, which makes it possible to import it as a Go module, extending the VPP reconciliation mechanism and the set of metrics that it exposes.
Kubernetes API Extensions
FPP provides a set of Custom Resource Definitions to extend Kubernetes API with FPP-related objects.
The FPP Management API provides the Resources belonging to the fpp-manager.cennso.com API group:
FPPNetwork: creates overlay L2 networks that connect cluster nodesIPFIXExporter: configures IPFIX export functionality in VPPRoutingTable: specifies routes to be installed in VPPVPPConfig: general VPP configuration, including VPP CLI commandsVPPInterface: configures VPP interface inside the local VPP instance
A detailed description is available in the Custom Resources section.
FPP-CNI
FPP-CNI is a Kubernetes CNI plugin, which can be used together with Multus CNIOpens in a new tab to setup FPP-based interfaces.
Deployment method
FPP provides a Helm chart for the installation of all FPP components. There are 3 charts available:
- FPP CRD - installs FPP Custom Resource Definitions
- FPP Support - installs Prometheus Service Monitor for gathering metrics and Grafana
FPP Overviewdashboard for observability - FPP - the main chart that deploys FPP Manager and FPP-CNI software