# Copyright 2022 Anuket, Intel Corporation, and The Linux Foundation # # 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. # VSWITCH_BRIDGE_NAME = 'vsperf-br0' WHITELIST_NICS = ['06:00.0', '06:00.1'] TRAFFICGEN = 'Trex' TRAFFICGEN_TREX_HOST_IP_ADDR = '10.244.1.187' TRAFFICGEN_TREX_USER = 'root' TRAFFICGEN_TREX_BASE_DIR = '/root/v2.86/' TRAFFICGEN_TREX_LINE_SPEED_GBPS = '10' TRAFFICGEN_TREX_PORT1 = '0000:02:00.0' TRAFFICGEN_TREX_PORT2 = '0000:02:00.1' TRAFFICGEN_TREX_PROMISCUOUS = False TRAFFICGEN_DURATION=10 TRAFFICGEN_LOSSRATE=0 TRAFFICGEN_RFC2544_TESTS=10 #TRAFFICGEN_PKT_SIZES=(64,128,256,512,1024,1280,1518) GUEST_TESTPMD_FWD_MODE = ['io'] GUEST_IMAGE = ['/home/opnfv/old/vnfs/vloop-vnf-ubuntu-18.04_20180920.qcow2'] TRAFFICGEN_TREX_LATENCY_PPS = 1000 TRAFFICGEN_TREX_FORCE_PORT_SPEED = True TRAFFICGEN_TREX_PORT_SPEED = 10000 # 10 Gbps TRAFFICGEN_TREX_RFC2544_BINARY_SEARCH_LOSS_VERIFICATION = False TRAFFICGEN_TREX_RFC2544_MAX_REPEAT = 3