QA: Extend cluster QA wrt enabled storage types
[ganeti-local] / qa / qa-sample.json
1 {
2   "# Note:": null,
3   "# This file is stored in the JSON format and does not support": null,
4   "# comments. As a work-around, comments are keys starting with a hash": null,
5   "# sign (#).": null,
6
7   "name": "xen-test",
8
9   "# Name used for renaming cluster": null,
10   "rename": "xen-test-rename",
11
12   "# Virtual cluster": null,
13   "#vcluster-master": "xen-vcluster",
14   "#vcluster-basedir": "/srv/ganeti/vcluster",
15
16   "enabled-hypervisors": "xen-pvm",
17   "# Dict of hypervisor name and parameters (like on the cmd line)": null,
18   "hypervisor-parameters": {},
19   "# Backend parameters (like on the cmd line)": null,
20   "backend-parameters": "",
21   "# Dict of OS name and parameters (like on the cmd line)": null,
22   "os-parameters": {},
23   "# Dict of OS name and value dict of hypervisor  parameters": null,
24   "os-hvp": {},
25   "primary_ip_version": 4,
26   "# Name of the LVM group for the cluster": null,
27   "vg-name": "xenvg",
28   "# Cluster-level value of the exclusive-storage flag": null,
29   "exclusive-storage": null,
30   "enabled-storage-types": "lvm-vg",
31
32   "# Additional arguments for initializing cluster": null,
33   "cluster-init-args": [],
34
35   "# Network interface for master role": null,
36   "#master-netdev": "xen-br0",
37
38   "# Default network interface parameters": null,
39   "#default-nicparams": {
40     "mode": "bridged",
41     "link": "xen-br0"
42   },
43
44   "os": "debian-etch",
45   "maxmem": "1024M",
46   "minmem": "512M",
47
48   "# Instance policy specs": null,
49   "#ispec_cpu_count_max": null,
50   "#ispec_cpu_count_min": null,
51   "#ispec_cpu_count_std": null,
52   "#ispec_disk_count_max": null,
53   "#ispec_disk_count_min": null,
54   "#ispec_disk_count_std": null,
55   "#ispec_disk_size_max": null,
56   "ispec_disk_size_min": 512,
57   "#ispec_disk_size_std": null,
58   "ispec_mem_size_max": 1024,
59   "#ispec_mem_size_min": null,
60   "#ispec_mem_size_std": null,
61   "#ispec_nic_count_max": null,
62   "#ispec_nic_count_min": null,
63   "#ispec_nic_count_std": null,
64
65   "# Lists of disk sizes": null,
66   "disk": ["1G", "512M"],
67   "disk-growth": ["2G", "768M"],
68
69   "# Script to check instance status": null,
70   "instance-check": null,
71
72   "# Regular expression to ignore existing tags": null,
73   "ignore-tags-re": null,
74
75   "nodes": [
76     {
77       "# Master node": null,
78       "primary": "xen-test-0",
79       "secondary": "192.0.2.1"
80     },
81
82     {
83       "primary": "xen-test-1",
84       "secondary": "192.0.2.2"
85     }
86   ],
87
88   "instances": [
89     {
90       "name": "xen-test-inst1",
91
92       "# Static MAC address": null,
93       "#nic.mac/0": "AA:00:00:11:11:11"
94     },
95     {
96       "name": "xen-test-inst2",
97
98       "# Static MAC address": null,
99       "#nic.mac/0": "AA:00:00:22:22:22"
100     }
101   ],
102
103   "groups": {
104     "group-with-nodes": "default",
105     "inexistent-groups": [
106       "group1",
107       "group2",
108       "group3"
109     ]
110   },
111
112   "networks": {
113     "inexistent-networks": [
114       "network1",
115       "network2",
116       "network3"
117     ]
118   },
119
120   "tests": {
121     "# Whether tests are enabled or disabled by default": null,
122     "default": true,
123
124     "env": true,
125     "os": true,
126     "tags": true,
127     "rapi": true,
128     "test-jobqueue": true,
129     "delay": true,
130
131     "create-cluster": true,
132     "cluster-verify": true,
133     "cluster-info": true,
134     "cluster-burnin": true,
135     "cluster-command": true,
136     "cluster-copyfile": true,
137     "cluster-master-failover": true,
138     "cluster-renew-crypto": true,
139     "cluster-destroy": true,
140     "cluster-rename": true,
141     "cluster-reserved-lvs": true,
142     "cluster-modify": true,
143     "cluster-oob": true,
144     "cluster-epo": true,
145     "cluster-redist-conf": true,
146     "cluster-repair-disk-sizes": true,
147     "cluster-exclusive-storage": true,
148     "cluster-instance-policy": true,
149
150     "haskell-confd": true,
151     "htools": true,
152
153     "group-list": true,
154     "group-rwops": true,
155
156     "network": false,
157
158     "node-list": true,
159     "node-info": true,
160     "node-volumes": true,
161     "node-readd": true,
162     "node-storage": true,
163     "node-modify": true,
164     "node-oob": true,
165
166     "# This test needs at least three nodes": null,
167     "node-evacuate": false,
168
169     "# This test needs at least two nodes": null,
170     "node-failover": false,
171
172     "instance-add-plain-disk": true,
173     "instance-add-drbd-disk": true,
174     "instance-add-diskless": true,
175     "instance-convert-disk": true,
176     "instance-plain-rapi-common-tests": true,
177     "instance-remove-drbd-offline": true,
178
179     "instance-export": true,
180     "instance-failover": true,
181     "instance-grow-disk": true,
182     "instance-import": true,
183     "instance-info": true,
184     "instance-list": true,
185     "instance-migrate": true,
186     "instance-modify": true,
187     "instance-reboot": true,
188     "instance-reinstall": true,
189     "instance-rename": true,
190     "instance-shutdown": true,
191
192     "job-list": true,
193
194     "# cron/ganeti-watcher should be disabled for these tests": null,
195     "instance-automatic-restart": false,
196     "instance-consecutive-failures": false,
197
198     "# This test might fail with certain hypervisor types, depending": null,
199     "# on whether they support the `gnt-instance console' command.": null,
200     "instance-console": false,
201
202     "# Disabled by default because they take rather long": null,
203     "instance-replace-disks": false,
204     "instance-recreate-disks": false,
205
206     "# Whether to test the tools/move-instance utility": null,
207     "inter-cluster-instance-move": false,
208
209     "# Run instance tests with different cluster configurations": null,
210     "default-instance-tests": true,
211     "exclusive-storage-instance-tests": false
212   },
213
214   "options": {
215     "burnin-instances": 2,
216     "burnin-disk-template": "drbd",
217     "burnin-in-parallel": false,
218     "burnin-check-instances": false,
219     "burnin-rename": "xen-test-rename",
220     "burnin-reboot": true,
221     "reboot-types": ["soft", "hard", "full"],
222     "use-iallocators": false
223   },
224
225   "# vim: set syntax=javascript :": null
226 }