UPGConfig CR
UPGConfig Custom Resource (CR) configures basic UPF plugin functionality in the Core Cluster.
This CR is targeted by means of
fpp-manager.cennso.com/plumbing-instance label, that needs to match
FPP_INSTANCE_NAME environment variable value passed to the
User Plane Gateway (UPG) pod.
Below is an example of UPGConfig CR with comments.
Note that IPFIX settings can be added regardless of whether
ipfixPolicy is set for the NWI. Both the policy and the settings
apply based on the egress NWI of the initial packet of the flow.
To activate IPFix per NWI, ipfixPolicy and ipfixCollectorAddress
should be configured. Then all the traffic will be reported in
IPFIX data packets.
For per flow IPFix activation, only ipfixCollectorAddress needs
to be defined in NWI configuration. Then IPFIX is enabled per session
using PFCP IE.
When multiple UPGConfig objects match this particular UPG
instance, they're merged together according to their priority value,
appending together the nwis section. The resulting config is called
"effective config".
There's special handling for the case when the same instance is also
targeted by VPPConfig instances some of them have AfterCommands
section. In this case, When effective UPGConfig changes for the
UPG instance, the UPG instance restarts.
UE IP export
User Plane Gateway allows you to export user equipment (UE) IP addresses to the Linux kernel for use in other software.
You can export both IPv4 and IPv6. Configure the ueip.nsExport section in the UPGConfig object in the Core Cluster to enable this option.
See the configuration example:
All parameters are required. Network namespace and interface must already exist, and the interface must be up.
Do not use an interface that has a Linux Control Plane (LCP) pair, such as lcp0. The LCP plugin imports the exported routes into VPP, and VPP then sends an Address Resolution Protocol (ARP) request for every UE IP address.
The Border Gateway Protocol (BGP) daemon can announce the exported UE IP addresses to neighboring gateways. For more information, see the Enable BGP support deployment guide.