<!--

 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>TEST-SA-FR1-Tab2</htmlTabRef>
	<htmlTabName>SA Staged DL with QUECTEL</htmlTabName>
	<htmlTabIcon>tasks</htmlTabIcon>
	<repeatCount>1</repeatCount>
	<TestCaseRequestedList>
 011002
 100000
 041000
 000002
 011000
 011001
 000001
 051000
 000001
 071000
 000001
 071001
 000001
 071002
 000001
 071003
 000001
 071004
 000001
 071005
 000001
 011011
 011002
 081000
 200000
	</TestCaseRequestedList>
	<TestCaseExclusionList></TestCaseExclusionList>

	<testCase id="100000">
		<class>Custom_Command</class>
		<desc>Disable Sleep States</desc>
		<node>asterix</node>
		<command>sudo cpupower idle-set -D 0</command>
	</testCase>
	<testCase id="200000">
		<class>Custom_Command</class>
		<desc>Enable Sleep States</desc>
		<node>asterix</node>
		<command>sudo cpupower idle-set -E</command>
	</testCase>

	<testCase id="011000">
		<class>Initialize_UE</class>
		<desc>Initialize Quectel</desc>
		<id>nrmodule2_quectel</id>
	</testCase>
	<testCase id="011001">
		<class>Attach_UE</class>
		<desc>Attach Quectel UE</desc>
		<id>nrmodule2_quectel</id>
	</testCase>
	<testCase id="011011">
		<class>Detach_UE</class>
		<desc>Detach Quectel UE </desc>
		<id>nrmodule2_quectel</id>
	</testCase>
	<testCase id="011002">
		<class>Terminate_UE</class>
		<desc>Terminate Quectel</desc>
		<id>nrmodule2_quectel</id>
	</testCase>

	<testCase id="041000">
		<class>Initialize_eNB</class>
		<desc>Initialize gNB</desc>
		<Initialize_eNB_args>-O ci-scripts/conf_files/gnb.sa.band78.106prb.usrp310.2x2.conf --sa -q --usrp-tx-thread-config 1 --tune-offset 30000000 --thread-pool 1,3,5,7,9,11,13,15 --log_config.global_log_options level,nocolor,time</Initialize_eNB_args>
		<eNB_instance>0</eNB_instance>
		<eNB_serverId>0</eNB_serverId>
		<air_interface>nr</air_interface>
		<eNB_Trace>yes</eNB_Trace>
		<eNB_Stats>yes</eNB_Stats>
		<rt_stats_cfg>datalog_rt_stats.2x2.yaml</rt_stats_cfg>
		<USRP_IPAddress>172.21.19.14</USRP_IPAddress>
		<cmd_prefix>numactl --cpunodebind=netdev:ens2f0np0 --membind=netdev:ens2f0np0</cmd_prefix>
	</testCase>

	<testCase id="000001">
		<class>IdleSleep</class>
		<desc>Sleep</desc>
		<idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
	</testCase>

	<testCase id="000002">
		<class>IdleSleep</class>
		<desc>Sleep</desc>
		<idle_sleep_time_in_sec>20</idle_sleep_time_in_sec>
	</testCase>


	<testCase id="051000">
		<class>Ping</class>
		<desc>Ping: 40pings in 40sec</desc>
		<id>nrmodule2_quectel</id>
		<ping_args>-c 40 %cn_ip%</ping_args>
		<ping_packetloss_threshold>1</ping_packetloss_threshold>
		<ping_rttavg_threshold>20</ping_rttavg_threshold>
	</testCase>


	<testCase id="071000">
		<class>Iperf</class>
		<desc>iperf (DL/10Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 10M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>95</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>
	<testCase id="071001">
		<class>Iperf</class>
		<desc>iperf (DL/20Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 20M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>95</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>
	<testCase id="071002">
		<class>Iperf</class>
		<desc>iperf (DL/40Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 40M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>95</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>
	<testCase id="071003">
		<class>Iperf</class>
		<desc>iperf (DL/60Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 60M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>95</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>
	<testCase id="071004">
		<class>Iperf</class>
		<desc>iperf (DL/90Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 90M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>10</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>90</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>
	<testCase id="071005">
		<class>Iperf</class>
		<desc>iperf (DL/130Mbps/UDP)(30 sec)(single-ue profile)</desc>
		<iperf_args>-u -b 130M -t 30</iperf_args>
		<direction>DL</direction>
		<id>nrmodule2_quectel</id>
		<iperf_packetloss_threshold>50</iperf_packetloss_threshold>
		<iperf_bitrate_threshold>50</iperf_bitrate_threshold>
		<iperf_profile>single-ue</iperf_profile>
	</testCase>


	<testCase id="081000">
		<class>Terminate_eNB</class>
		<desc>Terminate gNB</desc>
		<eNB_instance>0</eNB_instance>
		<eNB_serverId>0</eNB_serverId>
		<air_interface>nr</air_interface>
		<d_retx_th>5,80,100,100</d_retx_th>
		<u_retx_th>5,80,100,100</u_retx_th>
	</testCase>

</testCaseList>

