Add simple VxLAN decapsulation performance test
[vswitchperf.git] / conf / 03_traffic.conf
1 # Copyright 2015 Intel Corporation.
2 #
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
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 # ############################
16 # Traffic gen configuration
17 # ############################
18
19 # log file for all traffic generator related commands
20 LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log'
21
22 #path to traffic generators directory.
23 TRAFFICGEN_DIR = os.path.join(ROOT_DIR, 'tools/pkt_gen')
24
25 # traffic generator to use in tests
26 #TRAFFICGEN = 'TestCenter'
27 TRAFFICGEN = 'Dummy'
28 #TRAFFICGEN = 'IxNet'
29 #TRAFFICGEN = 'Ixia'
30
31 # List of packet sizes to send.
32 # Expand like this: (64, 128, 256, 512, 1024)
33 TRAFFICGEN_PKT_SIZES = (64,)
34
35 # path to 'ixos' install path
36 TRAFFICGEN_IXIA_ROOT_DIR = '/opt/ixos'
37
38 # network address of IXIA chassis
39 TRAFFICGEN_IXIA_HOST = ''
40
41 TRAFFICGEN_IXIA_CARD = ''
42
43 TRAFFICGEN_IXIA_PORT1 = ''
44
45 TRAFFICGEN_IXIA_PORT2 = ''
46
47 TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnetwork/lib/IxTclNetwork'
48
49 # IxNetwork host IP address
50 TRAFFICGEN_IXNET_MACHINE = ''
51 TRAFFICGEN_IXNET_PORT = ''
52 TRAFFICGEN_IXNET_USER = ''
53 TRAFFICGEN_IXNET_CHASSIS = ''
54
55 # The result directory on $TRAFFICGEN_IXNET_MACHINE
56 TRAFFICGEN_IXNET_TESTER_RESULT_DIR = ''
57
58 # The result directory on DUT. This needs to map to the same directory
59 # as the previous one
60 TRAFFICGEN_IXNET_DUT_RESULT_DIR = ''
61
62 TRAFFICGEN_IXNET_TCL_SCRIPT = 'ixnetrfc2544.tcl'
63
64 ###########################################
65 # Spirent TestCenter Configuration -- BEGIN
66
67 # Path to Python 2 executable
68 TRAFFICGEN_STC_PYTHON2_PATH = "/bin/python2.7"
69
70 # Path to the location of the TestCenter files
71 TRAFFICGEN_STC_TESTCENTER_PATH = os.path.join(ROOT_DIR, 'tools/pkt_gen/testcenter')
72
73 # Name of the TestCenter RFC2544 Tput helper python script
74 TRAFFICGEN_STC_RFC2544_TPUT_TEST_FILE_NAME = "testcenter-rfc2544-throughput.py"
75
76 # The address of the Spirent Lab Server to use
77 TRAFFICGEN_STC_LAB_SERVER_ADDR = ""
78
79 # The address of the Spirent License Server in your environment
80 TRAFFICGEN_STC_LICENSE_SERVER_ADDR = ""
81
82 # The address of the TestCenter chassis that holds the east port
83 TRAFFICGEN_STC_EAST_CHASSIS_ADDR = ""
84
85 # The slot number of the card that holds the east port
86 TRAFFICGEN_STC_EAST_SLOT_NUM = ""
87
88 # The port number on the card that holds the east port
89 TRAFFICGEN_STC_EAST_PORT_NUM = ""
90
91 # The address of the TestCenter chassis that holds the west port
92 TRAFFICGEN_STC_WEST_CHASSIS_ADDR = ""
93
94 # The slot number of the card that holds the west port
95 TRAFFICGEN_STC_WEST_SLOT_NUM = ""
96
97 # The port number on the card that holds the west port
98 TRAFFICGEN_STC_WEST_PORT_NUM = ""
99
100 # The friendly name to identify the Spirent Lab Server test session
101 TRAFFICGEN_STC_TEST_SESSION_NAME = "RFC2544 Tput"
102 # The directory to copy results to
103
104 TRAFFICGEN_STC_RESULTS_DIR = "./Results"
105 #  The prefix for the CSV results file
106
107 TRAFFICGEN_STC_CSV_RESULTS_FILE_PREFIX = "RFC2544_tput"
108 # The number of trials to execute during the test
109
110 TRAFFICGEN_STC_NUMBER_OF_TRIALS = "1"
111
112 # The duration of each trial executed during the test, in seconds
113 TRAFFICGEN_STC_TRIAL_DURATION_SEC = "60"
114
115 # The traffic pattern between endpoints, BACKBONE, MESH or PAIR
116 TRAFFICGEN_STC_TRAFFIC_PATTERN = "PAIR"
117
118 # The search mode used to find the throughput rate, COMBO, STEP or BINARY
119 TRAFFICGEN_STC_SEARCH_MODE = "BINARY"
120
121 # The learning mode used during the test, AUTO, L2_LEARNING, L3_LERNING, or NONE
122 TRAFFICGEN_STC_LEARNING_MODE = "AUTO"
123
124 # The minimum percent line rate that will be used during the test
125 TRAFFICGEN_STC_RATE_LOWER_LIMIT_PCT = "1.0"
126
127 # The maximum percent line rate that will be used during the test
128 TRAFFICGEN_STC_RATE_UPPER_LIMIT_PCT = "99.0"
129
130 # If SearchMode is BINARY, the percent line rate that will be used at the start of the test
131 TRAFFICGEN_STC_RATE_INITIAL_PCT = "99.0"
132
133 # When SearchMode is STEP, the percent increase in load per step
134 TRAFFICGEN_STC_RATE_STEP_PCT = "10.0"
135
136 # The minimum percentage of load adjustment between iterations
137 TRAFFICGEN_STC_RESOLUTION_PCT = "1.0"
138
139 # The frame size, in bytes
140 TRAFFICGEN_STC_FRAME_SIZE = "256"
141
142 # The maximum acceptable frame loss percent in any iteration
143 TRAFFICGEN_STC_ACCEPTABLE_FRAME_LOSS_PCT = "0.0"
144
145 # The address to assign to the first emulated device interface on the first east port
146 TRAFFICGEN_STC_EAST_INTF_ADDR = ""
147
148 # The gateway address to assign to the first emulated device interface on the first east port
149 TRAFFICGEN_STC_EAST_INTF_GATEWAY_ADDR = ""
150
151 # The address to assign to the first emulated device interface on the first west port
152 TRAFFICGEN_STC_WEST_INTF_ADDR = ""
153
154 # The gateway address to assign to the first emulated device interface on the first west port
155 TRAFFICGEN_STC_WEST_INTF_GATEWAY_ADDR = ""
156
157 # Print additional information to the terminal during the test
158 TRAFFICGEN_STC_VERBOSE = "True"
159
160 # Spirent TestCenter Configuration -- END
161 #########################################
162