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:
parent
08c44d5ae7
commit
97b2e4e392
@ -297,6 +297,22 @@
|
|||||||
failure_rate:
|
failure_rate:
|
||||||
max: 0
|
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:
|
NovaServers.boot_server:
|
||||||
-
|
-
|
||||||
args:
|
args:
|
||||||
|
20
samples/tasks/scenarios/quotas/neutron-update.json
Normal file
20
samples/tasks/scenarios/quotas/neutron-update.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
13
samples/tasks/scenarios/quotas/neutron-update.yaml
Normal file
13
samples/tasks/scenarios/quotas/neutron-update.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user