Skip to content

Commit c838c61

Browse files
committed
Adding snapshot scneario
Change-Id: Ie2b7558b3f8fdf797aea02899bc6f1b39d33c74d
1 parent f5ff091 commit c838c61

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

browbeat-complete.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ rally:
180180
- 96
181181
times: 128
182182
scenarios:
183+
- name: boot-snapshot-delete
184+
enabled: true
185+
file: rally/nova/nova-boot-snapshot-cc.yml
186+
image_name: cirros
187+
flavor_name: m1.tiny
183188
- name: boot-list-centos
184189
enabled: true
185190
file: rally/nova/nova-boot-list-cc.yml

browbeat-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ rally:
176176
- 8
177177
times: 10
178178
scenarios:
179+
- name: boot-snapshot-delete
180+
enabled: true
181+
file: rally/nova/nova-boot-snapshot-cc.yml
182+
image_name: cirros
183+
flavor_name: m1.tiny
179184
- name: boot-list-centos
180185
enabled: false
181186
file: rally/nova/nova-boot-list-cc.yml

rally/nova/nova-boot-snapshot-cc.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{% set image_name = image_name or "centos7" %}
2+
{% set flavor_name = flavor_name or "m1.small" %}
3+
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
4+
{% set sla_max_failure = sla_max_failure or 0 %}
5+
{% set sla_max_seconds = sla_max_seconds or 60 %}
6+
---
7+
NovaServers.snapshot_server:
8+
-
9+
args:
10+
flavor:
11+
name: "{{flavor_name}}"
12+
image:
13+
name: "{{image_name}}"
14+
force_delete: false
15+
detailed: true
16+
runner:
17+
concurrency: {{concurrency}}
18+
times: {{times}}
19+
type: "constant"
20+
context:
21+
users:
22+
tenants: 1
23+
users_per_tenant: 1
24+
quotas:
25+
neutron:
26+
network: -1
27+
port: -1
28+
nova:
29+
instances: -1
30+
cores: -1
31+
ram: -1
32+
sla:
33+
max_avg_duration: {{sla_max_avg_duration}}
34+
max_seconds_per_iteration: {{sla_max_seconds}}
35+
failure_rate:
36+
max: {{sla_max_failure}}
37+

0 commit comments

Comments
 (0)