From 0ad4ecd8ff11d80d7330e24bee9993366376b406 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 29 Apr 2015 14:03:09 -0500 Subject: [PATCH] Add Nova scenario to list hypervisors Benchmarks the 'nova list-hypervisors' command. Change-Id: I64243de369ac02afb7dcf246b3d8e28d7c43d172 --- rally-jobs/rally.yaml | 12 ++++++++++++ samples/tasks/scenarios/nova/list-hypervisors.json | 14 ++++++++++++++ samples/tasks/scenarios/nova/list-hypervisors.yaml | 9 +++++++++ 3 files changed, 35 insertions(+) create mode 100644 samples/tasks/scenarios/nova/list-hypervisors.json create mode 100644 samples/tasks/scenarios/nova/list-hypervisors.yaml diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index c67f2155..f51c4ac3 100755 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -1336,6 +1336,18 @@ failure_rate: max: 0 + NovaHypervisors.list_hypervisors: + - + args: + detailed: True + runner: + type: "constant" + times: 5 + concurrency: 2 + sla: + failure_rate: + max: 0 + VMTasks.boot_runcommand_delete: - args: diff --git a/samples/tasks/scenarios/nova/list-hypervisors.json b/samples/tasks/scenarios/nova/list-hypervisors.json new file mode 100644 index 00000000..d4705f87 --- /dev/null +++ b/samples/tasks/scenarios/nova/list-hypervisors.json @@ -0,0 +1,14 @@ +{ + "NovaHypervisors.list_hypervisors": [ + { + "runner": { + "type": "constant", + "concurrency": 2, + "times": 10 + }, + "args": { + "detailed": true + } + } + ] +} \ No newline at end of file diff --git a/samples/tasks/scenarios/nova/list-hypervisors.yaml b/samples/tasks/scenarios/nova/list-hypervisors.yaml new file mode 100644 index 00000000..746ce92b --- /dev/null +++ b/samples/tasks/scenarios/nova/list-hypervisors.yaml @@ -0,0 +1,9 @@ +--- + NovaHypervisors.list_hypervisors: + - + args: + detailed: True + runner: + type: "constant" + times: 10 + concurrency: 2