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.

Packet Gateway

To deploy UPG as a Packet Gateway (PGW), you must deploy two Custom Resources (CRs) to your Management Cluster:

Read the sections below to learn how to configure these CRs.

Deploy FPPNetworks

In the Core Cluster, create the necessary FPPNetworkBroken link resources for your access, control, and data networks. A data network is required since CG-NAT is not used in this snippet. For example:

yaml

Deploy UPGDeployment

Create a UPGDeployment Custom Resource (CR) in the Management Cluster. For example:

yaml

To deploy UPG with multiple IPs for GRX/SX/SGI, follow the guide.

To deploy UPG with multiple Access Network Instances, see this section.

Verification

To check if the UPGDeployment is installed and ready, run:

bash

Sample output:

bash

You can also check the status of the VppDeployment resource that the UPGDeployment CR created in the Core Cluster:

bash

Sample output:

bash

Deploy UPG with multiple IPs per GRX interface

If you need to assign more IP addresses per GRX interface, you can do it in UPGDeployment's spec.instances.{name}.networking.grx.ipv4.addresses. When multiple IPs are configured, only one can be used as a GTP-u endpoint per NWI. This is the current UPG limitation.

The GTP-u endpoint is selected in one of two ways:

  1. Use the first IP address from ipv4.addresses list. This is the default behaviour.
  2. Set spec.instances.{name}.networking.grx.ipv4.gtpuEndpoints list with IP address (without a netmask). Only the first element from the list will be used.

Default GTP-U endpoint

The first entry from UPGDeployment's spec.instances.{name}.networking.grx.ipv4.addresses list is selected as the GTP-u endpoint:

yaml

In the above example, 198.18.50.22 will be used as a GTP-u endpoint.

Use gtpuEndpoints

You can explicitly define an IP address that should be used as a GTP-u endpoint in spec.instances.{name}.networking.grx.ipv4.gtpuEndpoints. Only the first address from the list is used. See the configuration example:

yaml

Here, 198.18.0.22 is explicitly used as a GTP-u endpoint.

Deploy UPG with multiple Access Network Instances

This section describes how to deploy UPG with multiple Access Network Instances (NWIs) using a UPGDeployment CR on the Management Cluster, along with additional configuration. In this tutorial, you will apply the following resources to the Core Cluster:

To deploy UPG with multiple Access Network Instances, you must:

  1. text

Read the sections below to learn how to configure these resources.

Define NWIs

  1. Define three Access Network NWIs:
  • epc - NWI created by default by UPGDeployment CR
  • epc2 - second NWI created by an additional UPGConfig CR
  • epc3 - third NWI also created by UPGConfig CR

Create epc2 and epc3 in the Core Cluster using the following UPGConfig CR:

yaml
  1. Then, apply the YAML file with the UPGConfig CR to the Core Cluster using this command:
bash

Create VPPInterfaces

To configure NWI IPs, create additional VPPInterface objects outside of the UPGDeployment CR and apply them to the Core Cluster:

yaml

The additional interfaces grx2 and grx3 will be created on UPG instance upg-inst01.

Configure UPGDeployment

Add the configuration created in the previous steps to the UPGDeployment CR configuration:

yaml

NWIs created in UPGConfig are used to create the GTP-U endpoint in the UPF CLI upf gtpu endpoint ... in spec.instances.{NAME}.additionalConfig.

The metadata.name of the UPGDeployment CR must match the UPGConfig label fpp-manager.cennso.com/plumbing-instance: upg-inst01, so that the additional configuration is applied on UPG. In this example, metadata.name is equal to upg.

Note

If you are modifying an existing UPGDeployment, you must recreate the UPG pod to apply the updated VPP CLI configuration. See Reconfiguration at runtime for details.

Note

For basic Packet Gateway deployment instructions, see the Packet Gateway deployment guide.

Verification

You can check if the requested changes are applied on UPG using the vppctl command in the UPG pod on the Core Cluster:

bash

See the output example:

bash

To see the NWIs configuration, use the following vppctl command in the UPG pod:

bash

This is the output example:

bash

To check the GTP-U endpoints, use the following vppctl command in the UPG pod:

bash

This is the output example:

txt