- Use scripts to deploy OpenShift-based 5GC in ci_infra.yaml - Use for oc-cn5g, oc-cn5g-20897, and oc-cn5g-20897-aerial2 for (un)deployment, ping, iperf in relevant XML files - Convert hardcoded IP addresses to %cn_ip%
183 lines
5.5 KiB
XML
183 lines
5.5 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>TEST-5G-NRUE</htmlTabRef>
|
|
<htmlTabName>40 MHz TDD SA</htmlTabName>
|
|
<htmlTabIcon>tasks</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
010000 010001
|
|
800813
|
|
020000
|
|
800814
|
|
020001
|
|
000001
|
|
001000
|
|
002000
|
|
000100
|
|
000200
|
|
040001 040000
|
|
333333
|
|
444444
|
|
</TestCaseRequestedList>
|
|
<TestCaseExclusionList></TestCaseExclusionList>
|
|
|
|
<testCase id="010000">
|
|
<class>Pull_Cluster_Image</class>
|
|
<desc>Pull Images from Cluster</desc>
|
|
<images>oai-gnb</images>
|
|
<node>avra</node>
|
|
</testCase>
|
|
|
|
<testCase id="010001">
|
|
<class>Pull_Cluster_Image</class>
|
|
<desc>Pull Images from Cluster</desc>
|
|
<images>oai-nr-ue</images>
|
|
<node>caracal</node>
|
|
</testCase>
|
|
|
|
<testCase id = "030000">
|
|
<class>Custom_Command</class>
|
|
<desc>Reboot USRP N310</desc>
|
|
<node>avra</node>
|
|
<command>ssh root@192.168.80.52 reboot ; sleep 45</command>
|
|
</testCase>
|
|
|
|
<testCase id = "030001">
|
|
<class>Custom_Command</class>
|
|
<desc>Reboot USRP N310</desc>
|
|
<node>caracal</node>
|
|
<command>ssh root@192.168.20.2 reboot ; sleep 45</command>
|
|
</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="020000">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy gNB (TDD/Band78/40MHz/N310) in a container</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_gnb</yaml_path>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
<num_attempts>3</num_attempts>
|
|
</testCase>
|
|
<testCase id="800814">
|
|
<class>Create_Workspace</class>
|
|
<desc>Create new Workspace</desc>
|
|
<eNB_instance>1</eNB_instance>
|
|
<eNB_serverId>1</eNB_serverId>
|
|
</testCase>
|
|
<testCase id="020001">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy nrUE (TDD/Band78/40MHz/N310) in a container</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_nrue</yaml_path>
|
|
<eNB_instance>1</eNB_instance>
|
|
<eNB_serverId>1</eNB_serverId>
|
|
<num_attempts>3</num_attempts>
|
|
</testCase>
|
|
|
|
<testCase id="000001">
|
|
<class>Attach_UE</class>
|
|
<desc>Attach OAIUE</desc>
|
|
<id>oai_ue_caracal</id>
|
|
</testCase>
|
|
|
|
<testCase id="000100">
|
|
<class>Iperf</class>
|
|
<desc>iperf (DL/20Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-u -b 20M -t 30 -i 1 -R</iperf_args>
|
|
<id>oai_ue_caracal</id>
|
|
<svr_id>oc-cn5g</svr_id>
|
|
<iperf_packetloss_threshold>25</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>80</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="000200">
|
|
<class>Iperf</class>
|
|
<desc>iperf (UL/5Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-u -b 5M -t 30 -i 1 </iperf_args>
|
|
<id>oai_ue_caracal</id>
|
|
<svr_id>oc-cn5g</svr_id>
|
|
<iperf_packetloss_threshold>25</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>80</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="001000">
|
|
<class>Ping</class>
|
|
<desc>Ping: 20pings in 20sec</desc>
|
|
<id>oai_ue_caracal</id>
|
|
<svr_id>oc-cn5g</svr_id>
|
|
<ping_args>-c 20 %cn_ip%</ping_args>
|
|
<ping_packetloss_threshold>1</ping_packetloss_threshold>
|
|
<ping_rttavg_threshold>25</ping_rttavg_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="002000">
|
|
<class>Ping</class>
|
|
<desc>Ping: 100pings in 20sec</desc>
|
|
<id>oai_ue_caracal</id>
|
|
<svr_id>oc-cn5g</svr_id>
|
|
<ping_args>-c 100 -i 0.2 %cn_ip%</ping_args>
|
|
<ping_packetloss_threshold>1</ping_packetloss_threshold>
|
|
<ping_rttavg_threshold>30</ping_rttavg_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="040000">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy gNB</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_gnb</yaml_path>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
<d_retx_th>20,100,100,100</d_retx_th>
|
|
<u_retx_th>20,100,100,100</u_retx_th>
|
|
</testCase>
|
|
|
|
<testCase id="040001">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy nr UE</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_nrue</yaml_path>
|
|
<eNB_instance>1</eNB_instance>
|
|
<eNB_serverId>1</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="333333">
|
|
<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</images>
|
|
</testCase>
|
|
|
|
<testCase id="444444">
|
|
<class>Clean_Test_Server_Images</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Clean Test Images on Test Server</desc>
|
|
<svr_id>1</svr_id>
|
|
<images>oai-nr-ue</images>
|
|
</testCase>
|
|
|
|
</testCaseList>
|