To validate the BP, a 5GC emulator is provided, which consists of a 5G CP and UP.
The 5G CP is based on the Network Exposure Function (NEF) implemented by openNESS ngc
The 5G UP is an iPerf instance running in the client mode, controller by the 5G CP
The offloading call flow is as follows.
Step 2, run ngc/start.sh to launch the 5G CP (NEF), Edge GW+server and AF. A DNS request will be sent hereafter.
Step 3, run ngc/test/Post.sh to start traffic offloading or ngc/test/Delete.sh to stop offloading.
Enter test directory:
Execute the versify.sh script to setup the test environment:
versify.sh script first installs Golang and ginkgo,then installs docker and docker-compose.
The test commands for the three submodules are as follows:
The 5GC prints "No data offloaded..." when offloading is not enabled.
The 5GC prints "Offloading in progress", while the Edge GW prints the mount of data it receives in realtime.
Pushed to the Nexus server.