Merge "Fix vCGNAPT name in ansible constants"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc043.yaml
index b45e41e..ea4fc3b 100644 (file)
@@ -1,16 +1,28 @@
+##############################################################################
+# 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 TC043 config file
-# Measure latency between NFVI nodes using ping
 
 schema: "yardstick:task:0.1"
+description: >
+    Yardstick TC043 config file;
+    Measure latency between NFVI nodes using ping.
 
+{% set host = host or "node1" %}
+{% set target = target or "node2" %}
+{% set file = file or '/etc/yardstick/pod.yaml' %}
 scenarios:
 -
   type: Ping
   options:
     packetsize: 100
-  host: node1.LF
-  target: node2.LF
+  host: {{host}}.LF
+  target: {{target}}.LF
 
   runner:
     type: Duration
@@ -25,5 +37,5 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/compass_sclab_physical/pod.yaml
+  file: {{file}}