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
This commit is contained in:
Mikhail Dubov
2014-06-25 13:39:27 +04:00
parent 571dcbeefe
commit 485cc6e298
2 changed files with 1 additions and 1 deletions

View File

@@ -23,5 +23,6 @@ python-saharaclient>=0.6.0
python-subunit>=0.0.18
requests>=1.1
SQLAlchemy>=0.8.4,<=0.8.99,>=0.9.7,<=0.9.99
sphinx>=1.1.2,!=1.2.0,<1.3
six>=1.7.0
WSME>=0.6

View File

@@ -6,6 +6,5 @@ mock>=1.0
testrepository>=0.0.18
testtools>=0.9.34
sphinx>=1.1.2,!=1.2.0,<1.3
oslosphinx
oslotest