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