From 97b2e4e392b5d64a0b670b8e9e695bdce0729542 Mon Sep 17 00:00:00 2001 From: Marco Morais Date: Thu, 8 May 2014 08:45:11 +0000 Subject: [PATCH] Support scenarios for updating neutron quotas * Add new scenario Quotas.neutron_update to exercise updating quotas for neutron * Modify _update_quotas to be able to support clients which update quotas with an api different from nova and cinder * Add test for ZaqarQueues list() Co-Authored-By: Roman Vasilets Co-Authored-By: Marco Morais Change-Id: Ida19c02f831e1846bb96a239f4a2deb5ae417153 --- rally-jobs/rally-neutron.yaml | 16 +++++++++++++++ .../scenarios/quotas/neutron-update.json | 20 +++++++++++++++++++ .../scenarios/quotas/neutron-update.yaml | 13 ++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 samples/tasks/scenarios/quotas/neutron-update.json create mode 100644 samples/tasks/scenarios/quotas/neutron-update.yaml diff --git a/rally-jobs/rally-neutron.yaml b/rally-jobs/rally-neutron.yaml index 2f8e7fd7..18531af2 100644 --- a/rally-jobs/rally-neutron.yaml +++ b/rally-jobs/rally-neutron.yaml @@ -297,6 +297,22 @@ failure_rate: max: 0 + Quotas.neutron_update: + - + args: + max_quota: 1024 + runner: + type: "constant" + times: 10 + concurrency: 2 + context: + users: + tenants: 3 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 + NovaServers.boot_server: - args: diff --git a/samples/tasks/scenarios/quotas/neutron-update.json b/samples/tasks/scenarios/quotas/neutron-update.json new file mode 100644 index 00000000..8a0b4338 --- /dev/null +++ b/samples/tasks/scenarios/quotas/neutron-update.json @@ -0,0 +1,20 @@ +{ + "Quotas.neutron_update": [ + { + "args": { + "max_quota": 1024 + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 3, + "users_per_tenant": 2 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/quotas/neutron-update.yaml b/samples/tasks/scenarios/quotas/neutron-update.yaml new file mode 100644 index 00000000..0650dc5a --- /dev/null +++ b/samples/tasks/scenarios/quotas/neutron-update.yaml @@ -0,0 +1,13 @@ +--- + Quotas.neutron_update: + - + args: + max_quota: 1024 + runner: + type: "constant" + times: 10 + concurrency: 2 + context: + users: + tenants: 3 + users_per_tenant: 2