1 # Copyright 2015-2016 Intel Corporation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # This file describes a list of testcases. Each testcase is described as a
16 # dictionary in a list of dictionaries.
18 # The dictionary keys, their meanings and available values are:
20 # "Name": "phy2phy_burst", # A human-readable string identifying the
22 # "Deployment": "p2p", # One of the supported deployment scenarios.
23 # "Description": "Lorem ipsum..." # Optional. A human-readable string
24 # # describing the test.
25 # "Frame Modification": "vlan" # One of the supported frame modifications:
26 # # vlan, mpls, mac, dscp, ttl, ip_addr,
28 # "Load": dictionary # Optional. Configures background load
29 # # during testcase execution.
30 # Description of "Load" dictionary keys, their meanings and available values:
32 # "tool": "stress" # One of the supported load generators.
33 # "load": 0-100 # percentage of cores which should be
34 # # utilized by load generator
35 # # e.g. load = 70%, detected cpu cores = 14 =>
36 # # round(14*0.7)=10, i.e. 10 instances of load
37 # # generator will be executed
38 # "reserved": 0- (Default 0) # Optional. Defines number of cores reserved
40 # # e.g. load = 80%, detected cpu cores = 14,
41 # # reserved = 4 => round((14-4)*0.8)=8,
42 # # i.e. 8 load gen. instances will be executed
43 # "pattern" : "c" # stress/stress-ng specific; Number of 'c',
44 # # 'm' and 'i' defines ratio between cpu, mem
45 # # and io workers respectively
46 # # e.g. "ccccmmi" => ratio among workers types
47 # # will be 3:2:1, so in case that 12 stress
48 # # instances should be executed, then 6 cpu,
49 # # 4 memory and 2 io workers will be executed
50 # "load_memory": 0-100 # Optional. Defines percentage of the system
51 # # memory, which should be utilized by memory
52 # # workers (if they are part of "pattern").
53 # # if not specified then default stress(-ng)
54 # # value will be used
55 # "options": "" # Optional. Additional command line options
56 # # to be passed to the load generator.
57 # "vSwitch" : "OvsVanilla" # Defines vSwitch to be used for test execution.
58 # # It will override any VSWITCH option stated
59 # # in configuration files or value specified
60 # # on command line through --vswitch parameter.
61 # "VNF" : "QemuVirtioNet" # Defines VNF to be used for test execution.
62 # # It will override any VNF option stated
63 # # in configuration files or value specified
64 # # on command line through --vnf parameter.
65 # "Trafficgen" : "Dummy" # Defines traffic generator to be used for test
66 # # execution. It will override any VNF option
67 # # stated in configuration files or value
68 # # specified on command line through --trafficgen
70 # "Parameters" : {'TRAFFICGEN_PKT_SIZES' : (512,)},
71 # # Dictionary with testcase specific configuration
72 # # environment. Specified parameters will be modified
73 # # before the test execution and their original values will
74 # # be restored after TC finishes. This dictionary will
75 # # override any values defined by TEST_PARAMS option
76 # # stated in configuration files or values specified
77 # # on command line through --test-params parameter.
78 # "Test Modifier": [FrameMod|Other],
79 # "Dependency": [Test_Case_Name |None],
83 "Name": "phy2phy_tput",
85 "Description": "LTD.Throughput.RFC2544.PacketLossRatio",
88 "traffic_type" : "rfc2544_throughput",
93 "Name": "phy2phy_forwarding",
95 "Description": "LTD.Forwarding.RFC2889.MaxForwardingRate",
98 "traffic_type" : "rfc2889_forwarding",
103 "Name": "phy2phy_learning",
105 "Description": "LTD.AddrLearning.RFC2889.AddrLearningRate",
108 "traffic_type" : "rfc2889_learning",
113 "Name": "phy2phy_caching",
115 "Description": "LTD.AddrCaching.RFC2889.AddrCachingCapacity",
118 "traffic_type" : "rfc2889_caching",
125 "Description": "LTD.Throughput.RFC2544.BackToBackFrames",
128 "traffic_type" : "rfc2544_back2back",
133 "Name": "phy2phy_tput_mod_vlan",
135 "Frame Modification": "vlan",
136 "Description": "LTD.Throughput.RFC2544.PacketLossRatioFrameModification",
139 "traffic_type" : "rfc2544_throughput",
144 "Name": "phy2phy_cont",
146 "Description": "Phy2Phy Continuous Stream",
149 "traffic_type" : "rfc2544_continuous",
157 "Description": "PVP Continuous Stream",
160 "traffic_type" : "rfc2544_continuous",
167 "Deployment": "pvvp",
168 "Description": "PVVP Continuous Stream",
171 "traffic_type" : "rfc2544_continuous",
178 "Deployment": "pvpv",
179 "Description": "Two VMs in parallel with Continuous Stream",
182 "traffic_type" : "rfc2544_continuous",
188 "Name": "phy2phy_scalability",
190 "Description": "LTD.Scalability.Flows.RFC2544.0PacketLoss",
193 "traffic_type" : "rfc2544_throughput",
194 "multistream" : "8000",
201 "Description": "LTD.Throughput.RFC2544.PacketLossRatio",
204 "traffic_type" : "rfc2544_throughput",
209 "Name": "pvp_back2back",
211 "Description": "LTD.Throughput.RFC2544.BackToBackFrames",
214 "traffic_type" : "rfc2544_back2back",
221 "Deployment": "pvvp",
222 "Description": "LTD.Throughput.RFC2544.PacketLossRatio",
225 "traffic_type" : "rfc2544_throughput",
230 "Name": "pvvp_back2back",
232 "Deployment": "pvvp",
233 "Description": "LTD.Throughput.RFC2544.BackToBackFrames",
236 "traffic_type" : "rfc2544_back2back",
241 "Name": "phy2phy_cpu_load",
243 "Description": "LTD.CPU.RFC2544.0PacketLoss",
245 "tool" : "stress-ng",
252 "traffic_type" : "rfc2544_throughput",
257 "Name": "phy2phy_mem_load",
259 "Description": "LTD.Memory.RFC2544.0PacketLoss",
261 "tool" : "stress-ng",
268 "traffic_type" : "rfc2544_throughput",