Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.88 KB

File metadata and controls

59 lines (36 loc) · 1.88 KB

Baremetal Setup

This project provides a collection of sample applications for instrumenting srsRAN using the
jbpf and jrt-controller frameworks.

Getting started

The following instructions are for the baremetal setup. For Kubernetes-based installation, please follow these instructions

Preparing the Environment

A version of srsRAN_platform with jBPF enabled must be built and used. Please follow the instructions from the repo.

Initialize submodules:

cd ~/jrtc_apps
./init_submodules.sh

Then 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.

Set required environment variables:

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.sh

You should do this in every terminal window where you run the commands.

Running the Examples

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.

License

This project is licensed under the MIT License.