rally/tests/cmd
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
..
commands Add "rally info" command 2014-08-18 12:08:30 -04:00
__init__.py Add CLI interface for Rally 2013-09-05 10:50:16 +04:00
test_cliutils.py Fix hacking 0.9.x issues 2014-06-18 14:59:18 +03:00
test_envutils.py Updated mock return values to decorators 2014-07-11 12:28:03 +00:00
test_manage.py Remove use of random uuid from unit tests 2014-07-21 14:25:13 +02:00