srsLTE/test
Francisco f2409534e4 nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface
- removal of condition variables from sched main calls
- addition of sched sched::slot_indication call as a point of synchronization per slot
- removal of sched_worker_manager class
- removal of serv_cell_manager class
- centralization of cc-specific functionality and components in cc_worker
2021-11-02 00:41:24 +00:00
..
phy nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface 2021-11-02 00:41:24 +00:00
CMakeLists.txt SRSUE/SRSENB: Refactor NR workers to generalise lower PHY 2021-06-21 18:07:53 +02:00
README.md rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00
run_lte.sh Fixed run_lte.sh script enb parameter 2021-07-30 09:33:05 +02:00

README.md

End-to-End LTE Tests

This folder contains a basic shell script that allows a quick end-to-end LTE test using srsUE, srsENB, and srsEPC. The script has minimal requirements and should only take less then 30 seconds for each configuration. Currently the script only allows to configure the cell bandwidth and the number of component carrier in the eNB.

The script launches all components and puts the UE into a different network namespace in order to allow IP connectivity to srsEPC on a single machine. It therefore requires root privelages at the moment.

It then launches, one after another, uplink and downlink ping as well as a quick UDP downlink session. Between those experiments, the UE stays connected to the eNB/EPC the entire time.

After the experiments are finished, all components are torn down and the log files are analyzed.

Single Execution

The script can be executed manually. It expects the srsRAN build directory as the first argument, the cell bandwidth as the second, and, optionally the number of component carrier as the third.

$ sudo ./run_lte.sh ~/src/srsRAN/build 50 1

Testing all Bandwidths

You can also test all bandwidths by letting CTest iterate over all possible PRB sizes.

$ cmake -DENABLE_ZMQ_TEST=True ..
$ cd test
$ sudo make test

Known Issues

If you've started the script and it failed it may left the network namespace open and thus the next execution of the script will fail. In this case, just delete the network namespace before running again:

$ sudo ip netns delete ue1