Merge branch 'stable-2.8' into master
[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
31   "# Only enable disk templates that the QA machines can actually use.": null,
32   "enabled-disk-templates": [
33     "plain",
34     "drbd",
35     "diskless"
36   ],
37
38   "# Additional arguments for initializing cluster": null,
39   "cluster-init-args": [],
40
41   "# Network interface for master role": null,
42   "#master-netdev": "xen-br0",
43
44   "# Default network interface parameters": null,
45   "#default-nicparams": {
46     "mode": "bridged",
47     "link": "xen-br0"
48   },
49
50   "os": "debian-etch",
51   "maxmem": "1024M",
52   "minmem": "512M",
53
54   "# Instance policy specs": null,
55   "#ispec_cpu_count_max": null,
56   "#ispec_cpu_count_min": null,
57   "#ispec_cpu_count_std": null,
58   "#ispec_disk_count_max": null,
59   "#ispec_disk_count_min": null,
60   "#ispec_disk_count_std": null,
61   "#ispec_disk_size_max": null,
62   "ispec_disk_size_min": 512,
63   "#ispec_disk_size_std": null,
64   "ispec_mem_size_max": 1024,
65   "#ispec_mem_size_min": null,
66   "#ispec_mem_size_std": null,
67   "#ispec_nic_count_max": null,
68   "#ispec_nic_count_min": null,
69   "#ispec_nic_count_std": null,
70
71   "# Lists of disks": null,
72   "disks": [
73     {
74       "size": "1G",
75       "name": "disk0",
76       "growth": "2G"
77     },
78     {
79       "size": "512M",
80       "name": "disk1",
81       "growth": "768M"
82     }
83   ],
84
85   "# Script to check instance status": null,
86   "instance-check": null,
87
88   "# Regular expression to ignore existing tags": null,
89   "ignore-tags-re": null,
90
91   "nodes": [
92     {
93       "# Master node": null,
94       "primary": "xen-test-0",
95       "secondary": "192.0.2.1"
96     },
97
98     {
99       "primary": "xen-test-1",
100       "secondary": "192.0.2.2"
101     }
102   ],
103
104   "instances": [
105     {
106       "name": "xen-test-inst1",
107
108       "# Static MAC address": null,
109       "#nic.mac/0": "AA:00:00:11:11:11"
110     },
111     {
112       "name": "xen-test-inst2",
113
114       "# Static MAC address": null,
115       "#nic.mac/0": "AA:00:00:22:22:22"
116     }
117   ],
118
119   "groups": {
120     "group-with-nodes": "default",
121     "inexistent-groups": [
122       "group1",
123       "group2",
124       "group3"
125     ]
126   },
127
128   "networks": {
129     "inexistent-networks": [
130       "network1",
131       "network2",
132       "network3"
133     ]
134   },
135
136   "tests": {
137     "# Whether tests are enabled or disabled by default": null,
138     "default": true,
139
140     "env": true,
141     "os": true,
142     "tags": true,
143     "rapi": true,
144     "test-jobqueue": true,
145     "delay": true,
146
147     "create-cluster": true,
148     "cluster-verify": true,
149     "cluster-info": true,
150     "cluster-burnin": true,
151     "cluster-command": true,
152     "cluster-copyfile": true,
153     "cluster-master-failover": true,
154     "cluster-renew-crypto": true,
155     "cluster-destroy": true,
156     "cluster-rename": true,
157     "cluster-reserved-lvs": true,
158     "cluster-modify": true,
159     "cluster-oob": true,
160     "cluster-epo": true,
161     "cluster-redist-conf": true,
162     "cluster-repair-disk-sizes": true,
163     "cluster-exclusive-storage": true,
164     "cluster-instance-policy": true,
165
166     "haskell-confd": true,
167     "htools": true,
168
169     "group-list": true,
170     "group-rwops": true,
171
172     "network": false,
173
174     "node-list": true,
175     "node-info": true,
176     "node-volumes": true,
177     "node-readd": true,
178     "node-storage": true,
179     "node-modify": true,
180     "node-oob": true,
181
182     "# This test needs at least three nodes": null,
183     "node-evacuate": false,
184
185     "# This test needs at least two nodes": null,
186     "node-failover": false,
187
188     "instance-add-plain-disk": true,
189     "instance-add-file": true,
190     "instance-add-drbd-disk": true,
191     "instance-add-diskless": true,
192     "instance-add-restricted-by-disktemplates": true,
193     "instance-convert-disk": true,
194     "instance-plain-rapi-common-tests": true,
195     "instance-remove-drbd-offline": true,
196
197     "instance-export": true,
198     "instance-failover": true,
199     "instance-grow-disk": true,
200     "instance-import": true,
201     "instance-info": true,
202     "instance-list": true,
203     "instance-migrate": true,
204     "instance-modify": true,
205     "instance-modify-primary": true,
206     "instance-modify-disks": false,
207     "instance-reboot": true,
208     "instance-reinstall": true,
209     "instance-rename": true,
210     "instance-shutdown": true,
211     "instance-device-names": true,
212
213     "job-list": true,
214
215     "# cron/ganeti-watcher should be disabled for these tests": null,
216     "instance-automatic-restart": false,
217     "instance-consecutive-failures": false,
218
219     "# This test might fail with certain hypervisor types, depending": null,
220     "# on whether they support the `gnt-instance console' command.": null,
221     "instance-console": false,
222
223     "# Disabled by default because they take rather long": null,
224     "instance-replace-disks": false,
225     "instance-recreate-disks": false,
226
227     "# Whether to test the tools/move-instance utility": null,
228     "inter-cluster-instance-move": false,
229
230     "# Run instance tests with different cluster configurations": null,
231     "default-instance-tests": true,
232     "exclusive-storage-instance-tests": false,
233
234     "mon-collector": true
235   },
236
237   "options": {
238     "burnin-instances": 2,
239     "burnin-disk-template": "drbd",
240     "burnin-in-parallel": false,
241     "burnin-check-instances": false,
242     "burnin-rename": "xen-test-rename",
243     "burnin-reboot": true,
244     "reboot-types": ["soft", "hard", "full"],
245     "use-iallocators": false
246   },
247
248   "# vim: set syntax=javascript :": null
249 }