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 for CGW

This document describes the prerequisites and steps to deploy Fast Path Provider (FPP) for the purpose of the Connectivity Gateway (CGW) 2.0 use case.

Prerequisites

Steps

  1. Install the FPP chart in the instance mode using the following chart configuration:

    The instance mode was introduced to enable VPP-based workloads. This makes it possible to manage workloads using FPP Custom Resources and configure VPP in a unified way. The benefit of using VPP-based applications is a possibility to employ fast vector packet processing with traffic not touching Linux kernel networking stack.

    One of possible application to use the VPP as a base is Connectivity Gateway (CGW), product of Travelping that currently uses Linux kernel to create external connectivity to outside of the cluster endpoints, with GRE tunnels and BGP routing. This application is called CGW-FPP in this section.

    Caution

    FPP-based CGWs should only be scheduled on the nodes with FPP version 2.0.0 or later serving as VPP Switch to have VPP interfaces configured properly.

    Below is a diagram with the CGW-FPP example deployment described further in this section:

    CGW-FPP Diagram
    CGW-FPP Diagram

    This is the full configuration of the CGW values.yaml file:

    yaml
  2. Configure the instance mode based on the CGW example above.

    • Provide the CNF name:
    yaml

    For FPP 2.0, the configuration above creates the VPPDeployment object with mode set to instance, which in turn creates Kubernetes StatefulSet object (as opposed to DaemonSet which is used for the node mode), and adds the cennso.net/cnf: cgw label to all resources created by the chart.

    • Define imageSecret to download the FPP Manager image from a private registry:
    yaml
    • Enable external connectivity. You can use an external network interface based on VF with SriovNetwork configuration which provides a VF for use by CGW-VPP. Also, you can assign the IP address of the external network using VPPConfig, for example:
    yaml

    vppConfigs[].spec.externalNetworkConfig.ifacePrefix must match externalNetworks key name (ext-net).

    • Configure the GRE interface, which can also be created using the chart:
    yaml

    The above configuration creates a tunnel from the external IP of the interface named ext-net0n0 (10.75.0.10/29) to the destination IP somewhere in the external network, that is where the other endpoint of the GRE tunnel resides (10.75.0.11/29). The VPP interface for the local GRE tunnel endpoint is named gre1 and is assigned the IP address 198.19.1.1.

    It is possible to specify inner and outer routing tables for VPP GRE interfaces. These tables (inner-table and outer-table) can also be defined outside the FPP chart.

    Example of inner-table RoutingTable definition:

    yaml
    • Create a memif interface A Network Attachment Definition can be used to provide routing between the GRE tunnel and the internal FPP network. Here we create a memif interface connected to the internal FPP network called net-100, the network must be created outside of a Helm chart:
    yaml

    In this example, CGW-FPP serves as a gateway to the FPP VXLAN network, connecting it to an external network through the GRE tunnel.

    The minimal resource configuration for evaluation purposes is as follows:

    yaml