Merge "Add task-args(from yaml file) candidates in /api/v2/yardstick/testcases API"
[yardstick.git] / samples / ping-serial.yaml
index 37ea715..419c945 100644 (file)
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 Ericsson AB and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 ---
 # Sample benchmark task config file
 # Two scenarios run serially using different types of runners
@@ -20,21 +28,22 @@ scenarios:
     action: monitor
 -
   type: Ping
-  options:
-    packetsize: 100
   host: apollo.demo
   target: artemis.demo
   runner:
     type: Arithmetic
-    name: packetsize
     interval: 0.2
-    stop: 6000
-    step: 100
+    iterators:
+    -
+      name: packetsize
+      start: 100
+      stop: 6000
+      step: 100
 
 context:
   name: demo
-  image: cirros-0.3.3
-  flavor: m1.tiny
+  image: cirros-0.3.5
+  flavor: yardstick-flavor
   user: cirros
 
   servers: