From 4e5b67c412bc8efe809b1ec5f024d789b367d902 Mon Sep 17 00:00:00 2001 From: matzakos <panagiotis.matzakos@eurecom.fr> Date: Thu, 5 Apr 2018 13:36:21 +0200 Subject: [PATCH] Added instructions file for launching nfapi-L2-emulator. --- nfapi-L2-emulator-setup.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 nfapi-L2-emulator-setup.txt diff --git a/nfapi-L2-emulator-setup.txt b/nfapi-L2-emulator-setup.txt new file mode 100644 index 00000000000..7bd7ed28393 --- /dev/null +++ b/nfapi-L2-emulator-setup.txt @@ -0,0 +1,29 @@ + +#Build instructions +source oaienv +cd cmake_targets + +#Create lte-softmodem-stub-nos1 (UE) and lte-softmodem-nos1 (eNB) executables +./build_oai --eNB --UE --noS1 -x -t ETHERNET -C +cd lte_noS1_build_oai/build/ +make lte-softmodem-nos1 + +------------------------------------------------------------------------------------------------------------------------------------------------------- + +#Execution instuctions (Currently running eNB (VNF) and UE side (PNF) on the same machine using the loopback interface) +cd cmake_targets/tools + +# Loading nasmesh +source init_nas_nos1 + +# Add a new loopback interface address +sudo ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up + +cd .. +cd lte_noS1_build_oai/build/ + +# Run the eNB side on the first terminal (VNF) +sudo ./lte-softmodem-nos1 -O PATH_OF:rcc.band7.tm1.50PRB.nfapi.conf + +# Run the UE side on the second terminal (nfapi-L2-PNF) (--num_ues specifying the number of UEs) +sudo ./lte-softmodem-stub-nos1 -U -O PATH_OF:oaiL1.nfapi.usrpb210.conf --num-ues 5 > debug_log.txt -- GitLab