<!--

 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</htmlTabRef>
        <htmlTabName>Monolithic SA TDD gNB</htmlTabName>
        <htmlTabIcon>wrench</htmlTabIcon>
        <TestCaseRequestedList>
 111111
 800813
 000001
 000002
 000003
 000004
 000005
 000006
 000007
 000008
 020001
 020002
 020003
 020004
 020105
 444445
 030001
 030002
 444444
 333333
 020005
 444444
 333333
 020005
 100001
 222222
        </TestCaseRequestedList>
        <TestCaseExclusionList></TestCaseExclusionList>

        <testCase id="111111">
                <class>Pull_Local_Registry</class>
                <desc>Pull Images from Local Registry</desc>
                <node>localhost</node>
                <images>oai-gnb-asan oai-nr-ue</images>
        </testCase>
        <testCase id="800813">
                <class>Create_Workspace</class>
                <desc>Create new Workspace</desc>
                <node>localhost</node>
        </testCase>
        <testCase id="000001">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G CoreNetwork</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>mysql oai-amf oai-smf oai-upf oai-ext-dn</services>
        </testCase>

        <testCase id="000002">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G gNB RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-gnb</services>
        </testCase>

        <testCase id="000003">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G NR-UE RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-nr-ue</services>
        </testCase>

        <testCase id="000004">
                <class>Deploy_Object</class>
                <desc>Deploy Second OAI 5G NR-UE RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-nr-ue2</services>
        </testCase>

        <testCase id="000005">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G NR-UEs (#3, #4, #5) RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-nr-ue3 oai-nr-ue4 oai-nr-ue5</services>
        </testCase>

        <testCase id="000006">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G NR-UEs (#6, #7, #8) RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-nr-ue6 oai-nr-ue7 oai-nr-ue8</services>
        </testCase>

        <testCase id="000007">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 5G NR-UEs (#9, #10) RF sim SA</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <services>oai-nr-ue9 oai-nr-ue10</services>
        </testCase>

        <testCase id="000008">
                <class>Attach_UE</class>
                <desc>Attach OAI UE (Wait for IP)</desc>
                <id>rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3 rfsim5g_ue4 rfsim5g_ue5 rfsim5g_ue6 rfsim5g_ue7 rfsim5g_ue8 rfsim5g_ue9 rfsim5g_ue10</id>
                <nodes>localhost localhost localhost localhost localhost localhost localhost localhost localhost localhost</nodes>
        </testCase>

        <testCase id="020001">
                <class>Ping</class>
                <desc>Ping ext-dn from NR-UE</desc>
                <id>rfsim5g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25</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>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ue</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="020003">
                <class>Ping</class>
                <desc>Ping ext-dn from Second NR-UE</desc>
                <id>rfsim5g_ue2</id>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="020004">
                <class>Ping</class>
                <desc>Ping Second NR-UE from ext-dn</desc>
                <id>rfsim5g_ext_dn</id>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ue2</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="020005">
                <class>Ping</class>
                <desc>Ping ext-dn from both UEs</desc>
                <id>rfsim5g_ue rfsim5g_ue2</id>
                <nodes>localhost localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="020105">
                <class>Ping</class>
                <desc>Ping ext-dn from all UEs</desc>
                <id>rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3 rfsim5g_ue4 rfsim5g_ue5 rfsim5g_ue6 rfsim5g_ue7 rfsim5g_ue8 rfsim5g_ue9 rfsim5g_ue10</id>
                <nodes>localhost localhost localhost localhost localhost localhost localhost localhost localhost localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20 -i 0.25 -s 1016</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="030001">
                <class>Iperf</class>
                <desc>Iperf (DL/3Mbps/UDP)(20 sec)</desc>
                <iperf_args>-u -b 3M -t 20 -R</iperf_args>
                <id>rfsim5g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <iperf_packetloss_threshold>5</iperf_packetloss_threshold>
                <iperf_bitrate_threshold>90</iperf_bitrate_threshold>
        </testCase>

        <testCase id="030002">
                <class>Iperf</class>
                <desc>Iperf (UL/1Mbps/UDP)(20 sec)</desc>
                <iperf_args>-u -b 1M -t 20</iperf_args>
                <id>rfsim5g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>rfsim5g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <iperf_packetloss_threshold>5</iperf_packetloss_threshold>
                <iperf_bitrate_threshold>90</iperf_bitrate_threshold>
        </testCase>

        <testCase id="333333">
                <class>Attach_UE</class>
                <desc>Attach OAI UE 1 and 2</desc>
                <id>rfsim5g_ue rfsim5g_ue2</id>
                <nodes>localhost localhost</nodes>
        </testCase>

        <testCase id="444444">
                <class>Detach_UE</class>
                <desc>Detach OAI UE 1 and 2</desc>
                <id>rfsim5g_ue rfsim5g_ue2</id>
                <nodes>localhost localhost</nodes>
        </testCase>

        <testCase id="444445">
                <class>Detach_UE</class>
                <desc>Detach OAI UE 3 to 10</desc>
                <id>rfsim5g_ue3 rfsim5g_ue4 rfsim5g_ue5 rfsim5g_ue6 rfsim5g_ue7 rfsim5g_ue8 rfsim5g_ue9 rfsim5g_ue10</id>
                <nodes>localhost localhost localhost localhost localhost localhost localhost localhost</nodes>
        </testCase>

        <testCase id="100001">
                <class>Undeploy_Object</class>
                <always_exec>true</always_exec>
                <desc>Undeploy all OAI 5G stack</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/5g_rfsimulator</yaml_path>
                <d_retx_th>1,0,0,0</d_retx_th>
                <u_retx_th>1,0,0,0</u_retx_th>
        </testCase>

        <testCase id="222222">
                <class>Clean_Test_Server_Images</class>
                <always_exec>true</always_exec>
                <desc>Clean Test Images on Test Server</desc>
                <node>localhost</node>
                <images>oai-gnb-asan oai-nr-ue</images>
        </testCase>

</testCaseList>
