Prerequisites
xApp SDK Source Code
For this training you will need BubbleRAN's xApp SDK which it is shared to all customers via Google Drive (soon to be available on Github for all customers). For running this lab 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 statedβ
- 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 as a storage for xApps:
sudo apt install libmysqlclient-dev mysql-server
- Install python packages
pip3 install tabulate
xApp SDK through Github (recommended)β
In order to obtain the BubbleRAN's xApp SDK through Github the user can 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
cmake ..
make -j
sudo make install
sudo ldconfig
xApp SDK through Google Driveβ
If you have access to the Google Drive folder with the xApp SDK you can download the file xapp-source.tar.gz
.
To unzip the file you can run:
tar -xvf xapp-source.tar.gz
Build and installβ
mkdir build
cd build
cmake ..
make -j
sudo make install
sudo ldconfig