With the server object to be passed into ping test, it's not necessary to either hardcode an IP address or provide a template. Instead, always fill the IP address, which simplies the Ping() code. Verify that we don't have an IP address/hardcoded by throwing an assertion.
128 lines
4.7 KiB
XML
128 lines
4.7 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-tdd-dora-5gnr-tdd</htmlTabRef>
|
|
<htmlTabName>Monolithic do-ra TDD gNB</htmlTabName>
|
|
<htmlTabIcon>wrench</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
111111
|
|
800813
|
|
004000
|
|
000000
|
|
000001
|
|
020001
|
|
020002
|
|
100001
|
|
004000
|
|
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-ue-asan</images>
|
|
</testCase>
|
|
|
|
<testCase id="004000">
|
|
<class>Custom_Command</class>
|
|
<desc>Clean-Up any residual volume</desc>
|
|
<node>cacofonix</node>
|
|
<command>docker volume rm 5g_rfsimulator_tdd_dora_rrc.config -f</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="000000">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI gNB</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_tdd_dora</yaml_path>
|
|
<services>oai-gnb</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="000001">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI NR-UE</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_tdd_dora</yaml_path>
|
|
<services>oai-nr-ue</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="020001">
|
|
<class>Ping</class>
|
|
<desc>Ping gNB from NR-UE</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_gnb_nos1</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<ping_args>-c20 -i0.2</ping_args>
|
|
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="020002">
|
|
<class>Ping</class>
|
|
<desc>Ping NR-UE from gNB</desc>
|
|
<id>rfsim5g_gnb_nos1</id>
|
|
<nodes>cacofonix</nodes>
|
|
<svr_id>rfsim5g_ue</svr_id>
|
|
<svr_node>cacofonix</svr_node>
|
|
<ping_args>-c20 -i0.2</ping_args>
|
|
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="100001">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy all OAI 5G stack</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_tdd_dora</yaml_path>
|
|
<d_retx_th>0,0,0,0</d_retx_th>
|
|
<u_retx_th>0,0,0,0</u_retx_th>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="004000">
|
|
<class>Custom_Command</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Clean-Up any residual volume</desc>
|
|
<node>cacofonix</node>
|
|
<command>docker volume rm 5g_rfsimulator_tdd_dora_rrc.config</command>
|
|
</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-ue-asan</images>
|
|
</testCase>
|
|
|
|
</testCaseList>
|