add slicing xApp guide

parent 9670a687
......@@ -4,7 +4,6 @@ This is a guide to deploy CCC model slicing xApp based on sdran-in-a-box.
The key idea is bridging the gap between slicing xAPP and OAI gNB based on the RIC in sdran. The interface between RIC and OAI gNB is the rrmPolicy.json
## Customized RIC Deployment
This is installed on DU server.
......@@ -50,6 +49,24 @@ This is installed on DU server
- run `./start_ransim.sh`. If it raises errors about go modules, go to the last step.
## OAI gNB with slicing functionality
To build OAI gNB, you need first install `json-c` lib by `sudo apt install libjson-c-dev`.
Then, clone our repo
```
git clone https://github.com/wineslab/OAI-Slicing-Intel.git
cd OAI-Slicing-Intel
git checkout NR_UE_multi_pdusession
```
and follow the OAI official [guide](https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/doc/NR_SA_Tutorial_COTS_UE.md?ref_type=heads) to build.
To start gNB, run the following commands
```
cd /path/to/OAI-Slicing-Intel/cmake_targets/ran_build/build
sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpx310.sdcore.conf --sa --usrp-tx-thread-config 1
```
## RANSIM Slicing Control
......
{
"rrmPolicyRatio" : [
{
......@@ -16,5 +15,4 @@
"max_ratio":100
}
]
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment