Merge "change outage_time from 20 to 30s"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc042.yaml
index a47f71a..f46eb84 100644 (file)
@@ -1,8 +1,17 @@
+##############################################################################
+# Copyright (c) 2017 ZTE corporation 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 TC042 config file
-# Measure network latency using testpmd and pktgen-dpdk
 
 schema: "yardstick:task:0.1"
+description: >
+    Yardstick TC042 config file;
+    Measure network latency using testpmd and pktgen-dpdk.
 
 scenarios:
 -
@@ -10,22 +19,21 @@ scenarios:
   options:
     packetsize: 64
     rate: 100
-    duration: 20
 
-  host: demeter.yardstick
-  target: poseidon.yardstick
+  host: demeter.yardstick-TC042
+  target: poseidon.yardstick-TC042
 
   runner:
     type: Iteration
-    iterations: 2
+    iterations: 1
     interval: 1
 
   sla:
-    max_rtt: 1000
+    max_latency: 100
     action: monitor
 
 context:
-  name: yardstick
+  name: yardstick-TC042
   image: yardstick-image-pktgen-ready
   flavor: yardstick-pktgen-dpdk.flavor
   user: ubuntu