Bugfix:HA test cases rely on dynamic ip addresses in fuel pods
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc051.yaml
index 1115b35..cf2b515 100644 (file)
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
 ---
 
 schema: "yardstick:task:0.1"
@@ -5,6 +13,8 @@ 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"
@@ -20,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
@@ -28,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
@@ -36,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
@@ -44,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
@@ -89,4 +99,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}