Skip to content
Snippets Groups Projects
Commit c7f6ad51 authored by Carlos Antonio De Lima Filho's avatar Carlos Antonio De Lima Filho
Browse files

Script to run OAI RAN

parent 9e88623d
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#!/bin/bash
session="oai"
## Split into 4 panes
tmux new-session -d -s $session
tmux split-window -h \; split-window -d;
tmux swapp -s 0;
tmux split-window -d;
## Run OAI RAN
## Run OAI CU
tmux send-keys -t 0 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../ci-scripts/conf_files/gNB_SA_CU.conf' ENTER;
## Run OAI DU
tmux send-keys -t 1 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 1 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../ci-scripts/conf_files/gNB_SA_DU.conf' ENTER;
## Run FlexRIC
tmux send-keys -t 2 'cd ~/flexric/' ENTER \; send-keys -t 2 './build/examples/ric/nearRT-RIC' ENTER;
## Run OAI UE
tmux send-keys -t 3 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 3 'sudo RFSIMULATOR=127.0.0.1 ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --rfsim --sa --nokrnmod -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf' ENTER;
tmux attach-session -t $session
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment