<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->

<testCaseList>
  <htmlTabRef>TEST-LTE-2x2-N3XXi-TM2</htmlTabRef>
  <htmlTabName>2.6 Ghz TDD LTE 2x2 TM2</htmlTabName>
  <htmlTabIcon>tasks</htmlTabIcon>

  <testCase>
    <class>Pull_Local_Registry</class>
    <desc>Pull Images from Local Registry</desc>
    <node>obelix</node>
    <images>oai-enb</images>
  </testCase>

  <testCase>
    <class>Custom_Command</class>
    <desc>Disable Sleep States</desc>
    <node>obelix</node>
    <command>sudo cpupower idle-set -D 0</command>
  </testCase>

  <testCase>
    <class>Detach_UE</class>
    <always_exec>true</always_exec>
    <desc>Detach UE</desc>
    <id>up2</id>
  </testCase>

  <testCase>
    <class>Create_Workspace</class>
    <desc>Create new Workspace</desc>
    <node>obelix</node>
  </testCase>

  <testCase>
    <class>Deploy_Object</class>
    <desc>Deploy eNB (TDD/Band38/2.6Ghz/N3XX) in a container</desc>
    <node>obelix</node>
    <yaml_path>ci-scripts/yaml_files/lte_n3xx_tdd_2x2_tm2</yaml_path>
  </testCase>

  <testCase>
    <class>Attach_UE</class>
    <desc>Attach UE</desc>
    <id>up2</id>
  </testCase>

  <testCase>
    <class>IdleSleep</class>
    <desc>Sleep</desc>
    <idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
  </testCase>

  <testCase>
    <class>Ping</class>
    <desc>Ping: 20 pings</desc>
    <id>up2</id>
    <svr_id>porcepix-cn4g</svr_id>
    <ping_args>-c 20</ping_args>
    <ping_packetloss_threshold>1</ping_packetloss_threshold>
    <ping_rttavg_threshold>60</ping_rttavg_threshold>
  </testCase>

  <testCase>
    <class>Ping</class>
    <desc>Ping: 100 pings, size 1024</desc>
    <id>up2</id>
    <svr_id>porcepix-cn4g</svr_id>
    <ping_args>-c 100 -s 1024 -i 0.2</ping_args>
    <ping_packetloss_threshold>1</ping_packetloss_threshold>
    <ping_rttavg_threshold>60</ping_rttavg_threshold>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (DL/26Mbps/UDP)(60 sec)(single-ue profile)</desc>
    <iperf_args>-u -b 1M -t 60 -R</iperf_args>
    <id>up2</id>
    <svr_id>porcepix-cn4g</svr_id>
    <iperf_packetloss_threshold>5</iperf_packetloss_threshold>
    <iperf_bitrate_threshold>95</iperf_bitrate_threshold>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (UL/7Mbps/UDP)(60 sec)(single-ue profile)</desc>
    <iperf_args>-u -b 7M -t 60</iperf_args>
    <id>up2</id>
    <svr_id>porcepix-cn4g</svr_id>
    <iperf_packetloss_threshold>5</iperf_packetloss_threshold>
    <iperf_bitrate_threshold>95</iperf_bitrate_threshold>
  </testCase>

  <testCase>
    <class>Detach_UE</class>
    <always_exec>true</always_exec>
    <desc>Detach UE</desc>
    <id>up2</id>
  </testCase>

  <testCase>
    <class>Undeploy_Object</class>
    <always_exec>true</always_exec>
    <desc>Undeploy gNB</desc>
    <node>obelix</node>
    <yaml_path>ci-scripts/yaml_files/lte_n3xx_tdd_2x2_tm2</yaml_path>
    <analysis>
      <services>oai-enb=EndsWithBye</services>
    </analysis>
  </testCase>

  <testCase>
    <class>Clean_Test_Server_Images</class>
    <always_exec>true</always_exec>
    <desc>Clean Test Images</desc>
    <node>obelix</node>
    <images>oai-enb</images>
  </testCase>

</testCaseList>
