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 <rvasilets@mirantis.com>
Co-Authored-By: Marco Morais <mmorais@yahoo-inc.com>

Change-Id: Ida19c02f831e1846bb96a239f4a2deb5ae417153
This commit is contained in:
Marco Morais 2014-05-08 08:45:11 +00:00 committed by Roman Vasilets
parent 08c44d5ae7
commit 97b2e4e392
3 changed files with 49 additions and 0 deletions

View File

@ -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:

View File

@ -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
}
}
}
]
}

View File

@ -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