1 TYPE = 'BASIC' 2 CALIBRATION_JOB = '' 3 4 GLAG_FLAG = False 5 DEVICES = ['eth0'] 6 CONNECTED_DEVICES = ['eth0'] 7 8 NDLINK_SPEED = 1000 9 NDLINK_AUTONEG = True 10 NDLINK_RX = None 11 NDLINK_TX = False 12 13 14 FLOODPING_NUMPKTS = 100000 15 FLOODPING_CONSTRAINTS = ["rtt_max < 1.0", 16 "rtt_min < 0.05", 17 "rtt_avg < .06" 18 ] 19 20 PKT_SIZES = [64, 128, 256, 512, 1024, 1280, 1518] 21 PKTGEN_CONSTRAINTS = [] 22 23 drives = ['hda'] 24 25 IOBW_CONSTRAINTS = ["throughput > 500", 26 "read_bw > 100000", 27 "write_bw > 100000"] 28 29 30 NDTEST_TESTS = ['set_hwaddr', 31 'set_maddr', 32 'pkt_size', 33 'zero_pad', 34 'mac_filter', 35 'multicast_filter', 36 'broadcast', 37 'promisc' 38 ] 39 40 41 # list of ndlink tests 42 NDLINK_TESTS = ['carrier', 43 'phy_config', 44 'offload_config', 45 'pause_config' 46 ] 47 48 NETPERF_TESTS = {'TCP_STREAM': {'meas_streams': 16, 49 'constraints': ['Throughput > 800'] 50 }, 51 'TCP_SENDFILE': {'meas_streams': 16, 52 'constraints': ['Throughput > 800'] 53 }, 54 'UDP_STREAM': {'meas_streams': 16, 55 'constraints': ['Throughput > 500'] 56 }, 57 'UDP_RR': {'meas_streams': 16, 58 'constraints': ['Transfer_Rate > 1000'] 59 }, 60 'TCP_RR': {'meas_streams': 16, 61 'constraints': ['Transfer_Rate > 1000'] 62 }, 63 'TCP_CRR': {'meas_streams': 16, 64 'constraints': ['Transfer_Rate > 1000'] 65 } 66 } 67