- pass parameter directly instead of indirectly via class - call it simply "images", to harmonize with clean-function later - harmonize to svr_id as in the previous commit - rewrite function to use with-statement with cls_cmd - optionally pass a tag to use (which will be used in a test, and can be used to pull flexric) - Introduce Pull_Image() which does the actual pulling, can pull from any registry, and will be reused in the case of pulling from cluster.
104 lines
3.7 KiB
XML
104 lines
3.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-5gnr-sidelink</htmlTabRef>
|
|
<htmlTabName>Sidelink test</htmlTabName>
|
|
<htmlTabIcon>wrench</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
111111
|
|
800813
|
|
000002
|
|
000003
|
|
000004
|
|
000005
|
|
100001
|
|
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-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="000002">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G UE 1</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_sidelink</yaml_path>
|
|
<services>oai-nr-ue-1</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="000003">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G UE 2</desc>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_sidelink</yaml_path>
|
|
<services>oai-nr-ue-2</services>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
|
|
<testCase id="000004">
|
|
<class>IdleSleep</class>
|
|
<desc>Sleep</desc>
|
|
<idle_sleep_time_in_sec>20</idle_sleep_time_in_sec>
|
|
</testCase>
|
|
|
|
<testCase id="000005">
|
|
<class>Custom_Command</class>
|
|
<desc>Check that UE synched</desc>
|
|
<node>cacofonix</node>
|
|
<command>docker logs rfsim5g-oai-nr-ue-2 | grep -m 1 "PSBCH RX:OK"</command>
|
|
<command_fail>yes</command_fail>
|
|
</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_sidelink</yaml_path>
|
|
<d_retx_th>1,0,0,0</d_retx_th>
|
|
<u_retx_th>1,0,0,0</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>
|
|
<test_svr_id>0</test_svr_id>
|
|
</testCase>
|
|
|
|
</testCaseList>
|