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
pgwortdfto 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:
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:
epccpsgi
You can also configure these NWIs by manually setting the name and type of NWI in the nwis section:
This configuration results in the following UPGConfig CR:
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:
accesscp- 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:
This configuration results in the following UPGConfig CR:
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:
This configuration results in the following UPGConfig CR: