bugfix of Vanilla OVS testing scenarios
[vswitchperf.git] / conf / 10_custom.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 RTE_TARGET = '' # the relevant DPDK build target
16
17 # traffic generator to use in tests
18 TRAFFICGEN = 'TestCenter'
19 #TRAFFICGEN = 'Dummy'
20 #TRAFFICGEN = 'IxNet'
21 #TRAFFICGEN = 'Ixia'
22
23 ###########################################
24 # Spirent TestCenter Configuration -- BEGIN
25 # Path to Python 2 executable
26 TRAFFICGEN_STC_PYTHON2_PATH = "/usr/local/bin/python2.7"
27 # Path to the location of the TestCenter files
28 TRAFFICGEN_STC_TESTCENTER_PATH = "./tools/pkt_gen/testcenter"
29 # Name of the TestCenter RFC2544 Tput helper python script
30 TRAFFICGEN_STC_RFC2544_TPUT_TEST_FILE_NAME = "testcenter-rfc2544-throughput.py"
31 # The address of the Spirent Lab Server to use
32 TRAFFICGEN_STC_LAB_SERVER_ADDR = "10.134.156.93"
33 # The address of the Spirent License Server in your environment
34 TRAFFICGEN_STC_LICENSE_SERVER_ADDR = "10.134.156.96"
35 # The address of the TestCenter chassis that holds the east port
36 TRAFFICGEN_STC_EAST_CHASSIS_ADDR = "10.134.156.70"
37 # The slot number of the card that holds the east port
38 TRAFFICGEN_STC_EAST_SLOT_NUM = "1"
39 # The port number on the card that holds the east port
40 TRAFFICGEN_STC_EAST_PORT_NUM = "1"
41 # The address of the TestCenter chassis that holds the west port
42 TRAFFICGEN_STC_WEST_CHASSIS_ADDR = "10.134.156.70"
43 # The slot number of the card that holds the west port
44 TRAFFICGEN_STC_WEST_SLOT_NUM = "1"
45 # The port number on the card that holds the west port
46 TRAFFICGEN_STC_WEST_PORT_NUM = "2"
47 # The friendly name to identify the Spirent Lab Server test session
48 TRAFFICGEN_STC_TEST_SESSION_NAME = "RFC2544 Tput"
49 # The directory to copy results to
50 TRAFFICGEN_STC_RESULTS_DIR = "./Results"
51 #  The prefix for the CSV results file
52 TRAFFICGEN_STC_CSV_RESULTS_FILE_PREFIX = "RFC2544_tput"
53 # The number of trials to execute during the test
54 TRAFFICGEN_STC_NUMBER_OF_TRIALS = "1"
55 # The duration of each trial executed during the test, in seconds
56 TRAFFICGEN_STC_TRIAL_DURATION_SEC = "60"
57 # The traffic pattern between endpoints, BACKBONE, MESH or PAIR
58 TRAFFICGEN_STC_TRAFFIC_PATTERN = "PAIR"
59 # The search mode used to find the throughput rate, COMBO, STEP or BINARY
60 TRAFFICGEN_STC_SEARCH_MODE = "BINARY"
61 # The learning mode used during the test, AUTO, L2_LEARNING, L3_LERNING, or NONE
62 TRAFFICGEN_STC_LEARNING_MODE = "AUTO"
63 # The minimum percent line rate that will be used during the test
64 TRAFFICGEN_STC_RATE_LOWER_LIMIT_PCT = "1.0"
65 # The maximum percent line rate that will be used during the test
66 TRAFFICGEN_STC_RATE_UPPER_LIMIT_PCT = "99.0"
67 # If SearchMode is BINARY, the percent line rate that will be used at the start of the test
68 TRAFFICGEN_STC_RATE_INITIAL_PCT = "99.0"
69 # When SearchMode is STEP, the percent increase in load per step
70 TRAFFICGEN_STC_RATE_STEP_PCT = "10.0"
71 # The minimum percentage of load adjustment between iterations
72 TRAFFICGEN_STC_RESOLUTION_PCT = "1.0"
73 # The frame size, in bytes
74 TRAFFICGEN_STC_FRAME_SIZE = "256"
75 # The maximum acceptable frame loss percent in any iteration
76 TRAFFICGEN_STC_ACCEPTABLE_FRAME_LOSS_PCT = "0.0"
77 # The address to assign to the first emulated device interface on the first east port
78 TRAFFICGEN_STC_EAST_INTF_ADDR = "192.85.1.3"
79 # The gateway address to assign to the first emulated device interface on the first east port
80 TRAFFICGEN_STC_EAST_INTF_GATEWAY_ADDR = "192.85.1.103"
81 # The address to assign to the first emulated device interface on the first west port
82 TRAFFICGEN_STC_WEST_INTF_ADDR = "192.85.1.103"
83 # The gateway address to assign to the first emulated device interface on the first west port
84 TRAFFICGEN_STC_WEST_INTF_GATEWAY_ADDR = "192.85.1.3"
85 # Print additional information to the terminal during the test
86 TRAFFICGEN_STC_VERBOSE = "True"
87 # Spirent TestCenter Configuration -- END
88 #########################################
89
90 # Ixia/IxNet configuration
91 TRAFFICGEN_IXIA_CARD = ''
92 TRAFFICGEN_IXIA_PORT1 = ''
93 TRAFFICGEN_IXIA_PORT2 = ''
94 TRAFFICGEN_IXIA_LIB_PATH = '/opt/ixos/lib/ixTcl1.0'
95 TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnet/IxTclNetwork'
96
97 # Ixia traffic generator
98 TRAFFICGEN_IXIA_HOST = ''      # quad dotted ip address
99
100 # host where IxNetwork GUI/daemon runs
101 TRAFFICGEN_IXNET_MACHINE = ''  # quad dotted ip address
102 TRAFFICGEN_IXNET_PORT = ''
103 TRAFFICGEN_IXNET_USER = ''
104
105 # paths to shared directory for IXIA_HOST and DUT (localhost)
106 TRAFFICGEN_IXNET_TESTER_RESULT_DIR = ''
107 TRAFFICGEN_IXNET_DUT_RESULT_DIR = ''
108
109 TEST_PARAMS = {'packet_sizes':'64'}