3 ##############################################################################
4 # Copyright (c) 2015 Ericsson AB and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
12 """ yardstick - command line tool for managing benchmarks
15 $ yardstick task start samples/ping.yaml
17 Servers are the same as VMs (Nova calls them servers in the API)
19 Many tests use a client/server architecture. A test client is configured
20 to use a specific test server e.g. using an IP address. This is true for
21 example iperf. In some cases the test server is included in the kernel
22 (ping, pktgen) and no additional software is needed on the server. In other
23 cases (iperf) a server process needs to be installed and started.
25 One server is required to host the test client program (such as ping or
26 iperf). In the task file this server is called host.
28 A server can be the _target_ of a test client (think ping destination
29 argument). A target server is optional but needed in most test scenarios.
30 In the task file this server is called target. This is probably the same
31 as DUT in existing terminology.
34 https://www.ietf.org/rfc/rfc1242.txt (throughput/latency)
35 https://www.ietf.org/rfc/rfc2285.txt (DUT/SUT)
41 from __future__ import absolute_import
44 from yardstick.cmd.cli import YardstickCLI
49 YardstickCLI().main(sys.argv[1:])
51 if __name__ == '__main__':