documentation: Installation prerequisites
[vswitchperf.git] / conf / 01_testcases.conf
index 4851b04..bd5ba9e 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright 2015-2016 Intel Corporation.
+# Copyright 2015-2017 Intel Corporation.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 #                                  # ip_port.
 # "Load": dictionary               # Optional. Configures background load
 #                                  # during testcase execution.
+#                                  # The tool used to generate load is
+#                                  # defined  by LOADGEN configuration.
+#                                  # Default setting of Dummy can be found in
+#                                  # 07_loadgen.conf.
 #   Description of "Load" dictionary keys, their meanings and available values:
 #
-#   "tool": "stress"               # One of the supported load generators.
 #   "load": 0-100                  # percentage of cores which should be
 #                                  # utilized by load generator
 #                                  # e.g. load = 70%, detected cpu cores = 14 =>
 #                                  # override any values defined by TEST_PARAMS option
 #                                  # stated in configuration files or values specified
 #                                  # on command line through --test-params parameter.
+#
+# "TestSteps": []                  # Definition of detailed test steps.
+#                                  # In case that this list is defined, then
+#                                  # vsperf will execute defined test steps
+#                                  # one by one. It can be used to configure
+#                                  # vswitch, insert flows and transmit traffic.
+#                                  # It is possible to refer to result of any
+#                                  # previous step through #STEP[i][j] macro.
+#                                  # Where i is a number of step (starts from 0)
+#                                  # and j is index of result returned by step i.
 # "Test Modifier": [FrameMod|Other],
 # "Dependency": [Test_Case_Name |None],
 
@@ -270,7 +283,7 @@ PERFORMANCE_TESTS = [
         "Parameters" : {
             "TRAFFIC" : {
                 "traffic_type" : "rfc2544_throughput",
-                "multistream" : "8000",
+                "multistream" : 8000,
             },
         },
     },
@@ -321,12 +334,12 @@ PERFORMANCE_TESTS = [
         "Deployment": "p2p",
         "Description": "LTD.CPU.RFC2544.0PacketLoss",
         "Load" : {
-            "tool" : "stress-ng",
             "load" : 100,
             "reserved" : 4,
             "pattern" : "c",
         },
         "Parameters" : {
+            "LOADGEN" : "StressNg",
             "TRAFFIC" : {
                 "traffic_type" : "rfc2544_throughput",
             },
@@ -337,12 +350,12 @@ PERFORMANCE_TESTS = [
         "Deployment": "p2p",
         "Description": "LTD.Memory.RFC2544.0PacketLoss",
         "Load" : {
-            "tool" : "stress-ng",
             "load" : 50,
             "pattern" : "m",
             "load_memory" : 80,
         },
         "Parameters" : {
+            "LOADGEN" : "StressNg",
             "TRAFFIC" : {
                 "traffic_type" : "rfc2544_throughput",
             },