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