UPG Custom Resources
UPGConfig
For now, it only contains NWI (Network Instance) configuration and PFCP Heartbeats parameters, but later all of UPG-related settings will be there, removing the need for CLI-based configuration of VPP instances.
UPGConfig CRs are targeted by means of
fpp-manager.cennso.com/plumbing-instance label, that needs to match
FPP_INSTANCE_NAME environment variable value passed to the
UPGManager 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 UPGManager
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
UPGManager instance, the UPGManager instance restarts.
UPGApplication
The UPGApplication object creates an application for Application Detection Function.
Its parameters are:
rules- a list ofL7RegexpandIPFilterrulesproxy- mandatory, boolean. Specifies whether to use the HTTP redirection function. Must betrueif anyL7Regexpis defined.