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 User Plane Gateway 2.17, an older release. The newest release is 3.2. Read this page in 3.2

User Plane Gateway 2.1.0

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

  • Configuration for Packet Forwarding Control Protocol (PFCP) heartbeats
  • Operational logging of Session Management Controller (SMC) associations
  • Logging improvements for network instance (NWI) and PFCP actions
  • New metrics for the UPG Overview Grafana dashboard
  • Improvements for the show upf session CLI command

The new version of UPG does not include any breaking changes. It is backward compatible with the 2.0.0 version. UPG Manager uses UPG VPP in version 1.6.0 and FPP Manager in version 1.1.0 as base images.

For this release, the newer kernel (5.15+) and Kubernetes (1.22+) versions are not supported. For more details, see the Known issues section.

To see UPG's key performance indicators (KPIs), go to the [Performance document..

Features

Configuration for PFCP heartbeats

Previously, configuration for PFCP heartbeats was hard-coded to run 3 retries and wait for 10 second timeout each time. Now you can configure the timeout and the number of retries by adjusting these Helm chart values:

text

To verify the current settings, log in to the UPG container and run:

text

The console output looks like this:

text

Operational logging of SMC associations

From this release, UPG logs information about SMC associations, which includes information about established, released, lost, and suspicious associations (when heartbeats are resent after the expired heartbeat timers).

See the example of logs for the released and established associations:

text

Logging improvements for NWI and PFCP actions

Since this release, UPG logs every occurrence of adding and deleting a network instance (NWI). Also, every reconfiguration of PFCP settings is logged, which currently includes information about heartbeat settings: timeout and number of retries.

New metrics for the UPG Overview Grafana dashboard

We added the following metrics to the UPG Overview Grafana dashboard:

  • UPG Heap Usage and UPG Stats Segment Usage memory utilization added in the Resource usage row.
  • UPG Interface Error Overview table with interface_is_down and no_buffer_gso fields included in the UPG Instances Interfaces info row.
  • Error indicators row with No free TX slot and ARP Errors metrics added.
  • NAT Pool Utilization, NAT Pool Capacity and NAT Pool Overview panels added in the NAT Info row.

Fixes

Improvements for the show upf session command

The previous version of UPG CLI did not accept hexadecimal characters while filtering. Only decimal characters were accepted, which caused a parsing error each time hexadecimal characters were provided:

text

In this release, we provided a fix that allows using hexadecimal characters in filtering by UP SEIDs.

Also, we added show upf session 0x...flows that displays the flows related to the given session. By default, it displays 100 sessions. You can override the session limit by running:

text

If you want to display the unlimited number of sessions, use limit 0.

Known issues

Kernel 5.15 and newer are not supported

UPG 2.1.0 does not work with the newer kernel versions (5.15+), which is related to the constraints of the new layout for the control groups (cgroups) v2 files. To check if UPG works with your kernel version, connect to your machine and check if the /sys/fs/cgroup/cpuset/cpuset.cpus path is present. If not, use the newer version of UPG, since the current version will not work.

Kubernetes 1.22+ is not supported

Since the support for the CustomResourceDefinition (CRD) apiVersion of apiextensions.k8s.io/v1beta1 was removed from Kubernetes API in release 1.22+, UPG-CRD 2.1.0 does not work on that cluster. Please use the newer versions of UPG-CRD.

Migration guide

2.0.0 → 2.1.0

Caution

Updating the UPG Helm chart will restart the currently running UPG instance causing all active sessions to be dropped.

Follow these steps to upgrade UPG to version 2.1.0:

  1. Install the upg-crd Helm chart in version 2.1.0.
  2. Remove the upg-support Helm chart in version 2.0.0. This also removes the UPG Overview Grafana dashboard.
  3. Install the upg-support Helm chart in version 2.1.0 with the enabled dashboard.
  4. Install the upg Helm chart in version 2.1.0.