Reword samples and setup.cfg

Change-Id: I070e05634b21f663c11cd22c94358c898e5f4b7d
This commit is contained in:
Boris Pavlovic 2017-08-03 00:02:06 -07:00
parent 0b8cc50218
commit aff50540f2
13 changed files with 42 additions and 48 deletions

View File

@ -1,21 +1,16 @@
Rally Deployments
=================
Rally needs to be configured to use an OpenStack Cloud deployment before it
can benchmark the deployment.
Rally needs to have information about OpenStack Cloud before you actually
can run any tests against it.
To configure Rally to use an OpenStack Cloud deployment, you need create a
deployment configuration by supplying the endpoint and credentials, as follows:
You need create a deployment input file and run use command bellow:
.. code-block::
rally deployment create --file <one_of_files_from_this_dir> --name my_cloud
If you don't have OpenStack deployments, Rally can deploy it for you.
For samples of various deployments take a look at samples from
**for_deploying_openstack_with_rally** directory.
Below you can find samples of supported configurations.
existing.json
-------------
@ -35,7 +30,6 @@ you need this sample. If you don't specify "users" rally will use already
existing users that you provide.
existing-with-given-endpoint.json
---------------------------------

View File

@ -65,10 +65,10 @@ For humans:
}
ScanarioClass should be a subclass of the base Scenario class
and scenario_method specifies what benchmark task should be run. Section
"args" is also related to scenario. To learn more about scenarios
configuration, see samples in `samples/tasks/scenarios
Scenario Plugin should be a subclass of the base Scenario class
and implement run() method. Section "args" is also related to scenario.
To learn more about scenarios configuration, see samples in
`samples/tasks/scenarios
<https://github.com/openstack/rally/tree/master/samples/tasks/scenarios>`_.
Section "runners" specifies the way, how task should be run. To learn
@ -86,5 +86,5 @@ Look at `samples/tasks/sla
<https://github.com/openstack/rally/tree/master/samples/tasks/sla>`_ for
samples.
See a `detailed description of benchmark scenarios, contexts & runners
See a `detailed description of scenarios, contexts & runners
<https://github.com/openstack/rally/tree/master/source/concepts.rst>`_.

View File

@ -12,7 +12,7 @@
"users_per_tenant": 2
},
"ceilometer": {
"counter_name": "benchmark_meter",
"counter_name": "rally_meter",
"counter_type": "gauge",
"counter_unit": "%",
"counter_volume": 100,
@ -20,9 +20,9 @@
"samples_per_resource": 100,
"timestamp_interval": 10,
"metadata_list": [
{"status": "active", "name": "rally benchmark on",
{"status": "active", "name": "rally on",
"deleted": "false"},
{"status": "terminated", "name": "rally benchmark off",
{"status": "terminated", "name": "rally off",
"deleted": "true"}
]
}

View File

@ -10,7 +10,7 @@
tenants: 2
users_per_tenant: 2
ceilometer:
counter_name: "benchmark_meter"
counter_name: "rally_meter"
counter_type: "gauge"
counter_unit: "%"
counter_volume: 100
@ -20,11 +20,11 @@
metadata_list:
-
status: "active"
name: "rally benchmark on"
name: "rally on"
deleted: "false"
-
status: "terminated"
name: "rally benchmark off"
name: "rally off"
deleted: "true"
args:
limit: 50

View File

@ -12,7 +12,7 @@
"users_per_tenant": 2
},
"ceilometer": {
"counter_name": "benchmark_meter",
"counter_name": "rally_meter",
"counter_type": "gauge",
"counter_unit": "%",
"counter_volume": 100,
@ -20,9 +20,9 @@
"samples_per_resource": 100,
"timestamp_interval": 10,
"metadata_list": [
{"status": "active", "name": "rally benchmark on",
{"status": "active", "name": "rally on",
"deleted": "false"},
{"status": "terminated", "name": "rally benchmark off",
{"status": "terminated", "name": "rally off",
"deleted": "true"}
]
}

View File

@ -10,7 +10,7 @@
tenants: 2
users_per_tenant: 2
ceilometer:
counter_name: "benchmark_meter"
counter_name: "rally_meter"
counter_type: "gauge"
counter_unit: "%"
counter_volume: 100
@ -20,11 +20,11 @@
metadata_list:
-
status: "active"
name: "rally benchmark on"
name: "rally on"
deleted: "false"
-
status: "terminated"
name: "rally benchmark off"
name: "rally off"
deleted: "true"
args:
limit: 50

View File

@ -12,7 +12,7 @@
"users_per_tenant": 2
},
"ceilometer": {
"counter_name": "benchmark_meter",
"counter_name": "rally_meter",
"counter_type": "gauge",
"counter_unit": "%",
"counter_volume": 100,
@ -20,15 +20,15 @@
"samples_per_resource": 100,
"timestamp_interval": 10,
"metadata_list": [
{"status": "active", "name": "rally benchmark on",
{"status": "active", "name": "rally on",
"deleted": "false"},
{"status": "terminated", "name": "rally benchmark off",
{"status": "terminated", "name": "rally off",
"deleted": "true"}
]
}
},
"args": {
"meter_name": "benchmark_meter",
"meter_name": "rally_meter",
"filter_by_user_id": true,
"filter_by_project_id": true,
"filter_by_resource_id": true,

View File

@ -10,7 +10,7 @@
tenants: 2
users_per_tenant: 2
ceilometer:
counter_name: "benchmark_meter"
counter_name: "rally_meter"
counter_type: "gauge"
counter_unit: "%"
counter_volume: 100
@ -20,14 +20,14 @@
metadata_list:
-
status: "active"
name: "rally benchmark on"
name: "rally on"
deleted: "false"
-
status: "terminated"
name: "rally benchmark off"
name: "rally off"
deleted: "true"
args:
meter_name: "benchmark_meter"
meter_name: "rally_meter"
filter_by_user_id: true
filter_by_project_id: true
filter_by_resource_id: true

View File

@ -12,7 +12,7 @@
"users_per_tenant": 2
},
"ceilometer": {
"counter_name": "benchmark_meter",
"counter_name": "rally_meter",
"counter_type": "gauge",
"counter_unit": "%",
"counter_volume": 100,
@ -20,9 +20,9 @@
"samples_per_resource": 100,
"timestamp_interval": 10,
"metadata_list": [
{"status": "active", "name": "rally benchmark on",
{"status": "active", "name": "rally on",
"deleted": "false"},
{"status": "terminated", "name": "rally benchmark off",
{"status": "terminated", "name": "rally off",
"deleted": "true"}
]
}

View File

@ -10,7 +10,7 @@
tenants: 2
users_per_tenant: 2
ceilometer:
counter_name: "benchmark_meter"
counter_name: "rally_meter"
counter_type: "gauge"
counter_unit: "%"
counter_volume: 100
@ -20,11 +20,11 @@
metadata_list:
-
status: "active"
name: "rally benchmark on"
name: "rally on"
deleted: "false"
-
status: "terminated"
name: "rally benchmark off"
name: "rally off"
deleted: "true"
args:
limit: 50

View File

@ -12,7 +12,7 @@
"users_per_tenant": 2
},
"ceilometer": {
"counter_name": "benchmark_meter",
"counter_name": "rally_meter",
"counter_type": "gauge",
"counter_unit": "%",
"counter_volume": 100,
@ -20,9 +20,9 @@
"samples_per_resource": 100,
"timestamp_interval": 10,
"metadata_list": [
{"status": "active", "name": "rally benchmark on",
{"status": "active", "name": "rally on",
"deleted": "false"},
{"status": "terminated", "name": "rally benchmark off",
{"status": "terminated", "name": "rally off",
"deleted": "true"}
]
}

View File

@ -10,7 +10,7 @@
tenants: 2
users_per_tenant: 2
ceilometer:
counter_name: "benchmark_meter"
counter_name: "rally_meter"
counter_type: "gauge"
counter_unit: "%"
counter_volume: 100
@ -20,11 +20,11 @@
metadata_list:
-
status: "active"
name: "rally benchmark on"
name: "rally on"
deleted: "false"
-
status: "terminated"
name: "rally benchmark off"
name: "rally off"
deleted: "true"
args:
limit: 50

View File

@ -1,6 +1,6 @@
[metadata]
name = rally
summary = Benchmark System for OpenStack
summary = Generic Testing Framework & Tool that unifies all types of testing.
description-file =
README.rst
author = OpenStack