This project provides a collection of sample applications for instrumenting srsRAN using the
jbpf and jrt-controller frameworks.
The following instructions are for the baremetal setup.
For Kubernetes-based installation, please follow these instructions
A version of srsRAN_platform with jBPF enabled must be built and used. Please follow the instructions from the repo.
cd ~/jrtc_apps
./init_submodules.shThen go to the folder jbpf-protobuf and build the submodule using the instructions in the repository.
You should do this only once after cloning the repository.
To run everything as baremetal, we must set env variable SRS_JBPF_DOCKER=0.
The default environment options are in file ".env".
If you wish to override any of these variables, create a separate file called ".env.local", with variable which should be overwritten, for example:
SRS_JBPF_DOCKER=0
Now, set the enviormentment variables
export SRSRAN_DIR=<path_to_your_srsRAN_with_jbpf>
source set_vars.shYou should do this in every terminal window where you run the commands.
This project includes two examples:
-
Example 1:
Demonstrates data collection without using jrt-controller. Data is streamed to a local decoder and printed on-screen. -
Example 2:
Demonstrates data collection using jrt-controller. Data is transferred from srsRAN to jrt-controller via shared memory.
This project is licensed under the MIT License.