summaryrefslogtreecommitdiffstats
path: root/samples/storage_bottlenecks.yaml
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2018-03-21 08:51:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-21 08:51:37 +0000
commitdb951243d3d036fa7989bbd388e869eb89b247e8 (patch)
treedf5ea89b8d562a2ac2cc304bc2cd9a9e2d9e681f /samples/storage_bottlenecks.yaml
parente345f4757abda2e7e734d86d89024d7af6e17de9 (diff)
parented28dadbfd2089362ea13106e21694611e407917 (diff)
Merge "Offline support for bottlenecks project"
Diffstat (limited to 'samples/storage_bottlenecks.yaml')
-rw-r--r--samples/storage_bottlenecks.yaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/samples/storage_bottlenecks.yaml b/samples/storage_bottlenecks.yaml
index 1aa0d7e35..971a307da 100644
--- a/samples/storage_bottlenecks.yaml
+++ b/samples/storage_bottlenecks.yaml
@@ -31,6 +31,11 @@ run_in_parallel: true
{% set numjobs = numjobs or "1" %}
{% set direct = direct or "1" %}
{% set volume_size = volume_size or 50 %}
+{% set image_name = image_name or "yardstick-image" %}
+{% set cpu_num = cpu_num or 1 %}
+{% set ram_num = ram_num or 512 %}
+{% set disk_num = disk_num or 7 %}
+{% set run_time = run_time or 3000 %}
scenarios:
{% for num in range(stack_num) %}
@@ -51,7 +56,7 @@ scenarios:
runner:
type: Duration
- duration: 60
+ duration: {{ run_time }}
interval: 1
{% endfor %}
@@ -59,8 +64,11 @@ contexts:
{% for context_num in range(stack_num) %}
-
name: storage_bottlenecks-{{context_num}}-{{volume_num}}
- image: yardstick-image
- flavor: yardstick-flavor
+ image: {{image_name}}
+ flavor:
+ vcpus: {{cpu_num}}
+ ram: {{ram_num}}
+ disk: {{disk_num}}
user: ubuntu
servers:
@@ -74,4 +82,4 @@ contexts:
test:
cidr: "10.0.1.0/24"
port_security_enabled: true
-{% endfor %} \ No newline at end of file
+{% endfor %}