From 590d9617d5fd8085ce1e089c730bbf97ac2a84a0 Mon Sep 17 00:00:00 2001 From: Pradeep K Surisetty Date: Mon, 6 Apr 2015 20:31:47 +0530 Subject: [PATCH] Add keystone create_and_list_services scenario This scenario covers create keystone service and then list all services Change-Id: I4e8cff9dfb6c522abd7d136f6e37b442ee44a4d9 --- rally-jobs/rally.yaml | 10 ++++++++++ .../keystone/create-and-list-services.json | 16 ++++++++++++++++ .../keystone/create-and-list-services.yaml | 11 +++++++++++ 3 files changed, 37 insertions(+) create mode 100644 samples/tasks/scenarios/keystone/create-and-list-services.json create mode 100644 samples/tasks/scenarios/keystone/create-and-list-services.yaml diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index 003e39d3..723cef85 100755 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -108,6 +108,16 @@ failure_rate: max: 0 + KeystoneBasic.create_and_list_services: + - + runner: + type: "constant" + times: 10 + concurrency: 5 + sla: + failure_rate: + max: 0 + CeilometerAlarms.create_alarm: - args: diff --git a/samples/tasks/scenarios/keystone/create-and-list-services.json b/samples/tasks/scenarios/keystone/create-and-list-services.json new file mode 100644 index 00000000..b32abfc9 --- /dev/null +++ b/samples/tasks/scenarios/keystone/create-and-list-services.json @@ -0,0 +1,16 @@ +{ + "KeystoneBasic.create_and_list_services": [ + { + "args": { + "name": "Rally_test_service", + "service_type": "Really_test_type", + "description": "test_description" + }, + "runner": { + "type": "constant", + "times": 100, + "concurrency": 10 + } + } + ] +} diff --git a/samples/tasks/scenarios/keystone/create-and-list-services.yaml b/samples/tasks/scenarios/keystone/create-and-list-services.yaml new file mode 100644 index 00000000..b7d9514a --- /dev/null +++ b/samples/tasks/scenarios/keystone/create-and-list-services.yaml @@ -0,0 +1,11 @@ +--- + KeystoneBasic.create_and_list_services: + - + args: + name: "Rally_test_service" + service_type: "Really_test_type" + description: "test_description" + runner: + type: "constant" + times: 100 + concurrency: 10