Bugfix:HA test cases rely on dynamic ip addresses in fuel pods
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc051.yaml
index 8e2e0c7..cf2b515 100644 (file)
@@ -1,8 +1,20 @@
+##############################################################################
+# Copyright (c) 2017 14_ykl@tongji.edu.cn 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
+##############################################################################
 ---
-# Test case for TC051 :OpenStack Controller Node CPU Overload High Availability
-# This test case is written by new scenario-based HA testing framework
 
 schema: "yardstick:task:0.1"
+description: >
+    Test case for TC051 :OpenStack Controller Node CPU Overload High Availability;
+    This test case is written by new scenario-based HA testing framework.
+
+{% set file = file or 'etc/yardstick/nodes/fuel_baremetal/pod.yaml' %}
+
 scenarios:
   -
     type: "GeneralHA"
@@ -18,7 +30,7 @@ scenarios:
         -
           monitor_type: "openstack-cmd"
           key: "nova-image-list"
-          command_name: "nova image-list"
+          command_name: "openstack image list"
           monitor_time: 10
           sla:
             max_outage_time: 5
@@ -26,7 +38,7 @@ scenarios:
         -
           monitor_type: "openstack-cmd"
           key: "neutron-router-list"
-          command_name: "neutron router-list"
+          command_name: "openstack router list"
           monitor_time: 10
           sla:
             max_outage_time: 5
@@ -34,7 +46,7 @@ scenarios:
         -
           monitor_type: "openstack-cmd"
           key: "heat-stack-list"
-          command_name: "heat stack-list"
+          command_name: "openstack stack list"
           monitor_time: 10
           sla:
             max_outage_time: 5
@@ -42,7 +54,7 @@ scenarios:
         -
           monitor_type: "openstack-cmd"
           key: "cinder-list"
-          command_name: "cinder list"
+          command_name: "openstack volume list"
           monitor_time: 10
           sla:
             max_outage_time: 5
@@ -87,4 +99,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}