For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Fast Path Provider 2.9, an older release. The newest release is 3.2. Go to 3.2

Deploy Fast Path Provider on multiple nodes using direct NIC assignment

This document describes the prerequisites and steps for a multi-node deployment of Fast Path Provider (FPP) using direct NIC assignment. There is also a tutorial for SRIOV Networks as uplinks.

Prerequisites

Terminology used in the installation document:

  • VPPSwitch - Amberd pod in the node mode, which acts as a virtual switch on each Data Plane node
  • Uplink - network interface, virtual or physical, which is used by VPPSwitch to communicate inside the cluster and create a VXLAN mesh to interconnect workload CNFs between nodes

Supported NICs

The following Network Interface Cards are supported using this installation guide:

  • Intel E810, vendor ID: 8086, device ID: 1593, model name: E810-XXVDA4

Intel E810 support

Check the Intel DDP package section of the Data Plane configuration guide for more details.

Steps

  1. Enable image download

    In order to be able to pull FPP images from a private registry, you may need to configure imagePullSecrets for the FPP service account. One possibility is to create /tmp/pullsecret.yaml file, adding proper base64-encoded docker auth information, so that later it can be used to augment the FPP deployment:

    yaml

    Create this secret in {fpp-namespace}:

    bash
  2. Label the nodes

    For the FPP DaemonSet to actually start, each node in the cluster using FPP must get a label, for example fpp-manager.cennso.com/vppswitch-uplinks=2:

    bash

    fpp-manager.cennso.com/vppswitch="" is used for workloads' nodeSelector to select the nodes where VPPSwitch is available.

  3. Configure direct NIC binding to use them as uplinks or external network interfaces

    FPP Manager can use Physical Functions (PFs) as uplinks. This means that no SRIOV operator is needed and NIC PCI IDs can be passed directly in the FPP deployment. The Helm-based deployment uses directNICMappings, which configures PCI IDs through environment variables and enables direct access to the system firmware directory (/lib/firmware). Check which card should be used by FPP, for example by running lshw -c network -businfo:

    bash

    In this example, 8a:00.1 and 8a:00.3 are used. When using PFs with VPP, use the vfio-pci driver. Ensure that no VFs are created on that NICs, in case if SRIOV Network Operator is used this means that SRIOV Custom Resources using these NICs need to be removed (SriovNetworkNodePolicy objects). Below is an example command that disables VFs on the machine:

    bash

    After that, you can bind NICs to the vfio driver using an init container in the FPP node deployment. For example:

    yaml

    Every time the FPP node DaemonSet starts, the proper NIC binding is configured, so the method is reboot-safe.

    The 8086 1593 is a vendor and device ID of the NIC. You can check it by running lspci -nn -s <PCI-ID>. Example:

    bash

    After performing these steps, NICs is ready to be used by FPP Manager. The following chart configuration enables FPP DaemonSet to use NICs and assign IPs:

    yaml

    The above settings are translated into environmental variables in the FPP DaemonSet:

    yaml

    The following DPDK interfaces are configured in startup.conf:

    sh

    uplink0 and uplink1 can be used in VPPConfig beforeCommands and afterCommands sections. FPP Manager creates these VPPInterface objects corresponding to these NICs to be used as uplinks or as external network interfaces if according to the external network prefixes defined in VPPConfig (interfaces not matching any interface name prefixes are used as uplinks).

    In this configuration example, the FPP operator identifies all defined uplink interfaces, bonds them, and creates a VLAN subinterface with an assigned IP.

    You can use spec.uplinkConfig.ips in VPPConfig to assign the IPs to the uplink interface. spec.uplinkConfig.vlanId allows you to create a VLAN subinterface for uplink.

    Use spec.externalNetworkConfig.vlanId to create a VLAN subinterface that provides external connectivity for FPP-based workloads. For example, to connect a VLAN interface to FPP network ID 1, set spec.externalNetworkConfig.ifacePrefix to uplink-bond (automatically created for bonded DPDK interfaces).

    yaml
  4. Install the FPP chart in the node mode using the following chart configuration:

    • Configure the number of buffers per NUMA for optimal performance

      yaml
    • Configure image pull secret to be able to download the fpp-manager image from a private registry

      yaml

      Instead of using image pull secret, you can use a preconfigured service account:

      yaml
    • Specify an optional log level:

      yaml

      To enable more verbose logging, VPP API calls (on the internal intermediate VPPLink level) and Kubernetes controller events (Create/Update/Delete) can be logged:

      yaml
    • Specify the node selector for the subset of nodes to deploy FPP DaemonSet:

      yaml
    • Configure pod resources:

      yaml
    • Include directNICMappings and vppConfigs section from the above point

      This configures the networking and bond with VLAN configuration.

    • Include additionalInitContainers and additionalVolumes from the above point

      This will configure the VFIO NIC binding in a reboot-safe manner.

Verification

After deploying FPP, you can verify whether a VPPInterface VLAN object with your desired vlanId was created in the Kubernetes API and whether its status is ready.

Run the following command to do it:

bash

As a response, you get a VPPInterface object. See the example:

yaml

You can also verify the interface creation by running the following command in the FPP DeamonSet pods:

bash

In the resulting list, look for your interface by its ID (as in {INTERFACE_NAME}.ID):

text