summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
diff options
context:
space:
mode:
authorProvoost <luc.provoost@intel.com>2018-01-29 13:01:07 +0100
committerDeepak S <deepak.s@linux.intel.com>2018-01-29 12:45:19 +0000
commitd29f8fa251540b48371f76e47ddba6315607d192 (patch)
tree86f7ab6a79db68c03d5d86338161a117de18c3de /VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
parentaa09ff9157159b26c431ba61a6f0a08308d123dd (diff)
Rework of the test cases in the *.test files
Cores can now be specified in the test files. An irq test has been added to verify if the VMs are not suffering from long interrupts. Change-Id: I647fda3ebf76c7c2b36a8df9a63d9fb83563c249 Signed-off-by: Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test27
1 files changed, 25 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test b/VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
index da856876..9c9fba26 100644
--- a/VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
+++ b/VNFs/DPPD-PROX/helper-scripts/openstackrapid/impair.test
@@ -1,3 +1,19 @@
+##
+## Copyright (c) 2010-2018 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.
+##
+
[DEFAULT]
name = impairTesting
number_of_tests = 1
@@ -6,21 +22,28 @@ init_code=init_test()
dest_vm = not_used
gw_vm = not_used
script_control = false
+group1cores = not_used
+group2cores = not_used
+group3cores = not_used
[VM1]
name = Generator
config_file = gen_gw.cfg
gw_vm = 2
dest_vm = 3
-script_control = true
+group1cores = [1]
+group2cores = [3]
+group3cores = [1,3]
[VM2]
name = ImpairGW
config_file = impair.cfg
+group1cores = [1]
[VM3]
name = Swap
config_file = swap.cfg
+group1cores = [1]
[test1]
-cmd=run_speedtest(sock[0],'none',sutstatcores,genstatcores,gencontrolcores)
+cmd=run_speedtest(sock[0],sock[2])