Merge "Make context types constants"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc058.yaml
index 7fb7daf..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,12 +28,12 @@ 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: 30