Merge "Enable heat context to support existing network"
[yardstick.git] / samples / ping-multiple-context.yaml
index 8e1b1b7..a156bf5 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 to measure network latency using ping
 # Client/server parts are located in different contexts(stacks)
@@ -10,8 +18,8 @@ scenarios:
   type: Ping
   options:
     packetsize: 100
-  host: client.demo1
-  target: server.demo2
+  host: athena.demo1
+  target: hades.demo2
   runner:
     type: Duration
     duration: 60
@@ -23,34 +31,32 @@ scenarios:
 contexts:
 -
   name: demo1
-  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
       placement: "pgrp1"
   networks:
     test:
       cidr: '10.0.1.0/24'
-      external_network: "net04_ext"
 -
   name: demo2
-  image: cirros-0.3.3
-  flavor: m1.tiny
-  user: cirros
+  image: yardstick-image
+  flavor: yardstick-flavor
+  user: ubuntu
   placement_groups:
     pgrp1:
       policy: "availability"
   servers:
-    server:
+    hades:
       floating_ip: true
       placement: "pgrp1"
   networks:
     test:
       cidr: '10.0.1.0/24'
-      external_network: "net04_ext"