Bugfix: Support HA test cases in TripleO
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc027.yaml
index dc86c5e..87846da 100644 (file)
@@ -1,15 +1,30 @@
+##############################################################################
+# Copyright (c) 2017 Huawei Technologies Co.,Ltd 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
+##############################################################################
 ---
-# Yardstick TC027 config file
-# Measure IPV6 network latency using ping6
 
 schema: "yardstick:task:0.1"
+description: >
+    Yardstick TC027 config file;
+    Measure IPV6 network latency using ping6.
 
+{% set openrc = openrc or "/opt/admin-openrc.sh" %}
+{% set external_network = external_network or "ext-net" %}
+{% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
 scenarios:
 -
   type: Ping6
   options:
     packetsize: 56
+    ping_count: 5
     host: host1,host2,host3,host4,host5
+    openrc: {{openrc}}
+    external_network: {{external_network}}
   nodes:
     host1: node1.IPV6
     host2: node2.IPV6
@@ -25,13 +40,9 @@ scenarios:
     max_rtt: 30
     action: monitor
 
-precondition:
-  installer_type: compass
-  deploy_scenarios: os-nosdn
 
 context:
   type: Node
   name: IPV6
-  file: /home/opnfv/repos/yardstick/etc/yardstick/nodes/compass_sclab_physical/pod.yaml
-
+  file: {{pod_info}}