<!--

 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>
        <repeatCount>1</repeatCount>
        <TestCaseRequestedList>
 111111
 100001
 000000
 000001
 000002
 000003
 000004
 200000
 020001
 020002
 030011
 030012
 200001
 100001
        </TestCaseRequestedList>
        <TestCaseExclusionList></TestCaseExclusionList>

        <testCase id="111111">
                <class>Pull_Local_Registry</class>
                <desc>Pull Images from Local Registry</desc>
                <test_svr_id>0</test_svr_id>
                <images_to_pull>oai-enb oai-lte-ue</images_to_pull>
        </testCase>

        <testCase id="000000">
                <class>DeployGenObject</class>
                <desc>Deploy Cassandra Database</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
                <services>cassandra db_init</services>
                <nb_healthy>1</nb_healthy>
        </testCase>

        <testCase id="000001">
                <class>DeployGenObject</class>
                <desc>Deploy OAI 4G CoreNetwork</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
                <services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
                <nb_healthy>7</nb_healthy>
        </testCase>

        <testCase id="000002">
                <class>DeployGenObject</class>
                <desc>Deploy OAI 4G eNB L2 sim</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
                <services>oai_enb</services>
                <nb_healthy>8</nb_healthy>
        </testCase>

        <testCase id="000003">
                <class>DeployGenObject</class>
                <desc>Deploy OAI L2 sim 4G LTE-UE 1 and Proxy</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
                <services>proxy oai_ue1</services>
                <nb_healthy>10</nb_healthy>
        </testCase>

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

        <testCase id="020001">
                <class>Ping</class>
                <desc>Ping trf-gen from LTE-UE 1</desc>
                <id>l2sim4g_ue</id>
                <ping_args> -c 20 192.168.61.11</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>
                <ping_args>-c 20 12.0.0.2</ping_args>
                <ping_packetloss_threshold>0</ping_packetloss_threshold>
        </testCase>

        <testCase id="030011">
                <class>IperfFromContainer</class>
                <desc>Iperf UDP Downlink</desc>
                <server_container_name>l2sim4g-oai-lte-ue1</server_container_name>
                <client_container_name>l2sim4g-trf-gen</client_container_name>
                <server_options>-B 12.0.0.2 -u -i 1 -s</server_options>
                <client_options>-c 12.0.0.2 -u -i 1 -t 30 -b 1M</client_options>
        </testCase>

        <testCase id="030012">
                <class>IperfFromContainer</class>
                <desc>Iperf UDP Uplink</desc>
                <server_container_name>l2sim4g-trf-gen</server_container_name>
                <client_container_name>l2sim4g-oai-lte-ue1</client_container_name>
                <server_options>-u -i 1 -s</server_options>
                <client_options>-B 12.0.0.2 -c 192.168.61.11 -u -i 1 -t 30 -b 3M</client_options>
        </testCase>

        <testCase id="100001">
                <class>UndeployGenObject</class>
                <desc>Undeploy all OAI 4G stack</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
        </testCase>

        <testCase id="200000">
                <class>StatsFromGenObject</class>
                <desc>Statistics before Traffic Test</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
        </testCase>

        <testCase id="200001">
                <class>StatsFromGenObject</class>
                <desc>Statistics after Traffic Test</desc>
                <yaml_path>yaml_files/4g_l2sim_fdd</yaml_path>
        </testCase>

</testCaseList>
