BugFix: fix storperf_admin-rc problem
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc052.yaml
1 ---
2 # Test case for TC052 :OpenStack Controller Node Disk I/O Block High Availability
3 # This test case is written by new scenario-based HA testing framework
4
5 schema: "yardstick:task:0.1"
6 scenarios:
7   -
8     type: "GeneralHA"
9     options:
10       attackers:
11         -
12           fault_type: "general-attacker"
13           host: node1
14           key: "block-io"
15           attack_key: "block-io"
16
17       monitors:
18         -
19           monitor_type: "openstack-cmd"
20           key: "nova-flavor-list"
21           command_name: "nova flavor-list"
22           monitor_time: 10
23           sla:
24             max_outage_time: 5
25
26       operations:
27         -
28           operation_type: "general-operation"
29           key: "create-flavor"
30           operation_key: "nova-create-flavor"
31           host: node1
32           action_parameter:
33             flavorconfig: "test-001 test-001 100 1 1"
34           rollback_parameter:
35             flavorid: "test-001"
36
37       resultCheckers:
38         -
39           checker_type: "general-result-checker"
40           key: "check-flavor"
41           host: node1
42           checker_key: "nova-flavor-checker"
43           expectedValue: "test-001"
44           condition: "in"
45
46       steps:
47         -
48           actionKey: "block-io"
49           actionType: "attacker"
50           index: 1
51
52         -
53           actionKey: "nova-flavor-list"
54           actionType: "monitor"
55           index: 2
56
57         -
58           actionKey: "create-flavor"
59           actionType: "operation"
60           index: 3
61
62         -
63           actionKey: "check-flavor"
64           actionType: "resultchecker"
65           index: 4
66
67     nodes:
68       node1: node1.LF
69     runner:
70       type: Duration
71       duration: 1
72     sla:
73       outage_time: 5
74       action: monitor
75
76 context:
77   type: Node
78   name: LF
79   file: etc/yardstick/nodes/fuel_virtual/pod.yaml