• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TYPE = 'BASIC'
2CALIBRATION_JOB = ''
3
4GLAG_FLAG = False
5DEVICES = ['eth0']
6CONNECTED_DEVICES = ['eth0']
7
8NDLINK_SPEED = 1000
9NDLINK_AUTONEG = True
10NDLINK_RX = None
11NDLINK_TX = False
12
13
14FLOODPING_NUMPKTS = 100000
15FLOODPING_CONSTRAINTS = ["rtt_max < 1.0",
16                         "rtt_min < 0.05",
17                         "rtt_avg < .06"
18                        ]
19
20PKT_SIZES = [64, 128, 256, 512, 1024, 1280, 1518]
21PKTGEN_CONSTRAINTS = []
22
23drives = ['hda']
24
25IOBW_CONSTRAINTS = ["throughput > 500",
26                    "read_bw > 100000",
27                    "write_bw > 100000"]
28
29
30NDTEST_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
42NDLINK_TESTS = ['carrier',
43                'phy_config',
44                'offload_config',
45                'pause_config'
46               ]
47
48NETPERF_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