shaker/doc/source/examples_spot.rst
Ilya Shakhat 353f2937b0 Minor docs update
Change-Id: Ib50866988b2bd674424e78f13eff7c17974af0a5
2016-04-11 16:17:57 +03:00

1.5 KiB

Spot Scenarios

TCP

This scenario tests TCP bandwidth to the destination host. By default it sends traffic to one of public iperf servers. This can be overridden via parameter --matrix "{host:<host>}".

How To Run

  1. Run the scenario with defaults and generate interactive report into file report.html:
shaker-spot --scenario spot/tcp --report report.html
  1. Run the scenario with overridden target host (10.0.0.2) and store raw result:
shaker-spot --scenario spot/tcp --matrix "{host:10.0.0.2}" --output report.json
  1. Run the scenario with overridden target host (10.0.0.2) and store SLA verification results in subunit stream file:
shaker-spot --scenario spot/tcp --matrix "{host:10.0.0.2}" --subunit report.subunit
  1. Run the scenario against the list of target hosts and store report:
shaker-spot --scenario spot/tcp --matrix "{host:[10.0.0.2, 10.0.0.3]}" --output report.html

Scenario

../../shaker/scenarios/spot/tcp.yaml

UDP

This scenario tests UDP packets per second to the destination host. By default it sends traffic to one of public iperf servers. This can be overridden via parameter --matrix "{host:<host>}".

How To Run

shaker-spot --scenario spot/udp --report report.html

Scenario

../../shaker/scenarios/spot/udp.yaml