X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fmain.py;h=5fc0c2e17eb185940d32da26b7171978ef88f6a1;hb=269c070a51389914c87b8f2c66a199ecabb6c5bb;hp=c16a42e915ac81043dac8b5c8fc742e070e09cc6;hpb=40f49a42dd8476ad2332ecf2e0a57e6bf511aa63;p=yardstick.git diff --git a/yardstick/main.py b/yardstick/main.py index c16a42e91..5fc0c2e17 100755 --- a/yardstick/main.py +++ b/yardstick/main.py @@ -12,15 +12,15 @@ """ yardstick - command line tool for managing benchmarks Example invocation: - $ yardstick samples/ping-task.yaml + $ yardstick task start samples/ping.yaml - Servers are the same as VMs (Nova call them servers in the API) + Servers are the same as VMs (Nova calls them servers in the API) Many tests use a client/server architecture. A test client is configured to use a specific test server e.g. using an IP address. This is true for example iperf. In some cases the test server is included in the kernel (ping, pktgen) and no additional software is needed on the server. In other - cases (iperf) a server process needs to be installed and started + cases (iperf) a server process needs to be installed and started. One server is required to host the test client program (such as ping or iperf). In the task file this server is called host. @@ -38,13 +38,14 @@ NFV TST """ +from __future__ import absolute_import import sys from yardstick.cmd.cli import YardstickCLI def main(): - '''yardstick main''' + """yardstick main""" YardstickCLI().main(sys.argv[1:]) if __name__ == '__main__':