This is not really used as of now, because most IPs are hardcoded. See one of the next commits for the use of this. To make sure that we have the correct IP, there is some code that verifies that a hardcoded IP and the CN IP would be the same. Note: need two separate ci_infra.yaml entries, because - for FlexRIC, the container name is different (is the tutorial CN) - for RFsim5G E1, we don't have ext-dn => ping UPF
245 lines
9.2 KiB
XML
245 lines
9.2 KiB
XML
<!--
|
|
|
|
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The OpenAirInterface Software Alliance licenses this file to You under
|
|
the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.openairinterface.org/?page_id=698
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
contact@openairinterface.org
|
|
|
|
-->
|
|
<testCaseList>
|
|
<htmlTabRef>rfsim-5gnr-f1</htmlTabRef>
|
|
<htmlTabName>CU-DU F1 split</htmlTabName>
|
|
<htmlTabIcon>wrench</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
111111
|
|
800813
|
|
000021
|
|
000022
|
|
000023
|
|
020021
|
|
030020
|
|
030021
|
|
030022
|
|
040001
|
|
020022
|
|
040002
|
|
030021
|
|
030022
|
|
040021
|
|
000030
|
|
040022
|
|
040023
|
|
020022
|
|
040024
|
|
000024
|
|
040025
|
|
000031
|
|
030021
|
|
100021
|
|
222222
|
|
</TestCaseRequestedList>
|
|
<TestCaseExclusionList></TestCaseExclusionList>
|
|
|
|
<testCase id="111111">
|
|
<class>Pull_Local_Registry</class>
|
|
<desc>Pull Images from Local Registry</desc>
|
|
<svr_id>0</svr_id>
|
|
<images>oai-gnb-asan oai-nr-cuup-asan oai-nr-ue-asan</images>
|
|
</testCase>
|
|
<testCase id="800813">
|
|
<class>Create_Workspace</class>
|
|
<desc>Create new Workspace</desc>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
<testCase id="000021">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G CoreNetwork</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_f1_rfsimulator</yaml_path>
|
|
<services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="000022">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G CU + DU-PCI0 + UE RF sim SA</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_f1_rfsimulator</yaml_path>
|
|
<services>oai-cu oai-du-pci0 oai-nr-ue</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="000030">
|
|
<class>IdleSleep</class>
|
|
<desc>Sleep</desc>
|
|
<idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
|
|
</testCase>
|
|
|
|
<testCase id="000031">
|
|
<class>IdleSleep</class>
|
|
<desc>Sleep</desc>
|
|
<idle_sleep_time_in_sec>2</idle_sleep_time_in_sec>
|
|
</testCase>
|
|
|
|
<testCase id="000023">
|
|
<class>Attach_UE</class>
|
|
<desc>Attach OAI UE (Wait for IP)</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
</testCase>
|
|
|
|
<testCase id="000024">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G (target) DU-PCI1 RF sim SA</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_f1_rfsimulator</yaml_path>
|
|
<services>oai-du-pci1</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="020021">
|
|
<class>Ping</class>
|
|
<desc>Ping ext-dn from all NR-UEs</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_ext_dn</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<ping_args> -c 20 192.168.72.135 -i0.25</ping_args>
|
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="030020">
|
|
<class>Custom_Command</class>
|
|
<desc>Simulate a DL radio channel with noise (3 dB)</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo channelmod modify 0 noise_power_dB 3 | nc --send-only 192.168.71.181 8091</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="030021">
|
|
<class>Iperf</class>
|
|
<desc>Iperf (DL/5Mbps/UDP)(30 sec)</desc>
|
|
<iperf_args>-u -b 5M -t 20 -R</iperf_args>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_ext_dn</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>90</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="030022">
|
|
<class>Iperf</class>
|
|
<desc>Iperf (UL/3Mbps/UDP)(30 sec)</desc>
|
|
<iperf_args>-u -b 3M -t 20</iperf_args>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_ext_dn</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>90</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="040001">
|
|
<class>Custom_Command</class>
|
|
<desc>Trigger Reestablishment</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo ci force_reestab | nc 192.168.71.171 9090 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="020022">
|
|
<class>Ping</class>
|
|
<desc>Ping ext-dn from NR-UE</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_ext_dn</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<ping_args> -c 20 192.168.72.135 -i0.5 -w25</ping_args>
|
|
<ping_packetloss_threshold>80</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="040002">
|
|
<class>Custom_Command</class>
|
|
<desc>Verify Reestablishment</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo ci get_reestab_count | nc 192.168.71.150 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="040021">
|
|
<class>Custom_Command</class>
|
|
<desc>Simulate a disruption of DL radio channel (ploss 55)</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo channelmod modify 0 ploss 55 | nc 192.168.71.181 8091</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="040022">
|
|
<class>Custom_Command</class>
|
|
<desc>Get UE sync state (UE ID 0)</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo ciUE sync_state 0 | nc 192.168.71.181 8091 | grep -E UE_NOT_SYNC</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="040023">
|
|
<class>Custom_Command</class>
|
|
<desc>Restoration of the original DL channel conditions (ploss 20)</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo channelmod modify 0 ploss 20 | nc 192.168.71.181 8091</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="040024">
|
|
<class>Custom_Command</class>
|
|
<desc>Get UE sync state (UE ID 0)</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo ciUE sync_state 0 | nc 192.168.71.181 8091 | grep -E UE_CONNECTED</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="040025">
|
|
<class>Custom_Command</class>
|
|
<desc>Trigger Handover</desc>
|
|
<node>cacofonix</node>
|
|
<command>echo ci trigger_f1_ho | nc 192.168.71.150 9090</command>
|
|
<command_fail>yes</command_fail>
|
|
</testCase>
|
|
|
|
<testCase id="100021">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy all OAI 5G stack</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_f1_rfsimulator</yaml_path>
|
|
<d_retx_th>30,100,100,100</d_retx_th>
|
|
<u_retx_th>30,100,100,100</u_retx_th>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="222222">
|
|
<class>Clean_Test_Server_Images</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Clean Test Images on Test Server</desc>
|
|
<svr_id>0</svr_id>
|
|
<images>oai-gnb-asan oai-nr-cuup-asan oai-nr-ue-asan</images>
|
|
</testCase>
|
|
|
|
</testCaseList>
|