rally-openstack/samples/tasks/scenarios/nova/boot-and-show-server.json
Sirisha Areti ad08415795 Adds nova show and nova console output plugins
Nova provides show and console output functionalities for a server.
Currently, there isn't a benchmark provided by rally that does the above.

This commit adds plugins that call nova client's get and get console output
methods for a given server, allowing to use those for benchmarking.

This patch also includes functional and unit tests for newly added plugins.

Co-Authored-By: Michal Stolarczyk <zerodivisible@gmail.com>
Change-Id: Ica8642ca8463b1bcba936e3c1d392b4588a56dc2
2015-11-03 10:48:26 +00:00

28 lines
690 B
JSON

{% set flavor_name = flavor_name or "m1.tiny" %}
{% set image_name = image_name or "^cirros.*uec$" %}
{
"NovaServers.boot_and_show_server": [
{
"args": {
"flavor": {
"name": "{{flavor_name}}"
},
"image": {
"name": "{{image_name}}"
}
},
"runner": {
"type": "constant",
"times": 1,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
}
}
]
}