1 duplexer and antenna for the band of your choice
2x sim card
Get the mosaic-5g code
Build the controller
cd controllergit checkout test-featuresgit pull origin test-features cmake . && make
Define the RAN sharing/slicing policy through the REST API on the top of controller as follows. For this you need to edit the yaml configuration file enb_scheduling_policy.yaml located at controller/tests/delegation_control. This defines a radio resource management policy and has the following structure:
n_active_slices : number of active slices. Default value is 1.
slice_percentage : percentage of radio resource block that a slice can get. Default is 0.5, and maximum is 1.
slice_maxmcs : maximum slice modulation and coding scheme. Default is 28 and minimum is 0.
update_dl_scheduler : request an update in DL scheduler. Default is 1 only for the first slice.
Build the RAN agent
cd agentgit pull origin developgit checkout feature-68-enb-agentgit pull origin feature-68-enb-agent cd cmake_targets./build_oai -I -w USRP ./build_oai --eNB -w USRP -a -C -c -x
Create a local cache for the agent:
Set the parameters in the template configuration file with agent. This file is located under targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.usrpb210.conf. At least, three segments needs to be updated.
Issue a policy reconfiguration command as follows:
curl -X POST http://localhost:9999/rrm/enb_scheduling_policy.yaml
This assumes that the enb_scheduling_policy.yaml is located under tests/delegation_control directory. Note that this command has to be issues when the eNB is running and preferably when the UEs are connected.
Run the RAN agent
cd targets/binsudo -E ./lte-softmodem.Rel10 -O ../PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.flexran.usrpb210.conf