# Copyright 2015 Intel Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ############################ # Traffic gen configuration # ############################ # log file for all traffic generator related commands LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' #path to traffic generators directory. TRAFFICGEN_DIR = os.path.join(ROOT_DIR, 'tools/pkt_gen') # traffic generator to use in tests TRAFFICGEN = 'IxNet' # List of packet sizes to send. # Expand like this: (64, 128, 256, 512, 1024) TRAFFICGEN_PKT_SIZES = (64,) # path to 'ixos' install path TRAFFICGEN_IXIA_ROOT_DIR = '/opt/ixos' # network address of IXIA chassis TRAFFICGEN_IXIA_HOST = '' TRAFFICGEN_IXIA_CARD = '' TRAFFICGEN_IXIA_PORT1 = '' TRAFFICGEN_IXIA_PORT2 = '' TRAFFICGEN_IXNET_LIB_PATH = '/opt/ixnetwork/lib/IxTclNetwork' # IxNetwork host IP address TRAFFICGEN_IXNET_MACHINE = '' TRAFFICGEN_IXNET_PORT = '' TRAFFICGEN_IXNET_USER = '' TRAFFICGEN_IXNET_CHASSIS = '' # The result directory on $TRAFFICGEN_IXNET_MACHINE TRAFFICGEN_IXNET_TESTER_RESULT_DIR = '' # The result directory on DUT. This needs to map to the same directory # as the previous one TRAFFICGEN_IXNET_DUT_RESULT_DIR = ''