Merge "Add dashboard for TC058"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc058.yaml
index e9feb97..06d4600 100644 (file)
 
 schema: "yardstick:task:0.1"
 description: >
-    Test case for TC058 :OpenStack Controller Virtual Router Service High
-    Availability;
-    This test case is written by scenario-based HA testing framework.
+    Yardstick TC058 config file;
+    HA test case: OpenStack Controller Virtual Router Service High Availability.
 
 {% set file = file or '/etc/yardstick/pod.yaml' %}
 {% set image = image or 'yardstick-image' %}
 {% set flavor = flavor or 'yardstick-flavor' %}
 {% set attack_host = attack_host or 'node1' %}
+{% set attack_process = attack_process or "neutron-l3-agent" %}
 
 scenarios:
   -
@@ -28,17 +28,17 @@ scenarios:
           fault_type: "kill-process"
           host: {{attack_host}}
           key: "kill-process"
-          process_name: "neutron-l3-agent"
+          process_name: "{{ attack_process }}"
 
       monitors:
         -
           monitor_type: "process"
-          process_name: "neutron-l3-agent"
+          process_name: "{{ attack_process }}"
           host: {{attack_host}}
           key: "monitor-recovery"
-          monitor_time: 20
+          monitor_time: 30
           sla:
-            max_recover_time: 20
+            max_recover_time: 30
 
         -
           monitor_type: "general-monitor"
@@ -48,7 +48,7 @@ scenarios:
           sla:
             max_outage_time: 5
           parameter:
-            ip_address: "$floating_ip"
+            ip_address: "@floating_ip"
 
       operations:
         -
@@ -58,7 +58,7 @@ scenarios:
           action_parameter:
             server_name: "tc058"
           return_parameter:
-            all: "$floating_ip"
+            all: "@floating_ip"
 
 
       steps: