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

FPP BGP support

Border Gateway Protocol (BGP) is supported using the VPPTool Custom Resource which defines the tool (in the case of BGP, Bird application) to be deployed inside the FPP pod as a side container.

The FPP pod which supports BGP has an init container and three main containers. One is fpp main container, and two others are tool-bird and tool-bird-exporter.

BGP as VPPTool

To use BGP support in FPP, create VPPTool outside of the FPP Helm chart:

yaml

Bird Exporter is supported with another VPPTool:

yaml

Caution

Modifying the VPPTool objects restarts all Amberd pods that use it, which causes network downtime.

Reference the created bird tools in FPP chart values YAML:

yaml

The reference is based on VPPTool object name (VPPTool.metadata.name). Bird metrics needs to be enabled in the values.yaml file.

The following diagram shows an example of CGW with BGP deployment:

CGW BGP Diagram
CGW BGP Diagram

See the full YAML configuration for the CGW with BGP example:

yaml

BGP configuration

The BGP configuration is kept in VPPConfig, for example:

yaml

spec.toolsConfigs[].name must match VPPTool.metadata.name.

BGP monitoring

The fpp-support chart allows the creation of a Grafana dashboard and Prometheus ServiceMonitor to enable BGP monitoring, example values.yaml:

yaml

BGP-related metrics are exposed in the Routing row.

BGP over GRE

In complex scenarios, BGP peering can occur over a GRE tunnel, so a GRE interface must be created. Also, the LCP interface is required to be created for the BGP daemon to populate the routes into VPP:

yaml

In the above example, 10.10.0.1/24 is the IP address of the GRE tunnel endpoint using the external-nic interface to communicate to the other end of the GRE tunnel located at 10.0.0.2. external-nic is created by a Helm chart in the networks section.

It is important to use the same name in vppInterfaces[].ifname and in vppInterfaces[].lcp.attachTo. This is the VPPInterface CR object name and will be adjusted by the Helm chart to be unique by using the chart release name as a prefix.

Networking configuration

Use this configuration to create connected routing tables:

yaml

These are the networks used for the CGW1 example:

yaml

See the configuration for FPPNetworks that are created outside of the FPP Helm chart:

yaml

Setup verification

Check the number of containers

The BGP-enabled Amberd pod needs to have at least three containers: one main FPP container (fpp), a container with a running BIRD process (tool-bird), and a tool-bird-exporter container that exposes metrics in Prometheus format. Also, the init container must be present.

Check tool-bird container logs

Bird logs are visible in the tool-bird container logs of the FPP pod.

Check the applied BGP configuration

To check if BGP configuration and peering is active, run this command in the Amberd pod of the fpp container:

bash

Table number (10) must match the internal-rt table created above.

See the output example:

text

To check BGP peering on the tool-bird container, use the birdc diagnostic tool to get the state:

bash
bash
bash

See the output example:

bash