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.11, an older release. The newest release is 3.2. Go to 3.2

Deploy Fast Path Provider on multiple nodes using SRIOV networks as FPP uplinks

This document describes the prerequisites and steps for a multi-node deployment of Fast Path Provider (FPP) using SRIOV networks as FPP uplinks. There is also a tutorial for a direct NIC assignment for the 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 X710, vendor ID: 8086, device ID: 1572, model: Ethernet Controller X710 for 10GbE SFP+
  • Intel XL710, vendor ID: 8086, device ID: 1583, model: Ethernet Controller XL710 for 40GbE QSFP+
  • Intel X710, vendor ID: 8086, device ID: 1589, model: Ethernet Controller X710/X557-AT 10GBASE-T
  • Intel XXV710, vendor ID: 8086, device ID: 158b, model: Ethernet Controller XXV710 for 25GbE SFP28

FPP requires the SR-IOV Network Operator to have PCIDEVICE_ as environment variables with a PCI device ID, for example:

sh

The above variable is set by SRIOV Network Device Plugin, which can be installed independently or by SRIOV Operator.

FPP was tested with the following versions of SRIOV Operator:

Steps

  1. Configure the SRIOV Operator

    You need then to configure SriovNetworkNodePolicy objects for uplinks, that is the NICs used by VPPSwitch daemon pods. If you want to use the standard deployment YAMLs without changing resource specifications, you need to name the uplink resources uplink0, uplink1 and so on, which together with RESOURCE_NAME of openshift.io specified for SR-IOV Network Operator results in Kubernetes resource names like openshift.io/uplink0, openshift.io/uplink1 and so on.

    The following is an example of SriovNetworkNodePolicy for Intel XL710 VFs:

    yaml

    The above example creates 4 VFs on eth0 NIC on nodes that match nodeSelector. If the hardware is different across different nodes of the cluster (different NICs or their PCI configurations), there should be multiple SriovNetworkNodePolicy objects created with different nodeSelector values. This also requires creating multiple fpp-manager deployments with different networks attached to it through NetworkAttachmentDefinitions.

    If multiple uplinks are used, FPPManager creates a bond that is comprised of these uplinks.

    You also need to create SriovNetwork objects for the uplinks. For uplinks that are used without bonding, you need to specify IP address in the ipam section. In the case of bonded interfaces, the first interface among bonded must have an IP address. You can use Whereabouts CNI IPAM pluginOpens in a new tab to facilitate this task. A SriovNetwork with an assigned IP address may look like this:

    yaml

    Tip

    If you encounter any issues during configuration, refer to the SRIOV troubleshooting guide.

  2. 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
  3. 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.

  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
    • Configure uplink and external network interfaces:

      yaml

      To configure external network interfaces using VFs, use the following chart configuration:

      yaml

      In order to configure an external network interface, VPPConfig can be used, for example:

      yaml

      vppConfigs[].spec.externalNetworkConfig.ifacePrefix must match externalNetworks key name (ext-net or anotherExtNet from above example).

      To define a VPPConfig that applies to all FPP pods in the node mode:

      yaml