rfsim-5gnr-f1 CU-DU F1 split wrench Pull_Local_Registry Pull Images from Local Registry localhost oai-gnb-asan oai-nr-ue-asan Create_Workspace Create new Workspace localhost Deploy_Object Deploy OAI 5G CoreNetwork localhost ci-scripts/yaml_files/5g_f1_rfsimulator mysql oai-amf oai-smf oai-upf oai-ext-dn Deploy_Object Deploy OAI 5G CU + DU-PCI0 + UE RF sim SA localhost ci-scripts/yaml_files/5g_f1_rfsimulator oai-cu oai-du-pci0 oai-nr-ue Attach_UE Attach OAI UE (Wait for IP) rfsim5g_ue localhost Ping Ping ext-dn from all NR-UEs rfsim5g_ue localhost rfsim5g_ext_dn localhost -c 20 -i0.25 5 Custom_Command Simulate a DL radio channel with noise (3 dB) localhost echo channelmod modify 0 noise_power_dB 3 | ncat --send-only 192.168.71.181 8091 Iperf Iperf (DL/3Mbps/UDP)(20 sec) -u -b 3M -t 20 -R rfsim5g_ue localhost rfsim5g_ext_dn localhost 5 90 Iperf Iperf (UL/3Mbps/UDP)(20 sec) -u -b 3M -t 20 rfsim5g_ue localhost rfsim5g_ext_dn localhost 5 90 Custom_Command Trigger Reestablishment localhost echo ci force_reestab | ncat 192.168.71.171 9090 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment' Ping Ping ext-dn from NR-UE rfsim5g_ue localhost rfsim5g_ext_dn localhost -c 20 -i0.5 -w25 80 Custom_Command Verify Reestablishment localhost echo ci get_reestab_count | ncat 192.168.71.150 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1' Iperf Iperf (DL/3Mbps/UDP)(20 sec) -u -b 3M -t 20 -R rfsim5g_ue localhost rfsim5g_ext_dn localhost 5 90 Iperf Iperf (UL/3Mbps/UDP)(20 sec) -u -b 3M -t 20 rfsim5g_ue localhost rfsim5g_ext_dn localhost 5 90 Custom_Command Simulate a disruption of DL radio channel (ploss 55) localhost echo channelmod modify 0 ploss 55 | ncat 192.168.71.181 8091 IdleSleep Sleep 15 Custom_Command Get UE sync state (UE ID 0) localhost echo ciUE sync_state 0 | ncat 192.168.71.181 8091 | grep -E UE_NOT_SYNC Custom_Command Restoration of the original DL channel conditions (ploss 20) localhost echo channelmod modify 0 ploss 20 | ncat 192.168.71.181 8091 Ping Ping ext-dn from NR-UE rfsim5g_ue localhost rfsim5g_ext_dn localhost -c 20 -i0.5 -w25 80 Custom_Command Get UE sync state (UE ID 0) localhost echo ciUE sync_state 0 | ncat 192.168.71.181 8091 | grep -E UE_CONNECTED Deploy_Object Deploy OAI 5G (target) DU-PCI1 RF sim SA localhost ci-scripts/yaml_files/5g_f1_rfsimulator oai-du-pci1 IdleSleep Sleep 15 Custom_Command Trigger Handover localhost echo ci trigger_f1_ho | ncat 192.168.71.150 9090 IdleSleep Sleep 2 Iperf Iperf (DL/3Mbps/UDP)(20 sec) -u -b 3M -t 20 -R rfsim5g_ue localhost rfsim5g_ext_dn localhost 5 90 Custom_Command UE (1) connected to DU-PCI 1? localhost echo ci fetch_du_by_ue_id 1 | ncat 192.168.71.150 9090 | grep "3585" Custom_Command Trigger Handover localhost echo ci trigger_f1_ho | ncat 192.168.71.150 9090 IdleSleep Sleep 2 Ping Ping ext-dn from NR-UE rfsim5g_ue localhost rfsim5g_ext_dn localhost -c 20 -i0.5 -w25 80 Custom_Command UE (1) connected to DU-PCI 0? localhost echo ci fetch_du_by_ue_id 1 | ncat 192.168.71.150 9090 | grep "3584" Custom_Command Trigger Handover localhost echo ci trigger_f1_ho | ncat 192.168.71.150 9090 IdleSleep Sleep 2 Ping Ping ext-dn from NR-UE rfsim5g_ue localhost rfsim5g_ext_dn localhost -c 20 -i0.5 -w25 80 Custom_Command UE (1) connected to DU-PCI 1? localhost echo ci fetch_du_by_ue_id 1 | ncat 192.168.71.150 9090 | grep "3585" Undeploy_Object true Undeploy all OAI 5G stack localhost ci-scripts/yaml_files/5g_f1_rfsimulator 30,100,100,100 30,100,100,100 Clean_Test_Server_Images true Clean Test Images on Test Server localhost oai-gnb-asan oai-nr-ue-asan