Test
...
Unit Test
NEF
prerequisite - ginkgo
- cd 5GCEmulator/ngc && make build
- make test-unit-nef
edgdnscli (configures LDNS)
prerequisite - ginkgo
- cd edgecontroller && make build-dnscli
- make test-dnscli
...
-Env Setup
...
- Step 1, deploy edge GW and on-board iPerf (server) following the steps described in Installation Documentation.
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.
Unit Test
Enter test directory:
- cd ./5g-mec-cloud-gaming
...
- make -C 5GCEmulator/ngc build && make -C 5GCEmulator/ngc test-unit-nef
- make -C edgenode networkedge
- make -C edgecontroller build-dnscli && make -C edgecontroller test-dnscli
Test results
- Non-offloading case
...
The 5GC prints "Offloading in progress", while the Edge GW prints the mount of data it receives in realtime.
Unit Test
- 5GCEmulator
- EdgeNode
- EdgeController
...