1 # Copyright 2015 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 # ############################
16 # Traffic gen configuration
17 # ############################
19 # log file for all traffic generator related commands
20 LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log'
22 #path to traffic generators directory.
23 TRAFFICGEN_DIR = os.path.join(ROOT_DIR, 'tools/pkt_gen')
25 # traffic generator to use in tests
28 # List of packet sizes to send.
29 # Expand like this: (64, 128, 256, 512, 1024)
30 TRAFFICGEN_PKT_SIZES = (64,)
32 # path to 'ixos' install path
33 TRAFFICGEN_IXIA_ROOT_DIR = '/opt/ixos'
35 # network address of IXIA chassis
36 TRAFFICGEN_IXIA_HOST = ''
38 TRAFFICGEN_IXIA_CARD = ''
40 TRAFFICGEN_IXIA_PORT1 = ''
42 TRAFFICGEN_IXIA_PORT2 = ''
44 TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnetwork/lib/IxTclNetwork'
46 # IxNetwork host IP address
47 TRAFFICGEN_IXNET_MACHINE = ''
48 TRAFFICGEN_IXNET_PORT = ''
49 TRAFFICGEN_IXNET_USER = ''
50 TRAFFICGEN_IXNET_CHASSIS = ''
52 # The result directory on $TRAFFICGEN_IXNET_MACHINE
53 TRAFFICGEN_IXNET_TESTER_RESULT_DIR = ''
55 # The result directory on DUT. This needs to map to the same directory
57 TRAFFICGEN_IXNET_DUT_RESULT_DIR = ''