summaryrefslogtreecommitdiffstats
path: root/samples/ping_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/ping_bottlenecks.yaml
parente345f4757abda2e7e734d86d89024d7af6e17de9 (diff)
parented28dadbfd2089362ea13106e21694611e407917 (diff)
Merge "Offline support for bottlenecks project"
Diffstat (limited to 'samples/ping_bottlenecks.yaml')
-rw-r--r--samples/ping_bottlenecks.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/samples/ping_bottlenecks.yaml b/samples/ping_bottlenecks.yaml
index e6fef4259..625d4501a 100644
--- a/samples/ping_bottlenecks.yaml
+++ b/samples/ping_bottlenecks.yaml
@@ -15,6 +15,10 @@ description: >
measure VMs latency using ping;
run_in_parallel: true
{% set stack_num = stack_num or 1 %}
+{% 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 %}
scenarios:
{% for num in range(stack_num) %}
@@ -34,8 +38,11 @@ contexts:
{% for num in range(stack_num) %}
-
name: demo{{num}}
- image: yardstick-image
- flavor: yardstick-flavor
+ image: {{image_name}}
+ flavor:
+ vcpus: {{cpu_num}}
+ ram: {{ram_num}}
+ disk: {{disk_num}}
user: ubuntu
placement_groups: