CI: deploy sabox 5GC through cls_core.py, use in Ping/Iperf

- issue sabox commands from ci_infra.yaml
- use for sabox-nepes (un)deployment, ping, iperf in all XML files
This commit is contained in:
Robert Schmidt
2025-03-31 16:38:13 +02:00
parent 246ad2dda3
commit 5f3f837021
8 changed files with 22 additions and 20 deletions
+7
View File
@@ -105,6 +105,13 @@ ltebox-nano:
sabox-nepes:
Host: nepes
NetworkScript: ip a show dev tun1
Deploy:
- "sudo su -c 'screen -dm -S simulated_5g_hss /opt/hss_sim0609/start_5g_hss'"
- "sleep 1"
- "sudo /opt/ltebox/tools/start_sabox < /dev/null &> /dev/null"
- "sleep 1"
LogCollect: "cp /opt/hss_sim0609/hss.log /opt/ltebox/var/log/{amfLog.0,ngapcLog.0,ngapcommonLog.0,ngapsLog.0,xGwLog.0,upfLog.0} %%log_dir%%"
Undeploy: "sudo /opt/ltebox/tools/stop_sabox; sudo killall screen"
ltebox-nepes:
Host: nepes