Test a basic PGW
In this use case, the system under test (SUT) is the simple packet gateway (PGW), which consists of Session Management Controller (SMC), User Plane Gateway (UPG), and some possible connectivity components. In this case, TPLoad simulates SGW, acting as the S5/S8 interface. TPLoad Generator simulates User Plane traffic.
The main features of the PGW test case are:
- User traffic is encapsulated in GTP-U. There is an easy, network-local communication between UPG and TPLoad Generator-left.
- SMC handles session creation. It provides UE IP address, UPG endpoints, etc.
- Right after TPLoad Core receives the
create_session_response, it deploys the corresponding session to the TPLoad Generators and the traffic is properly forwarded by UPG.
To have the basic PGW ready for benchmark testing, make sure that:
- Possible Gy connectivity allows the IMSIs configured on TPLoad
- Proper routing between TPLoad Core and SMC is configured
- Proper routing between TPLoad Generator-left and the Access/S5/S8 side of UPG is configured
- Proper routing between TPLoad Generator-right and the SGi side of UPG is configured
For this use case, PGW has the following configuration:
TPLoad has the following addresses:
TPLoad configuration steps
Follow these steps to configure TPLoad so that it performs testing for a basic PGW:
Configure the core and servers sections. In the core section, set the session management to
sgw. Other parameters are not nessasary. In the servers section, configure a propersgwinstance. In the pgw_address parameter, specify the S5/S8 address of SMC. The UPG addresses are part of thesession_create_responseand TPLoad applies them automatically. The values of apn, mcc, and mnc must be aligned with the PGW setup.yamlSet the values of the device_generator to the values allowed by PGW and the Gy interface:
yamlFor the PGW case, all of the testing funcitons are allowed. For the purpose of this use case, configure a simple
RampUptesting function:yamlAlign network configuration with the overall network setup:
yamlAfter applying the configuration, the connectivity should work as expected.