fix: start srRAN bevore gnb

This commit is contained in:
Erik Foris 2024-04-25 14:58:07 +02:00
parent 10b1c41680
commit b36d6197b6

9
run
View File

@ -4,6 +4,10 @@
cd /opt/oran-sc-ric cd /opt/oran-sc-ric
docker compose up -d docker compose up -d
#start srsRAN 4g
sleep 5
screen -dmS srsue srsue /opt/oran-sc-ric/e2-agents/srsRAN/ue_zmq.conf
# start gnb # start gnb
cd /opt/srsRAN_Project/docker cd /opt/srsRAN_Project/docker
docker compose up -d 5gc docker compose up -d 5gc
@ -12,11 +16,6 @@ sleep 5
sudo screen -dmS gnb ./gnb -c /opt/oran-sc-ric/e2-agents/srsRAN/gnb_zmq.yaml sudo screen -dmS gnb ./gnb -c /opt/oran-sc-ric/e2-agents/srsRAN/gnb_zmq.yaml
sudo ip netns add ue1 sudo ip netns add ue1
#start srsRAN 4g
sleep 5
screen -dmS srsue srsue /opt/oran-sc-ric/e2-agents/srsRAN/ue_zmq.conf
#start ping #start ping
sleep 5 sleep 5
screen -dmS ping ip netns exec ue1 ping -i 0,1 10.45.1.1 screen -dmS ping ip netns exec ue1 ping -i 0,1 10.45.1.1