Ensure that the UE has an IP address before continuing the test. Otherwise, it might happen we ping before the UE is connected. Do not do this in do-ra and phytest, as they use --noS1, which implies statically assigned IP address, so IP address check always succeeds(!).
114 lines
4.3 KiB
XML
114 lines
4.3 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-tdd-2x2</htmlTabRef>
|
|
<htmlTabName>Monolithic SA TDD 2x2 gNB</htmlTabName>
|
|
<htmlTabIcon>wrench</htmlTabIcon>
|
|
<repeatCount>1</repeatCount>
|
|
<TestCaseRequestedList>
|
|
111111
|
|
100001
|
|
000001
|
|
000002
|
|
000003
|
|
020001
|
|
020002
|
|
030001
|
|
030002
|
|
100001
|
|
</TestCaseRequestedList>
|
|
<TestCaseExclusionList></TestCaseExclusionList>
|
|
|
|
<testCase id="111111">
|
|
<class>Pull_Local_Registry</class>
|
|
<desc>Pull Images from Local Registry</desc>
|
|
<test_svr_id>0</test_svr_id>
|
|
<images_to_pull>oai-gnb-asan oai-nr-ue-asan</images_to_pull>
|
|
</testCase>
|
|
|
|
<testCase id="000001">
|
|
<class>DeployGenObject</class>
|
|
<desc>Deploy OAI 5G CoreNetwork</desc>
|
|
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
|
|
<services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
|
|
<nb_healthy>5</nb_healthy>
|
|
</testCase>
|
|
|
|
<testCase id="000002">
|
|
<class>DeployGenObject</class>
|
|
<desc>Deploy OAI 5G gNB+UE RF sim SA</desc>
|
|
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
|
|
<services>oai-gnb oai-nr-ue</services>
|
|
<nb_healthy>7</nb_healthy>
|
|
</testCase>
|
|
|
|
<testCase id="000003">
|
|
<class>Attach_UE</class>
|
|
<desc>Attach OAI UE (Wait for IP)</desc>
|
|
<id>rfsim5g_ue</id>
|
|
</testCase>
|
|
|
|
<testCase id="020001">
|
|
<class>Ping</class>
|
|
<desc>Ping ext-dn from NR-UE</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<ping_args> -c 20 192.168.72.135</ping_args>
|
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="020002">
|
|
<class>Ping</class>
|
|
<desc>Ping NR-UE from ext-dn</desc>
|
|
<id>rfsim5g_ext_dn</id>
|
|
<ping_args>-c 20 12.1.1.2</ping_args>
|
|
<ping_packetloss_threshold>5</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="030001">
|
|
<class>IperfFromContainer</class>
|
|
<desc>Iperf UDP Downlink</desc>
|
|
<server_container_name>rfsim5g-oai-nr-ue</server_container_name>
|
|
<client_container_name>rfsim5g-oai-ext-dn</client_container_name>
|
|
<server_options>-B 12.1.1.2 -u -i 1 -s</server_options>
|
|
<client_options>-c 12.1.1.2 -u -i 1 -t 10 -b 3M</client_options>
|
|
</testCase>
|
|
|
|
<testCase id="030002">
|
|
<class>IperfFromContainer</class>
|
|
<desc>Iperf UDP Uplink</desc>
|
|
<server_container_name>rfsim5g-oai-ext-dn</server_container_name>
|
|
<client_container_name>rfsim5g-oai-nr-ue</client_container_name>
|
|
<server_options>-u -i 1 -s</server_options>
|
|
<client_options>-B 12.1.1.2 -c 192.168.72.135 -u -i 1 -t 10 -b 1M</client_options>
|
|
</testCase>
|
|
|
|
<testCase id="100001">
|
|
<class>UndeployGenObject</class>
|
|
<desc>Undeploy all OAI 5G stack</desc>
|
|
<yaml_path>yaml_files/5g_rfsimulator_2x2</yaml_path>
|
|
<d_retx_th>1,0,0,0</d_retx_th>
|
|
<u_retx_th>1,0,0,0</u_retx_th>
|
|
</testCase>
|
|
|
|
</testCaseList>
|