make run script

This commit is contained in:
Erik Foris 2024-04-18 15:05:45 +02:00
parent 8d7c466bbd
commit f03a57477f

20
run Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
#start oran ric
cd /opt/oran-sc-ric
cd oran-sc-ric
docker compose up -d
# start gnb
cd /opt/srsRAN_Project/build/apps/gnb
sudo screen -dmS gnb ./gnb -c /opt/oran-sc-ric/e2-agents/srsRAN/gnb_zmq.yaml
sudo ip netns add ue1
#start srsRAN 4g
sleep 10
screen -dmS srsue srsue /opt/oran-sc-ric/e2-agents/srsRAN/ue_zmq.conf
#start xapp
screen -S xapp docker compose exec python_xapp_runner ./simple_mon_xapp.py --metrics=DRB.UEThpDl,DRB.UEThpUl