Added NSB descriptors for vCMTS testcase
[yardstick.git] / samples / ping-parallel.yaml
index 0e632aa..c9a22a5 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 in parallel using different type of runners
@@ -10,21 +18,21 @@ scenarios:
   type: Ping
   options:
     packetsize: 100
-  host: client.demo
-  target: server.demo
+  host: athena.demo
+  target: hades.demo
   runner:
     type: Duration
     duration: 60
     interval: 1
   sla:
-    max_rtt: 15
-    action: monitor
+    max_rtt: 10
+    action: assert
 -
   type: Ping
   options:
     packetsize: 200
-  client: client.demo
-  server: server.demo
+  host: athena.demo
+  target: hades.demo
   runner:
     type: Duration
     duration: 60
@@ -35,17 +43,22 @@ scenarios:
 
 context:
   name: demo
-  image: cirros-0.3.3
-  flavor: m1.tiny
-  user: cirros
+  image: yardstick-image
+  flavor: yardstick-flavor
+  user: ubuntu
+
+  placement_groups:
+    pgrp1:
+      policy: "availability"
 
   servers:
-    client:
+    athena:
       floating_ip: true
-    server:
+      placement: "pgrp1"
+    hades:
+      placement: "pgrp1"
 
   networks:
     test:
       cidr: '10.0.1.0/24'
-      external_network: "net04_ext"