rally/tests/cmd/commands
Mikhail Dubov 6f1a895e24 Add "rally info" command
Here we add a new "rally info" command, which, based on the input,
prints descriptions for different entities in Rally (in this patch -
benchmark scenarios & scenario groups, more entities are to follow
(deployment engines etc.)). This command makes use of docstrings by
parsing them and printing them in CLI in human-readable form.

The command should be called as "rally info find <query>" (or, in case
of an explicit parameter setting, "rally info find --query=<query>").

Samples:

    $ rally info find create_meter_and_get_stats
    CeilometerStats.create_meter_and_get_stats (benchmark scenario).

    Test creating a meter and fetching its statistics.

    Meter is first created and then statistics is fetched for the same
    using GET /v2/meters/(meter_name)/statistics.

    Parameters:
        - name_length: length of generated (random) part of meter name
        - kwargs: contains optional arguments to create a meter

    $ rally info find Authenticate
    Authenticate (benchmark scenario group).

    This class should contain authentication mechanism.

    For different types of clients like Keystone.

Change-Id: Icf3545c0666d99ab7fd0eaabce8bbe572834e485
2014-08-18 12:08:30 -04:00
..
__init__.py Move every rally command to its own module 2014-02-13 17:49:47 +00:00
test_deployment.py Adds --json,--pprint flags to cmd 2014-08-08 13:30:11 +02:00
test_info.py Add "rally info" command 2014-08-18 12:08:30 -04:00
test_show.py Remove use of random uuid from unit tests 2014-07-21 14:25:13 +02:00
test_task.py Merge "Adds --json,--pprint flags to cmd" 2014-08-08 14:31:18 +00:00
test_use.py Remove use of random uuid from unit tests 2014-07-21 14:25:13 +02:00
test_verify.py Mock open to prevent file creation 2014-08-05 13:50:49 +03:00