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

<testCaseList>
  <htmlTabRef>test-tdd-20-tm1</htmlTabRef>
  <htmlTabName>Test-TDD-20MHz-TM1</htmlTabName>
  <htmlTabIcon>tasks</htmlTabIcon>

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

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

  <testCase>
    <class>Initialize_UE</class>
    <desc>Initialize UE</desc>
    <id>adb_ue_1 adb_ue_2</id>
  </testCase>

  <testCase>
    <class>Create_Workspace</class>
    <desc>Create new Workspace for server 0</desc>
    <node>starsky</node>
  </testCase>

  <testCase>
    <class>Deploy_Object</class>
    <desc>Deploy eNB (TDD/Band40/20MHz/B200) in a container</desc>
    <node>starsky</node>
    <yaml_path>ci-scripts/yaml_files/lte_b200_tdd_20Mhz_tm1</yaml_path>
  </testCase>

  <testCase>
    <class>Attach_UE</class>
    <desc>Attach UE</desc>
    <id>adb_ue_1 adb_ue_2</id>
  </testCase>

  <testCase>
    <class>Ping</class>
    <desc>ping (20MHz - 20 sec)</desc>
    <ping_args>-c 20</ping_args>
    <ping_packetloss_threshold>25</ping_packetloss_threshold>
    <id>adb_ue_1 adb_ue_2</id>
    <svr_id>ltebox-nano</svr_id>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (20MHz - DL/13.5Mbps/UDP)(30 sec)(single-ue)</desc>
    <iperf_args>-u -b 13.5M -t 30 -R</iperf_args>
    <iperf_packetloss_threshold>50</iperf_packetloss_threshold>
    <id>adb_ue_1</id>
    <svr_id>ltebox-nano</svr_id>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (20MHz - DL/13.5Mbps/UDP)(30 sec)(balanced)</desc>
    <iperf_args>-u -b 13.5M -t 30 -R</iperf_args>
    <iperf_packetloss_threshold>50</iperf_packetloss_threshold>
    <iperf_profile>balanced</iperf_profile>
    <id>adb_ue_1 adb_ue_2</id>
    <svr_id>ltebox-nano</svr_id>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (20MHz - DL/13.5Mbps/UDP)(30 sec)(unbalanced)</desc>
    <iperf_args>-u -b 13.5M -t 30 -R</iperf_args>
    <iperf_packetloss_threshold>50</iperf_packetloss_threshold>
    <iperf_profile>unbalanced</iperf_profile>
    <id>adb_ue_1 adb_ue_2</id>
    <svr_id>ltebox-nano</svr_id>
  </testCase>

  <testCase>
    <class>Iperf</class>
    <desc>iperf (20MHz - UL/2Mbps/UDP)(30 sec)(single-ue)</desc>
    <iperf_args>-u -b 2M -t 30 -R</iperf_args>
    <iperf_packetloss_threshold>50</iperf_packetloss_threshold>
    <id>adb_ue_1</id>
    <svr_id>ltebox-nano</svr_id>
  </testCase>

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

  <testCase>
    <class>Terminate_UE</class>
    <always_exec>true</always_exec>
    <desc>Terminate UE</desc>
    <id>adb_ue_1 adb_ue_2</id>
  </testCase>

  <testCase>
    <class>Undeploy_Object</class>
    <always_exec>true</always_exec>
    <desc>Undeploy eNB</desc>
    <node>starsky</node>
    <yaml_path>ci-scripts/yaml_files/lte_b200_tdd_20Mhz_tm1</yaml_path>
    <analysis>
      <services>enb_mono_tdd=EndsWithBye</services>
    </analysis>
  </testCase>

  <testCase>
    <class>Custom_Command</class>
    <always_exec>true</always_exec>
    <desc>Enable Sleep States</desc>
    <node>starsky</node>
    <command>sudo cpupower idle-set -E</command>
  </testCase>

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

</testCaseList>
