> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/upg/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/upg/latest/releases/2.6.0.md).

# User Plane Gateway 2.6.0

The new release of User Plane Gateway (UPG) provides the following features and improvements:

- CNI-less support
- Make IPFIX intermediate export optional
- Implement MPAS - alpha state
- Do not crash when a timer expires on a deleted session
- Fix the overflow behaviour of a flowtable
- Fix high CVEs
- Fix constant traffic drop

UPG uses Fast Path Provider (FPP) in version 1.3.10 and UPG-VPP in version 1.12.0.

There are no breaking changes in UPG CRD between 2.6.0 and 2.5.0.

## Features

### CNI-less support

UPG 2.6.0 adds CNI-less support. You can use the CNI-less feature to create memifs directly with VPPInterface. To do so, set the `useCNILessMemifs: true` option in the UPG chart configuration. For more details, see the [corresponding documentation](https://docs.cennso.com/components/upg/latest/configuration/interface.md#create-interfaces-without-cni).

>**NOTE:** This feature requires FPP 2.2.0 and both FPP Operator and FPP node switch updated to 2.2.0. The FPP upgrade introduces network downtime.

### Make IPFIX intermediate export optional

Up until UPG 2.6.0, the IPFIX intermediate report was sent by default in a 5-second interval. As it may not be desired in some scenarios, the default behaviour is changed not to send any intermediate IPFIX.

You can configure the report interval using **spec.nwis.[].ipfixReportInterval** in the UPGConfig CR or by setting **instances.{INSTANCE_NAME}.networking.{grx/sx/sgi}.instances** in the UPG chart configuration.

### Implement MPAS - alpha state

UPG 2.6.0 introduces the Multiple PFCP Associations (MPAS) feature. Multiple PFCP Associations to the SMFs in an SMF set is described in [3GPP TS 29.244](https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3111) section 5.22.

This feature is in the alpha state and is not recommended for production.

## Fixes

### Do not crash when a timer expires on a deleted session

In rare cases, UPG restarted when the internal timer mechanism expired on non-existing sessions. UPG 2.6.0 fixes this behaviour.

### Fix the overflow behaviour of a flowtable

Previously, UPG could crash when a significant amount of user traffic generated too many flows.
UPG 2.6.0 fixes this issue by handling overflow situations more gracefully and does not crash the UPG instances anymore.

### Fix constant traffic drop

During performance tests, it was discovered that VPP hangs for a moment while scraping the heap metrics. This resulted in packet drops, even when UPG was not fully loaded.

UPG 2.6.0 fixes this issue by collecting memory metrics with the fastpath method, which is done in constant time and does not cause VPP to hang.

### Fix high CVEs

High CVEs were fixed by updating the **x/net** golang library.

## Known issues

### Number of Rx/Tx queues and buffer/queue size can't be modified in the CNI-less feature

Due to the implications of the VPP interface implementation, the current implementation of the CNI-less feature does not allow you to modify the following parameters in the VPPInterface object:

- **spec.memif.bufferSize**
- **spec.memif.ringSize**
- **spec.memif.numRxQueues**
- **spec.memif.numTxQueues**

>**CAUTION:** If you want to change one of the parameters above, remove and recreate VPPInterface with a new configuration. This action results in restarting UPG.

### Crash with GRE tunnels

In some cases, naming GRE tunnels like `^gre[0-9]+$` results in a crash. To avoid this issue, make sure to name them differently.

## Migration guide

### 2.5.0 -> 2.6.0

> **CAUTION:** Updating the UPG Helm chart restarts the currently running UPG instance, causing all active sessions to be dropped.

> **CAUTION:** UPG 2.6.0 requires FPP CRD in version 1.3.4 or higher installed on the Kubernetes cluster.

> **CAUTION:** Using the CNI-less feature with UPG 2.6.0 requires FPP in version 2.2.0 or higher installed on the Kubernetes cluster.

Follow these steps to upgrade UPG to version 2.6.0:

1. Install the `upg-crd` Helm chart in version 2.6.0.
1. Ensure that the FPP CRD in version 2.2.0 or higher is installed on the Kubernetes cluster.
1. Remove the `upg-support` Helm chart in version 2.5.0. This also removes the `UPG Overview` Grafana dashboard.
1. Install the `upg-support` Helm chart in version 2.6.0 with the enabled dashboard.
1. Remove the `upg` Helm chart in version 2.5.0.
1. Install the `upg` Helm chart in version 2.6.0.
