Creating a generic opertion
[yardstick.git] / samples / ping-parallel.yaml
index 0e632aa..00d2613 100644 (file)
@@ -10,21 +10,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
@@ -39,13 +39,18 @@ context:
   flavor: m1.tiny
   user: cirros
 
+  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"