Rework of the test cases in the *.test files
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / impair.test
index da85687..9c9fba2 100644 (file)
@@ -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])