Deployment verification
To verify if FPP deployment works correctly, you can perform the following actions:
Check FPP pod
FPP Manager DaemonSet includes liveness and readiness probes. It checks for the uplink interface's existence and if the VPP process is alive. If one of those is not working, the FPP pod is restarted.
To check if the FPP pod has IP assigned, check the pod annotations. For example:
In this example, the uplink IP is 10.35.38.2. Network annotations also include the PCI address of NIC VFs (Virtual Functions)
assigned to the FPP pod. FPP requires an environment variable with PCI IDs, which are provided by SRIOV Operator:
Output example:
If the uplink IP is not in pod annotations or there are no PCI IDs passed as environment variables, check SRIOVNetwork resources
assigned to FPP deployment or IPAM settings in your cluster.
Verify uplink interfaces
To check if the uplink IP is assigned to the uplink VPP interface, run this command inside the FPP pod:
Output example:
If there is no IP address assigned, there are some issues in pod network annotation or IPAM. For further investigation, verify if there's connectivity between FPP nodes.
Check VPP logs
After the FPP pod is spawned, you can find useful information in VPP logs. To check VPP logs, run this command inside the FPP pod:
Output example:
The output presents typical information that you can see in VPP logs.
Check VPP errors
FPP Manager provides the following error metrics:
vpp_interface_errors- multiple errors are reported, for example, if an interface is down or packet drops happen with memif or DPDK interfacevpp_interface_no_tx_slots- shows issues with packet processing or system overloadvpp_arp_sent- if many ARP requests are sent, it may indicate the wrong cluster configuration in terms of IP reachabilityvpp_arp_hw_addr_not_match_l2_frame- arp-reply arrived on the interface but it's not corresponding local HW addressvpp_node_vectors{name="drop"}- shows that packets are dropped on specific VPP instance
iPerf deployment example
Here is the example of the iPerf deploymentOpens a file that uses FPP networks.
You can deploy it on the cluster. The requirement to run the iPerf example is that FPP-enabled nodes
are labeled with fpp-manager.cennso.com/vppswitch: "".
To verify if FPP works correctly:
- Log into the
iperf3-client-0pod and runiperf3 -c 10.0.0.1. The client pod should be able to connect to the iperf server. - If there is no connectivity between the pods, follow this guide.
Check BGP configuration
Follow the BGP verification steps in the feature description.