Merge "Add more Cinder Scenarios"
This commit is contained in:
commit
f78bcfebbc
@ -107,6 +107,28 @@ workloads:
|
||||
flavor_name: m1.tiny
|
||||
sla_max_seconds: 30
|
||||
sla_max_failure: 0
|
||||
|
||||
- name: create-and-list-snapshots
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-list-snapshots.yml
|
||||
sla_max_seconds: 30
|
||||
sla_max_failure: 0
|
||||
|
||||
- name: create-and-list-volume
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-list-volume.yml
|
||||
sla_max_seconds: 30
|
||||
sla_max_failure: 0
|
||||
|
||||
- name: create-and-update-volume
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-update-volume.yml
|
||||
sla_max_seconds: 30
|
||||
sla_max_failure: 0
|
||||
|
||||
- name: keystonebasic
|
||||
enabled: true
|
||||
type: rally
|
||||
|
@ -113,6 +113,21 @@ workloads:
|
||||
flavor_name: m1.tiny
|
||||
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
|
||||
|
||||
- name: create-and-list-snapshots
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-list-snapshots.yml
|
||||
|
||||
- name: create-and-list-volume
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-list-volume.yml
|
||||
|
||||
- name: create-and-update-volume
|
||||
enabled: true
|
||||
size: 1
|
||||
file: rally/cinder/cinder-create-and-update-volume.yml
|
||||
|
||||
- name: keystonebasic
|
||||
enabled: false
|
||||
type: rally
|
||||
|
@ -22,8 +22,8 @@
|
||||
start_cidr: "10.0.0.0/16"
|
||||
networks_per_tenant: 1
|
||||
users:
|
||||
tenants: 2
|
||||
users_per_tenant: 2
|
||||
tenants: 10
|
||||
users_per_tenant: 20
|
||||
quotas:
|
||||
neutron:
|
||||
network: -1
|
||||
|
25
rally/cinder/cinder-create-and-list-snapshots.yml
Normal file
25
rally/cinder/cinder-create-and-list-snapshots.yml
Normal file
@ -0,0 +1,25 @@
|
||||
{% set size = size or 1 %}
|
||||
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||
---
|
||||
CinderVolumes.create_and_list_snapshots:
|
||||
-
|
||||
args:
|
||||
force: False
|
||||
detailed: True
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{ times }}
|
||||
concurrency: {{ concurrency }}
|
||||
context:
|
||||
users:
|
||||
tenants: 10
|
||||
users_per_tenant: 20
|
||||
volumes:
|
||||
size: {{ size }}
|
||||
sla:
|
||||
max_avg_duration: {{ sla_max_avg_duration }}
|
||||
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||
failure_rate:
|
||||
max: {{ sla_max_failure }}
|
23
rally/cinder/cinder-create-and-list-volume.yml
Normal file
23
rally/cinder/cinder-create-and-list-volume.yml
Normal file
@ -0,0 +1,23 @@
|
||||
{% set size = size or 1 %}
|
||||
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||
---
|
||||
CinderVolumes.create_and_list_volume:
|
||||
-
|
||||
args:
|
||||
size: {{ size }}
|
||||
detailed: True
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{ times }}
|
||||
concurrency: {{ concurrency }}
|
||||
context:
|
||||
users:
|
||||
tenants: 10
|
||||
users_per_tenant: 20
|
||||
sla:
|
||||
max_avg_duration: {{ sla_max_avg_duration }}
|
||||
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||
failure_rate:
|
||||
max: {{ sla_max_failure }}
|
25
rally/cinder/cinder-create-and-update-volume.yml
Normal file
25
rally/cinder/cinder-create-and-update-volume.yml
Normal file
@ -0,0 +1,25 @@
|
||||
{% set size = size or 1 %}
|
||||
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||
---
|
||||
CinderVolumes.create_and_update_volume:
|
||||
-
|
||||
args:
|
||||
update_volume_kwargs:
|
||||
description: "desc_updated"
|
||||
create_volume_kwargs: {}
|
||||
size: {{ size }}
|
||||
runner:
|
||||
type: "constant"
|
||||
times: {{ times }}
|
||||
concurrency: {{ concurrency }}
|
||||
context:
|
||||
users:
|
||||
tenants: 10
|
||||
users_per_tenant: 20
|
||||
sla:
|
||||
max_avg_duration: {{ sla_max_avg_duration }}
|
||||
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||
failure_rate:
|
||||
max: {{ sla_max_failure }}
|
Loading…
Reference in New Issue
Block a user