creation of tests and configs subdirectories 21/71821/1
authorLuc Provoost <luc.provoost@intel.com>
Wed, 27 Jan 2021 16:18:31 +0000 (17:18 +0100)
committerLuc Provoost <luc.provoost@intel.com>
Wed, 27 Jan 2021 16:26:50 +0000 (17:26 +0100)
All test files are now in the tests directory. All PROX config files
moved to the configs directory. When specifying a test on the
runrapid.py command line, you should now also mention the directory:
e.g. --test tests/basicrapid.test
In these test files, you need now to also include the configs
subdirectory when specifying the prox configuration that needs to be
used.
The --map parameter has also changed. It can still take the file name
of the map file, that specifies which PROX instance to use during a
test. On top of that, you can now also specify a list of indices of the
machines to be used during a test: e.g. --map [1,3].

Change-Id: I887cba59834dd8c903a22bc80959b10da2775398
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
40 files changed:
VNFs/DPPD-PROX/helper-scripts/rapid/configs/gen.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/gen.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/gen_gw.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/gen_gw.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/genv6.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/genv6.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/impair.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/impair.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/irq.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/irq.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/l2gen.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l2gen.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/l2gen_bare.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l2gen_bare.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/l2swap.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l2swap.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/secgw1.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/secgw1.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/secgw2.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/secgw2.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/setup.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/setup.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/swap.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/configs/swapv6.cfg [moved from VNFs/DPPD-PROX/helper-scripts/rapid/swapv6.cfg with 100% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/createrapid.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_cli.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_defaults.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_generator_machine.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_impairtest.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_machine.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapidxt.py
VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py
VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009_Throughput.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/TST009_Throughput.test with 95% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009_Throughput_64B_64F.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/TST009_Throughput_64B_64F.test with 95% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009_Throughput_acaeab_16384F.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/TST009_Throughput_acaeab_16384F.test with 81% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009ipV6.test [new file with mode: 0644]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/bare.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/bare.test with 94% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/basicrapid.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/basicrapid.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/corestats.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/corestats.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/impair.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/impair.test with 91% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/increment_till_fail.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/increment_till_fail.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/ipv6.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/irq.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/irq.test with 93% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/l2framerate.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l2framerate.test with 93% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/l2zeroloss.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l2zeroloss.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/l3framerate.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/l3framerate.test with 95% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/portstats.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/portstats.test with 96% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/tests/secgw.test [moved from VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test with 92% similarity]
VNFs/DPPD-PROX/helper-scripts/rapid/xtesting/testcases.yaml

index 1658cff..0efea9a 100755 (executable)
@@ -53,7 +53,7 @@ def main():
     rapid_stack_params = {}
     RapidStackManager.parse_config(rapid_stack_params)
     log_file = 'CREATE{}.log'.format(rapid_stack_params['stack_name'])
-    RapidLog.log_init(log_file, 'DEBUG', 'INFO', '2020.09.23')
+    RapidLog.log_init(log_file, 'DEBUG', 'INFO', '2021.01.27')
     #cloud_name = 'openstackL6'
     #stack_name = 'rapid'
     #heat_template = 'openstack-rapid.yaml'
index ac0518c..d103deb 100644 (file)
@@ -41,6 +41,7 @@ class RapidCli(object):
         print("  --env ENVIRONMENT_NAME Parameters will be read from ENVIRONMENT_NAME. Default is %s."%test_params['environment_file'])
         print("  --test TEST_NAME       Test cases will be read from TEST_NAME. Default is %s."%test_params['test_file'])
         print("  --map MACHINE_MAP_FILE Machine mapping will be read from MACHINE_MAP_FILE. Default is %s."%test_params['machine_map_file'])
+        print("  --map INDEX_LIST       This parameter can also be a list of indices, e.g. [2,3]")
         print("  --runtime              Specify time in seconds for 1 test run")
         print("  --configonly           If this option is specified, only upload all config files to the VMs, do not run the tests")
         print("  --log                  Specify logging level for log file output, default is DEBUG")
index e648c01..612a57e 100644 (file)
@@ -21,7 +21,7 @@ class RapidDefaults(object):
     Class to define the test defaults
     """
     test_params = {
-        'version' : '2020.12.21', # Please do NOT change, used for debugging
+        'version' : '2021.01.27', # Please do NOT change, used for debugging
         'environment_file' : 'rapid.env', #Default string for environment
         'test_file' : 'basicrapid.test', #Default string for test
         'machine_map_file' : 'machine.map', #Default string for machine map file
index 566e7cf..d5d5e4f 100644 (file)
@@ -109,7 +109,7 @@ class FlowSizeTest(RapidTest):
                 backgroundinfo = '{}{}'.format(bcolors.FLASH,bcolors.ENDC)
             self.set_background_size(self.background_machines, imix)
             RapidLog.info("+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+")
-            RapidLog.info('| UDP, {:>5} bytes, different number of flows by randomizing SRC & DST UDP port. {:116.116}|'.format(size, backgroundinfo))
+            RapidLog.info('| UDP, {:>5} bytes, different number of flows by randomizing SRC & DST UDP port. {:116.116}|'.format(round(size), backgroundinfo))
             RapidLog.info("+--------+------------------+-------------+-------------+-------------+------------------------+----------+----------+----------+-----------+-----------+-----------+-----------+-------+----+")
             RapidLog.info('| Flows  | Speed requested  | Gen by core | Sent by NIC | Fwrd by SUT | Rec. by core           | Avg. Lat.|{:.0f} Pcentil| Max. Lat.|   Sent    |  Received |    Lost   | Total Lost|L.Ratio|Time|'.format(self.test['lat_percentile']*100))
             RapidLog.info("+--------+------------------+-------------+-------------+-------------+------------------------+----------+----------+----------+-----------+-----------+-----------+-----------+-------+----+")
index 99cb361..eb611bf 100644 (file)
@@ -81,7 +81,7 @@ class RapidGeneratorMachine(RapidMachine):
         return (self.machine_params['gencores'] +
                 self.machine_params['latcores'])
 
-    def generate_lua(self, vim):
+    def generate_lua(self, vim, prox_config_file):
         appendix = 'gencores="%s"\n'% ','.join(map(str,
             self.machine_params['gencores']))
         appendix = appendix + 'latcores="%s"\n'% ','.join(map(str,
@@ -103,7 +103,7 @@ class RapidGeneratorMachine(RapidMachine):
                     'heartbeat="%s"\n'% self.machine_params['heartbeat'])
         else:
             appendix = appendix + 'heartbeat="60"\n'
-        super().generate_lua(vim, appendix)
+        super().generate_lua(vim, prox_config_file, appendix)
 
     def start_prox(self):
         # Start the generator with the -e option so that the cores don't
index 2e55aea..8dfdc80 100644 (file)
@@ -45,7 +45,7 @@ class ImpairTest(RapidTest):
         flow_number = self.gen_machine.set_flows(flow_number)
         self.gen_machine.start_latency_cores()
         RapidLog.info("+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+")
-        RapidLog.info("| Generator is sending UDP ({:>5} flow) packets ({:>5} bytes) to SUT via GW dropping and delaying packets. SUT sends packets back. Use ctrl-c to stop the test                               |".format(flow_number,size))
+        RapidLog.info("| Generator is sending UDP ({:>5} flow) packets ({:>5} bytes) to SUT via GW dropping and delaying packets. SUT sends packets back. Use ctrl-c to stop the test                               |".format(flow_number,round(size)))
         RapidLog.info("+--------+------------------+-------------+-------------+-------------+------------------------+----------+----------+----------+-----------+-----------+-----------+-----------+-------+----+")
         RapidLog.info('| Test   | Speed requested  | Gen by core | Sent by NIC | Fwrd by SUT | Rec. by core           | Avg. Lat.|{:.0f} Pcentil| Max. Lat.|   Sent    |  Received |    Lost   | Total Lost|L.Ratio|Time|'.format(self.test['lat_percentile']*100))
         RapidLog.info("+--------+------------------+-------------+-------------+-------------+------------------------+----------+----------+----------+-----------+-----------+-----------+-----------+-------+----+")
index e47c179..d9e18b0 100644 (file)
@@ -18,6 +18,7 @@
 
 from rapid_log import RapidLog 
 from prox_ctrl import prox_ctrl
+import os
 import re
 
 class RapidMachine(object):
@@ -69,8 +70,8 @@ class RapidMachine(object):
                 result = self._client.run_cmd(DevBindFileName)
                 RapidLog.debug('devbind.sh running for port {} on {} {}'.format(index, self.name, result))
 
-    def generate_lua(self, vim, appendix = ''):
-        PROXConfigfile =  open (self.machine_params['config_file'], 'r')
+    def generate_lua(self, vim, prox_config_file, appendix = ''):
+        PROXConfigfile =  open (prox_config_file, 'r')
         PROXConfig = PROXConfigfile.read()
         PROXConfigfile.close()
         self.all_tasks_for_this_cfg = set(re.findall("task\s*=\s*(\d+)",PROXConfig))
@@ -104,13 +105,13 @@ class RapidMachine(object):
             self._client.connect()
             if self.vim in ['OpenStack']:
                 self.devbind()
-            self.generate_lua(self.vim)
-            self._client.scp_put(self.machine_params['config_file'], '{}/{}'.format(self.rundir, self.machine_params['config_file']))
+            _, prox_config_file_name = os.path.split(self.machine_params['config_file'])
+            self.generate_lua(self.vim, self.machine_params['config_file'])
+            self._client.scp_put(self.machine_params['config_file'], '{}/{}'.format(self.rundir, prox_config_file_name))
             if ((not self.configonly) and self.machine_params['prox_launch_exit']):
-                cmd = 'sudo {}/prox {} -t -o cli -f {}/{}'.format(self.rundir, autostart, self.rundir, self.machine_params['config_file'])
+                cmd = 'sudo {}/prox {} -t -o cli -f {}/{}'.format(self.rundir, autostart, self.rundir, prox_config_file_name)
                 RapidLog.debug("Starting PROX on {}: {}".format(self.name, cmd))
                 result = self._client.run_cmd(cmd, 'PROX Testing on {}'.format(self.name))
-                #RapidLog.debug("Finished PROX on {}: {}, {}".format(self.name, cmd, result))
                 RapidLog.debug("Finished PROX on {}: {}".format(self.name, cmd))
 
     def close_prox(self):
index e5ed10d..136bc27 100644 (file)
@@ -91,11 +91,29 @@ class RapidConfigParser(object):
                 'total_number_of_machines']:
             RapidLog.exception("Not enough VMs for this test: %d needed and only %d available" % (required_number_of_test_machines,total_number_of_machines))
             raise Exception("Not enough VMs for this test: %d needed and only %d available" % (required_number_of_test_machines,total_number_of_machines))
+        map_info = test_params['machine_map_file'].strip('[]').split(',')
+        map_info_length = len(map_info)
+        if map_info_length > 1:
+            if map_info_length < test_params[
+                    'required_number_of_test_machines']:
+                RapidLog.exception('Not enough machine indices in --map \
+                        parameter: {}. Needing {} entries'.format(map_info,
+                            test_params['required_number_of_test_machines']))
+            machine_index = list(map(int,map_info))
+        else:
+            machine_map = configparser.RawConfigParser()
+            machine_map.read(test_params['machine_map_file'])
+            machine_index = []
+            for test_machine in range(1,
+                    test_params['required_number_of_test_machines']+1):
+                machine_index.append(int(machine_map.get(
+                    'TestM%d'%test_machine, 'machine_index')))
         machine_map = configparser.RawConfigParser()
         machine_map.read(test_params['machine_map_file'])
         machines = []
         machine = {}
-        for test_machine in range(1, test_params['required_number_of_test_machines']+1):
+        for test_machine in range(1, test_params[
+            'required_number_of_test_machines']+1):
             machine.clear()
             section = 'TestM%d'%test_machine
             options = testconfig.options(section)
@@ -108,7 +126,8 @@ class RapidConfigParser(object):
                 elif option in ['bucket_size_exp']:
                     machine[option] = int(testconfig.get(section, option))
                     if machine[option] < 11:
-                        RapidLog.exception("Minimum Value for bucket_size_exp is 11")
+                        RapidLog.exception(
+                                "Minimum Value for bucket_size_exp is 11")
                 else:
                     machine[option] = testconfig.get(section, option)
                 for key in ['prox_socket','prox_launch_exit']:
@@ -116,9 +135,7 @@ class RapidConfigParser(object):
                        machine[key] = True
             if 'monitor' not in machine.keys():
                 machine['monitor'] = True
-            index = int(machine_map.get('TestM%d'%test_machine,
-                'machine_index'))
-            section = 'M%d'%index
+            section = 'M%d'%machine_index[test_machine-1]
             options = config.options(section)
             for option in options:
                 machine[option] = config.get(section, option)
index 2a82df5..b9b1dc7 100644 (file)
@@ -37,8 +37,11 @@ class RapidXt(testcase.TestCase):
                 test_params[key] = kwargs[key]
             os.makedirs(self.res_dir, exist_ok=True)
             test_params['resultsdir'] = self.res_dir
+            _, test_file_name = os.path.split(test_params['test_file'])
+            _, environment_file_name = os.path.split(
+                    test_params['environment_file'])
             log_file = '{}/RUN{}.{}.log'.format(self.res_dir,
-                test_params['environment_file'], test_params['test_file'])
+                    environment_file_name, test_file)
             RapidLog.log_init(log_file, test_params['loglevel'],
                 test_params['screenloglevel'] , test_params['version']  )
             test_manager = RapidTestManager()
index 3bdb91d..157bd8c 100755 (executable)
@@ -22,6 +22,7 @@ from __future__ import division
 from future import standard_library
 standard_library.install_aliases()
 from builtins import object
+import os
 import sys
 import concurrent.futures
 from concurrent.futures import ALL_COMPLETED
@@ -141,8 +142,9 @@ def main():
     # When no cli is used, the process_cli can be replaced by code modifying
     # test_params
     test_params = RapidCli.process_cli(test_params)
-    log_file = 'RUN{}.{}.log'.format(test_params['environment_file'],
-            test_params['test_file'])
+    _, test_file_name = os.path.split(test_params['test_file'])
+    _, environment_file_name = os.path.split(test_params['environment_file'])
+    log_file = 'RUN{}.{}.log'.format(environment_file_name, test_file_name)
     RapidLog.log_init(log_file, test_params['loglevel'],
             test_params['screenloglevel'] , test_params['version']  )
     test_manager = RapidTestManager()
@@ -22,7 +22,7 @@ lat_percentile = 99
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -30,7 +30,7 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
@@ -22,7 +22,7 @@ lat_percentile = 99
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -30,7 +30,7 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
@@ -22,7 +22,7 @@ lat_percentile = 99
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -30,16 +30,11 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
 test=TST009test
-# Following parameter defines the success criterium for the test.
-# When this test uses multiple combinations of packet size and flows,
-# all combinations must be meeting the same threshold
-# The threshold is expressed in Mpps
-pass_threshold=0.001
 imixs=[[64,256,64,1024,64,128]]
 # the number of flows in the list need to be powers of 2, max 2^20
 # Select from following numbers: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009ipV6.test b/VNFs/DPPD-PROX/helper-scripts/rapid/tests/TST009ipV6.test
new file mode 100644 (file)
index 0000000..28c4f92
--- /dev/null
@@ -0,0 +1,59 @@
+##
+## Copyright (c) 2020 Intel Corporation
+##
+## Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+##
+## 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.
+##
+
+[TestParameters]
+name = BasicSwapTesting
+number_of_tests = 2
+total_number_of_test_machines = 2
+lat_percentile = 99
+
+[TestM1]
+name = Generator
+config_file = configs/genv6.cfg
+dest_vm = 2
+gencores = [1]
+latcores = [3]
+#bucket_size_exp = 12
+
+[TestM2]
+name = Swap
+config_file = configs/swapv6.cfg
+cores = [1]
+#prox_socket = true
+#prox_launch_exit = true
+
+[test1]
+test=warmuptest
+flowsize=512
+imix=[64]
+warmupspeed=1
+warmuptime=2
+
+[test2]
+test=TST009test
+# DO NOT USE IMIX FOR IPV6 TESTING. THE LIST OF IMIXS CAN ONLY CONTAIN LISTS
+# WITH ONE ELEMENT!!!
+# PACKET SIZE NEEDS TO BE AT LEAST 84 (66 + 18) FOR IPV6
+# 18 bytes needed for UDP LATENCY AND COUNTER CONTENT
+imixs=[[84],[128]]
+# the number of flows in the list need to be powers of 2, max 2^20
+# Select from following numbers: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576
+flows=[8,1024]
+drop_rate_threshold = 0
+MAXr = 3
+MAXz = 5000
+MAXFramesPerSecondAllIngress = 12000000
+StepSize = 10000
@@ -21,14 +21,14 @@ total_number_of_test_machines = 2
 
 [TestM1]
 name = Generator
-config_file = l2gen_bare.cfg
+config_file = configs/l2gen_bare.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = l2swap.cfg
+config_file = configs/l2swap.cfg
 cores = [1]
 
 [test1]
@@ -22,7 +22,7 @@ lat_percentile = 99
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -30,7 +30,7 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 #prox_socket = true
 #prox_launch_exit = true
@@ -21,7 +21,7 @@ total_number_of_test_machines = 1
 
 [TestM1]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
@@ -21,7 +21,7 @@ total_number_of_test_machines = 3
 
 [TestM1]
 name = Generator
-config_file = gen_gw.cfg
+config_file = configs/gen_gw.cfg
 gw_vm = 2
 dest_vm = 3
 gencores = [1]
@@ -29,13 +29,13 @@ latcores = [3]
 
 [TestM2]
 name = ImpairGW
-config_file = impair.cfg
+config_file = configs/impair.cfg
 cores = [1]
 monitor = False
 
 [TestM3]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
@@ -22,7 +22,7 @@ lat_percentile = 99
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -30,7 +30,7 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 #prox_socket = true
 #prox_launch_exit = true
@@ -23,7 +23,7 @@ ipv6 = True
 
 [TestM1]
 name = Generator
-config_file = genv6.cfg
+config_file = configs/genv6.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
@@ -31,7 +31,7 @@ latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swapv6.cfg
+config_file = configs/swapv6.cfg
 cores = [1]
 #prox_socket = true
 #prox_launch_exit = true
@@ -21,13 +21,13 @@ total_number_of_test_machines = 2
 
 [TestM1]
 name = InterruptTestMachine1
-config_file = irq.cfg
+config_file = configs/irq.cfg
 cores = [1,2,3]
 monitor = False
 
 [TestM2]
 name = InterruptTestMachine2
-config_file = irq.cfg
+config_file = configs/irq.cfg
 cores = [1,2,3]
 monitor = False
 
@@ -21,14 +21,14 @@ total_number_of_test_machines = 2
 
 [TestM1]
 name = Generator
-config_file = l2gen.cfg
+config_file = configs/l2gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = l2swap.cfg
+config_file = configs/l2swap.cfg
 cores = [1]
 
 [test1]
@@ -21,14 +21,14 @@ total_number_of_test_machines = 2
 
 [TestM1]
 name = Generator
-config_file = l2gen.cfg
+config_file = configs/l2gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = l2swap.cfg
+config_file = configs/l2swap.cfg
 cores = [1]
 
 [test1]
@@ -21,14 +21,14 @@ total_number_of_test_machines = 2
 
 [TestM1]
 name = Generator
-config_file = gen.cfg
+config_file = configs/gen.cfg
 dest_vm = 2
 gencores = [1]
 latcores = [3]
 
 [TestM2]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 
 [test1]
@@ -21,7 +21,7 @@ total_number_of_test_machines = 1
 
 [TestM1]
 name = Swap
-config_file = swap.cfg
+config_file = configs/swap.cfg
 cores = [1]
 ports = [0]
 
@@ -21,7 +21,7 @@ total_number_of_test_machines = 3
 
 [TestM1]
 name = Generator
-config_file = gen_gw.cfg
+config_file = configs/gen_gw.cfg
 dest_vm = 3
 gw_vm = 2
 gencores = [1]
@@ -29,13 +29,13 @@ latcores = [3]
 
 [TestM2]
 name = GW1
-config_file = secgw1.cfg
+config_file = configs/secgw1.cfg
 dest_vm = 3
 cores = [1]
 
 [TestM3]
 name = GW2
-config_file = secgw2.cfg
+config_file = configs/secgw2.cfg
 cores = [1]
 
 [test1]
index 38ba131..f753e8e 100644 (file)
@@ -16,7 +16,7 @@ tiers:
                 run:
                     name: rapidxt
                     args:
-                        test_file: irq.test
+                        test_file: tests/irq.test
                         runtime: 5
     -
         name: TST009_rapid_benchmarking
@@ -34,7 +34,7 @@ tiers:
                 run:
                     name: rapidxt
                     args:
-                        test_file: TST009_Throughput_64B_64F.test
+                        test_file: tests/TST009_Throughput_64B_64F.test
                         runtime: 5
             -
                 case_name: rapid_tst009_acaeab_16384f
@@ -47,5 +47,5 @@ tiers:
                 run:
                     name: rapidxt
                     args:
-                        test_file: TST009_Throughput_acaeab_16384F.test
+                        test_file: tests/TST009_Throughput_acaeab_16384F.test
                         runtime: 5