Prerequisites
xApp SDK Source Code
For this training, you will need BubbleRAN's xApp SDK, which is available in our Github repository. For running these labs, you will need a Linux system with network access to your BubbleRAN MX-PDK. Ideally, these labs should be performed on the control-plane node of your MX-PDK, e.g., via SSH.
Getting startedβ
- Install common dependencies in Ubuntu: (at least python3.8)
sudo apt install libsctp-dev python3 cmake-curses-gui python3-dev pkg-config libconfig-dev libconfig++-dev python3-pip
- Install python packages
pip3 install tabulate
Before running this xApp training you should make sure ALL your composition models are up-to-date.
Please refer to these steps to do so.
Amarisoft UE modelβ
The Amarisoft and OCUDU blueprints use amarisoft/amr-ue or
amarisoft/amr-ue-ntn. These deployment modes are available in the Amarisoft
CompositionModel chart 2026.6.2-beta. The stable 2026.6.1 chart does not
include them.
Install the required model before applying these blueprints:
brc install model amarisoft --set version=2026.6.2-beta
xApp SDK through Githubβ
To obtain the BubbleRAN xApp SDK, clone the repository:
git clone https://github.com/bubbleran/xapp_sdk.git
The repository has the following structure:
.
βββ CMakeLists.txt
βββ conf
β βββ README.md
β βββ update_conf.py
β βββ xapp_all_sm.yaml
β βββ xapp_cust_sm.yaml
β βββ xapp_oran_sm_amr.yaml
β βββ xapp_oran_sm_oai.yaml
β βββ xapp_oran_sm_ocudu.yaml
β βββ xapp_oran_sm.yaml
β βββ xapp.yaml
βββ CONTRIBUTING.md
βββ include
β βββ src
βββ labs
β βββ CMakeLists.txt
β βββ lab1.c
β βββ lab2.py
β βββ lab3.c
β βββ lab5.c
β βββ lab5.py
β βββ lab6.c
β βββ README.md
βββ lib
β βββ libe42_xapp.a
β βββ libe42_xapp_shared.so
β βββ libe42_xapp_shared_vm.so
β βββ libe42_xapp_vm.a
β βββ libxapp_sdk_c.a
β βββ libxapp_sdk_c_vm.a
β βββ _xapp_sdk_python.so
β βββ _xapp_sdk_python_vm.so
β βββ _xapp_usr_sdk.so
β βββ _xapp_usr_sdk_vm.so
βββ LICENSE
βββ NOTICE
βββ README.md
βββ src
βββ CMakeLists.txt
βββ dev
βββ usr
Build and installβ
mkdir build
cd build
There are two options for the next command, depending on whether you need a database.
- No DB (default):
cmake .. - VictoriaMetrics (Recommended):
cmake -DXAPP_DB=VICTORIAMETRICS_XAPP ..
After which, complete the build with the next commands:
make -j
sudo make install
sudo ldconfig