Bugfix:HA test cases rely on dynamic ip addresses in fuel pods
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc053.yaml
index 16a9711..b6bbb89 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 TC053 :Openstack Controller Load Balance Service 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"
@@ -29,7 +39,7 @@ scenarios:
         -
           monitor_type: "openstack-cmd"
           key: "list-images"
-          command_name: "nova image-list"
+          command_name: "openstack image list"
           monitor_time: 10
           sla:
             max_outage_time: 5
@@ -60,4 +70,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}