rubbos installation guide
[bottlenecks.git] / vstf / vstf / controller / sw_perf / README
1 Tree
2
3 |--- flow_producer.py
4 |--- model.py
5 |--- performance.py
6 |--- perf_provider.py
7 |--- raw_data.py
8
9 Entry:
10     performance.py
11         usage: performance.py [-h] [-case CASE]
12                           [-tool {pktgen,netperf,qperf,iperf,netmap}]
13                           [-protocol {tcp,udp}] [-profile {rdp,fastlink,l2switch}]
14                           [-type {throughput,latency,frameloss}] [-sizes SIZES]
15                           [--monitor MONITOR]
16
17         optional arguments:
18           -h, --help            show this help message and exit
19           -case CASE            test case like Ti-1, Tn-1, Tnv-1, Tu-1...
20           -tool {pktgen,netperf,qperf,iperf,netmap}
21           -protocol {tcp,udp}
22           -profile {rdp,fastlink,l2switch}
23           -type {throughput,latency,frameloss}
24           -sizes SIZES          test size list "64 128"
25           --monitor MONITOR     which ip to be monitored
26
27 Interface:
28     usage:
29         conn = Server(host=args.monitor)
30         flows_settings = FlowsSettings()
31         tool_settings = ToolSettings()
32         tester_settings = TesterSettings()
33         flow_producer = FlowsProducer(conn, flows_settings)
34         provider = PerfProvider(flows_settings.settings, tool_settings.settings, tester_settings.settings)
35         perf = Performance(conn, provider)
36         flow_producer.create(scenario, case)
37         LOG.info(flows_settings.settings())
38         result = perf.run(tool, protocol, type, sizes)
39