Difference between revisions of "Rally/BenchmarkScenarios"
< Rally
(Initial text) |
(Added configuration examples) |
||
Line 5: | Line 5: | ||
===NovaServers=== | ===NovaServers=== | ||
This scenario class contains procedures concentrated on calling the Nova servers API. | This scenario class contains procedures concentrated on calling the Nova servers API. | ||
+ | |||
+ | |||
====boot_and_delete_server==== | ====boot_and_delete_server==== | ||
Boots and deletes one server. | Boots and deletes one server. | ||
+ | =====Configuration example===== | ||
+ | { | ||
+ | "NovaServers.boot_and_delete_server": [ | ||
+ | {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"}, | ||
+ | "times": 50, "concurrent": 10} | ||
+ | ] | ||
+ | } | ||
+ | |||
+ | |||
====snapshot_server==== | ====snapshot_server==== | ||
Boots a server, makes its snapshot, then deletes the server and tries to boot it again from the saved snapshot. Finally deletes both the server and its snapshot. | Boots a server, makes its snapshot, then deletes the server and tries to boot it again from the saved snapshot. Finally deletes both the server and its snapshot. | ||
+ | =====Configuration example===== | ||
+ | { | ||
+ | "NovaServers.snapshot_server": [ | ||
+ | {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"}, | ||
+ | "times": 50, "concurrent": 10} | ||
+ | ] | ||
+ | } |
Revision as of 17:51, 14 October 2013
Contents
Available Benchmark Scenarios
Nova
NovaServers
This scenario class contains procedures concentrated on calling the Nova servers API.
boot_and_delete_server
Boots and deletes one server.
Configuration example
{ "NovaServers.boot_and_delete_server": [ {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"}, "times": 50, "concurrent": 10} ] }
snapshot_server
Boots a server, makes its snapshot, then deletes the server and tries to boot it again from the saved snapshot. Finally deletes both the server and its snapshot.
Configuration example
{ "NovaServers.snapshot_server": [ {"args": {"flavor_id": 1, "image_id": "498c94c1-2547-4ddd-bea2-c5fc881b989f"}, "times": 50, "concurrent": 10} ] }