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 MySQL client for xApp storage (deprecated):
sudo apt install libmysqlclient-dev mysql-server
- Install python packages
pip3 install tabulate
danger
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.
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
β βββ default.conf
β βββ README.md
β βββ update_conf.sh
β βββ xapp_all_sm.conf
β βββ xapp_cust_sm.conf
β βββ xapp_oran_sm.conf
βββ include
β βββ src
βββ labs
β βββ CMakeLists.txt
β βββ lab1.c
β βββ lab2.py
β βββ lab3.c
β βββ lab5.c
β βββ lab5.py
β βββ lab6.c
β βββ README.md
βββ lib
βββ README.md
βββ src
βββ CMakeLists.txt
βββ dev
βββ usr
Build and installβ
mkdir build
cd build
There are four options available for the next command, depending on the type of database you select.
- No DB (default):
cmake .. - VictoriaMetrics (Recommended):
cmake -DXAPP_DB=VICTORIAMETRICS_XAPP .. - MySQL (Deprecated):
cmake -DXAPP_DB=MYSQL_XAPP ..
After which, complete the build with the next commands:
make -j
sudo make install
sudo ldconfig