Merge "Modify grafana config for TC037_Network Latency, Throughput, Packet Loss and...
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc025.yaml
1 ---
2 # Sample test case for the HA of OpenStack Controll Node abnormally shutdown
3
4 schema: "yardstick:task:0.1"
5
6 scenarios:
7 -
8   type: ServiceHA
9   options:
10     attackers:
11     - fault_type: "host-shutdown"
12       host: node1
13
14     monitors:
15     - monitor_type: "openstack-cmd"
16       command_name: "nova image-list"
17       monitor_time: 10
18     - monitor_type: "openstack-cmd"
19       command_name: "neutron router-list"
20       monitor_time: 10
21     - monitor_type: "openstack-cmd"
22       command_name: "heat stack-list"
23       monitor_time: 10
24     - monitor_type: "openstack-cmd"
25       command_name: "cinder list"
26       monitor_time: 10
27
28   nodes:
29     node1: node1.LF
30
31   runner:
32     type: Iteration
33     iterations: 1
34
35   sla:
36     outage_time: 5
37     action: monitor
38
39
40 context:
41   type: Node
42   name: LF
43   file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml