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 Deployments
================= =================
Rally needs to be configured to use an OpenStack Cloud deployment before it Rally needs to have information about OpenStack Cloud before you actually
can benchmark the deployment. can run any tests against it.
To configure Rally to use an OpenStack Cloud deployment, you need create a You need create a deployment input file and run use command bellow:
deployment configuration by supplying the endpoint and credentials, as follows:
.. code-block:: .. code-block::
rally deployment create --file <one_of_files_from_this_dir> --name my_cloud rally deployment create --file <one_of_files_from_this_dir> --name my_cloud
Below you can find samples of supported configurations.
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.
existing.json 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 users that you provide.
existing-with-given-endpoint.json existing-with-given-endpoint.json
--------------------------------- ---------------------------------

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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