<!--

 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>l2sim-4glte-tdd</htmlTabRef>
        <htmlTabName>Testing 4G LTE L2 sim - FDD eNB</htmlTabName>
        <htmlTabIcon>wrench</htmlTabIcon>
        <TestCaseRequestedList>
 111111
 800813
 000000
 000001
 000002
 000003
 000004
 020001
 020002
 030011
 030012
 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-enb oai-lte-ue</images>
        </testCase>
        <testCase id="800813">
                <class>Create_Workspace</class>
                <desc>Create new Workspace</desc>
                <node>localhost</node>
        </testCase>
        <testCase id="000000">
                <class>Deploy_Object</class>
                <desc>Deploy Cassandra Database</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/4g_l2sim_fdd</yaml_path>
                <services>cassandra db_init</services>
        </testCase>

        <testCase id="000001">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 4G CoreNetwork</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/4g_l2sim_fdd</yaml_path>
                <services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
        </testCase>

        <testCase id="000002">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 4G eNB L2 sim</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/4g_l2sim_fdd</yaml_path>
                <services>oai_enb</services>
        </testCase>

        <testCase id="000003">
                <class>Deploy_Object</class>
                <desc>Deploy OAI L2 sim 4G LTE-UE 1 and Proxy</desc>
                <node>localhost</node>
                <yaml_path>ci-scripts/yaml_files/4g_l2sim_fdd</yaml_path>
                <services>proxy oai_ue1</services>
        </testCase>

        <testCase id="000004">
                <class>Attach_UE</class>
                <desc>Attach OAI UE</desc>
                <id>l2sim4g_ue</id>
                <nodes>localhost</nodes>
        </testCase>

        <testCase id="020001">
                <class>Ping</class>
                <desc>Ping trf-gen from LTE-UE 1</desc>
                <id>l2sim4g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>l2sim4g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20</ping_args>
                <ping_packetloss_threshold>0</ping_packetloss_threshold>
        </testCase>

        <testCase id="020002">
                <class>Ping</class>
                <desc>Ping LTE-UE 1 from trf-gen</desc>
                <id>l2sim4g_ext_dn</id>
                <nodes>localhost</nodes>
                <svr_id>l2sim4g_ue</svr_id>
                <svr_node>localhost</svr_node>
                <ping_args>-c 20</ping_args>
                <ping_packetloss_threshold>0</ping_packetloss_threshold>
        </testCase>

        <testCase id="030011">
                <class>Iperf</class>
                <desc>Iperf UDP Downlink</desc>
                <id>l2sim4g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>l2sim4g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <iperf_args>-u -t 30 -b 1M -R</iperf_args>
                <iperf_packetloss_threshold>25</iperf_packetloss_threshold>
                <iperf_bitrate_threshold>80</iperf_bitrate_threshold>
        </testCase>

        <testCase id="030012">
                <class>Iperf</class>
                <desc>Iperf UDP Uplink</desc>
                <id>l2sim4g_ue</id>
                <nodes>localhost</nodes>
                <svr_id>l2sim4g_ext_dn</svr_id>
                <svr_node>localhost</svr_node>
                <iperf_args>-u -t 30 -b 3M</iperf_args>
                <iperf_packetloss_threshold>25</iperf_packetloss_threshold>
                <iperf_bitrate_threshold>80</iperf_bitrate_threshold>
        </testCase>

        <testCase id="100001">
                <class>Undeploy_Object</class>
                <always_exec>true</always_exec>
                <node>localhost</node>
                <desc>Undeploy all OAI 4G stack</desc>
                <yaml_path>ci-scripts/yaml_files/4g_l2sim_fdd</yaml_path>
        </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-enb oai-lte-ue</images>
        </testCase>

</testCaseList>
