Merge "Add Cinder create_backup volume scenario"
This commit is contained in:
commit
ade1e615f7
@ -820,6 +820,42 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
CinderVolumes.create_volume_backup:
|
||||
-
|
||||
args:
|
||||
size: 1
|
||||
do_delete: True
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 2
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
roles:
|
||||
- "Member"
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
-
|
||||
args:
|
||||
size: 1
|
||||
do_delete: False
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 2
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
roles:
|
||||
- "Member"
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
VMTasks.boot_runcommand_delete:
|
||||
-
|
||||
args:
|
||||
|
22
samples/tasks/scenarios/cinder/create-volume-backup.json
Normal file
22
samples/tasks/scenarios/cinder/create-volume-backup.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"CinderVolumes.create_volume_backup": [
|
||||
{
|
||||
"args": {
|
||||
"size": 1,
|
||||
"do_delete": true
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 2,
|
||||
"concurrency": 1
|
||||
},
|
||||
"context": {
|
||||
"users": {
|
||||
"tenants": 1,
|
||||
"users_per_tenant": 1
|
||||
},
|
||||
"roles": ["Member"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
16
samples/tasks/scenarios/cinder/create-volume-backup.yaml
Normal file
16
samples/tasks/scenarios/cinder/create-volume-backup.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
CinderVolumes.create_volume_backup:
|
||||
-
|
||||
args:
|
||||
size: 1
|
||||
do_delete: True
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 2
|
||||
concurrency: 1
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
roles:
|
||||
- "Member"
|
Loading…
Reference in New Issue
Block a user