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.16, an older release. The newest release is 3.2. Go to 3.2

NWI configuration

User Plane Gateway (UPG) Helm chart automatically creates Network Instances (NWIs). NWI is a logical representation of a network interface that connects UPG to various networks (like Access, Control, and Data Networks). Based on the values.yaml configuration and the upgconfig.yaml template from the UPG chart, Helm creates the UPGConfig Custom Resource (CR). UPG then creates NWIs based on this CR.

You can configure the Helm chart to create NWIs in two ways:

  • Set the type parameter to pgw or tdf to use preconfigured values for these use cases (PGW or TDF).
  • Configure the nwis section to manually specify NWI names and types.

After applying the configuration, you can verify the NWI setup either on your Kubernetes cluster or by using the VPP CLI. Run the following command:

bash

Use case examples

You can configure the UPG Helm chart to create NWIs for these use cases:

  • Packet Gateway (PGW)
  • Traffic Detection Function (TDF)
  • GTP Proxy

PGW

You can create NWIs for the PGW use case by setting the type value to pgw. In this case, these default NWIs are created:

  • epc
  • cp
  • sgi

You can also configure these NWIs by manually setting the name and type of NWI in the nwis section:

yaml

This configuration results in the following UPGConfig CR:

yaml

TDF

To create NWIs for the TDF use case, set the type parameter to tdf. For the TDF use case, these default NWIs are created:

  • access
  • cp
  • multiple sgis (one for each destination NAT pool)

Caution

Do not use the nwis section to configure NWIs manually.

Data Networks are configured one per NAT pool, based on instances.nat.pools . If nat.enabled: true and nat.type: cgnat are configured, the chart also adds an sgi NWI.

See the NWI configuration example for TDF-U:

yaml

This configuration results in the following UPGConfig CR:

yaml

GTP Proxy

To create NWIs for the GTP Proxy use case, specify the nwis configuration. See the NWI configuration example for the GTP Proxy use case, where Access and Data Networks use only GTP endpoints:

yaml

This configuration results in the following UPGConfig CR:

yaml