Add more Cinder Scenarios
Change-Id: I5060f08169f72d79df00626f2baf3240f004e4f9
This commit is contained in:
parent
ebebb6ba98
commit
d45e67c5d3
@ -104,6 +104,28 @@ workloads:
|
|||||||
flavor_name: m1.tiny
|
flavor_name: m1.tiny
|
||||||
sla_max_seconds: 30
|
sla_max_seconds: 30
|
||||||
sla_max_failure: 0
|
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
|
- name: keystonebasic
|
||||||
enabled: true
|
enabled: true
|
||||||
type: rally
|
type: rally
|
||||||
|
@ -110,6 +110,21 @@ workloads:
|
|||||||
flavor_name: m1.tiny
|
flavor_name: m1.tiny
|
||||||
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
|
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
|
- name: keystonebasic
|
||||||
enabled: true
|
enabled: true
|
||||||
type: rally
|
type: rally
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
start_cidr: "10.0.0.0/16"
|
start_cidr: "10.0.0.0/16"
|
||||||
networks_per_tenant: 1
|
networks_per_tenant: 1
|
||||||
users:
|
users:
|
||||||
tenants: 2
|
tenants: 10
|
||||||
users_per_tenant: 2
|
users_per_tenant: 20
|
||||||
quotas:
|
quotas:
|
||||||
neutron:
|
neutron:
|
||||||
network: -1
|
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