Skip to content
Snippets Groups Projects
  • Robert Schmidt's avatar
    644990a2
    CI: Clean_Test_Server_Images(): harmonize code · 644990a2
    Robert Schmidt authored
    - pass parameter directly instead of indirectly via class
    - harmonize to svr_id to read through common code in the next commits
    - pass images to express which images will be deleted
    - refactor function to use "with" for cls_cmd, and return success (or
      not)
    644990a2
    History
    CI: Clean_Test_Server_Images(): harmonize code
    Robert Schmidt authored
    - pass parameter directly instead of indirectly via class
    - harmonize to svr_id to read through common code in the next commits
    - pass images to express which images will be deleted
    - refactor function to use "with" for cls_cmd, and return success (or
      not)
container_4g_rfsim_fdd_20MHz.xml 6.35 KiB
<!--

 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>rfsim-4glte-fdd20mhz</htmlTabRef>
        <htmlTabName>Monolithic eNB - FDD 20MHz</htmlTabName>
        <htmlTabIcon>wrench</htmlTabIcon>
        <TestCaseRequestedList>
 111111
 800813
 000011
 000001
 000012
 000002
 000013
 000001
 000014
 000015
 020011
 020012
 030011
 030012
 100011
 222222
        </TestCaseRequestedList>
        <TestCaseExclusionList></TestCaseExclusionList>

        <testCase id="111111">
                <class>Pull_Local_Registry</class>
                <desc>Pull Images from Local Registry</desc>
                <svr_id>0</svr_id>
                <images>oai-enb-asan oai-lte-ue-asan</images>
        </testCase>
        <testCase id="800813">
                <class>Create_Workspace</class>
                <desc>Create new Workspace</desc>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>
        <testCase id="000011">
                <class>Deploy_Object</class>
                <desc>Deploy Cassandra Database</desc>
                <yaml_path>ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
                <services>cassandra db_init</services>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>

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

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

        <testCase id="000012">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 4G CoreNetwork</desc>
                <yaml_path>ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
                <services>oai_hss redis magma_mme oai_spgwc oai_spgwu trf_gen</services>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>

        <testCase id="000013">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 4G eNB RF sim (FDD 20MHz)</desc>
                <yaml_path>ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
                <services>oai_enb0</services>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>

        <testCase id="000014">
                <class>Deploy_Object</class>
                <desc>Deploy OAI 4G LTE-UE RF sim (FDD 20MHz)</desc>
                <yaml_path>ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
                <services>oai_ue0</services>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>

        <testCase id="000015">
                <class>Attach_UE</class>
                <desc>Attach OAI UE (Wait for IP)</desc>
                <id>rfsim4g_ue</id>
                <nodes>cacofonix</nodes>
        </testCase>

        <testCase id="020011">
                <class>Ping</class>
                <desc>Ping Traffic-Gen from LTE-UE</desc>
                <id>rfsim4g_ue</id>
                <nodes>cacofonix</nodes>
                <ping_args> -c 20 192.168.61.11</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="020012">
                <class>Ping</class>
                <desc>Ping LTE-UE from Traffic-Gen</desc>
                <id>rfsim4g_ext_dn</id>
                <nodes>cacofonix</nodes>
                <ping_args>-c 20 12.0.0.2</ping_args>
                <ping_packetloss_threshold>5</ping_packetloss_threshold>
        </testCase>

        <testCase id="030011">
                <class>Iperf</class>
                <desc>Iperf UDP DL</desc>
                <id>rfsim4g_ue</id>
                <nodes>cacofonix</nodes>
                <svr_id>rfsim4g_ext_dn</svr_id>
                <svr_node>cacofonix</svr_node>
                <iperf_args>-u -t 30 -b 2M -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 UL</desc>
                <id>rfsim4g_ue</id>
                <nodes>cacofonix</nodes>
                <svr_id>rfsim4g_ext_dn</svr_id>
                <svr_node>cacofonix</svr_node>
                <iperf_args>-u -t 30 -b 1M</iperf_args>
                <iperf_packetloss_threshold>25</iperf_packetloss_threshold>
                <iperf_bitrate_threshold>80</iperf_bitrate_threshold>
        </testCase>

        <testCase id="100011">
                <class>Undeploy_Object</class>
                <always_exec>true</always_exec>
                <desc>Undeploy all OAI 4G stack</desc>
                <yaml_path>ci-scripts/yaml_files/4g_rfsimulator_fdd_20MHz</yaml_path>
                <eNB_instance>0</eNB_instance>
                <eNB_serverId>0</eNB_serverId>
        </testCase>

        <testCase id="222222">
                <class>Clean_Test_Server_Images</class>
                <always_exec>true</always_exec>
                <desc>Clean Test Images on Test Server</desc>
                <svr_id>0</svr_id>
                <images>oai-enb-asan oai-lte-ue-asan</images>
        </testCase>

</testCaseList>