root / qa / qa-sample.json @ 345d395d
History | View | Annotate | Download (6.2 kB)
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 |
"spindles": 2, |
76 |
"name": "disk0", |
77 |
"growth": "2G", |
78 |
"spindles-growth": 1 |
79 |
}, |
80 |
{ |
81 |
"size": "512M", |
82 |
"spindles": 1, |
83 |
"name": "disk1", |
84 |
"growth": "768M", |
85 |
"spindles-growth": 0 |
86 |
} |
87 |
], |
88 |
|
89 |
"# Script to check instance status": null, |
90 |
"instance-check": null, |
91 |
|
92 |
"# Regular expression to ignore existing tags": null, |
93 |
"ignore-tags-re": null, |
94 |
|
95 |
"nodes": [
|
96 |
{ |
97 |
"# Master node": null, |
98 |
"primary": "xen-test-0", |
99 |
"secondary": "192.0.2.1" |
100 |
}, |
101 |
|
102 |
{ |
103 |
"primary": "xen-test-1", |
104 |
"secondary": "192.0.2.2" |
105 |
} |
106 |
], |
107 |
|
108 |
"instances": [
|
109 |
{ |
110 |
"name": "xen-test-inst1", |
111 |
|
112 |
"# Static MAC address": null, |
113 |
"#nic.mac/0": "AA:00:00:11:11:11" |
114 |
}, |
115 |
{ |
116 |
"name": "xen-test-inst2", |
117 |
|
118 |
"# Static MAC address": null, |
119 |
"#nic.mac/0": "AA:00:00:22:22:22" |
120 |
} |
121 |
], |
122 |
|
123 |
"groups": {
|
124 |
"group-with-nodes": "default", |
125 |
"inexistent-groups": [
|
126 |
"group1",
|
127 |
"group2",
|
128 |
"group3"
|
129 |
] |
130 |
}, |
131 |
|
132 |
"networks": {
|
133 |
"inexistent-networks": [
|
134 |
"network1",
|
135 |
"network2",
|
136 |
"network3"
|
137 |
] |
138 |
}, |
139 |
|
140 |
"tests": {
|
141 |
"# Whether tests are enabled or disabled by default": null, |
142 |
"default": true, |
143 |
|
144 |
"env": true, |
145 |
"os": true, |
146 |
"tags": true, |
147 |
"rapi": true, |
148 |
"test-jobqueue": true, |
149 |
"delay": true, |
150 |
|
151 |
"create-cluster": true, |
152 |
"cluster-verify": true, |
153 |
"cluster-info": true, |
154 |
"cluster-burnin": true, |
155 |
"cluster-command": true, |
156 |
"cluster-copyfile": true, |
157 |
"cluster-master-failover": true, |
158 |
"cluster-renew-crypto": true, |
159 |
"cluster-destroy": true, |
160 |
"cluster-rename": true, |
161 |
"cluster-reserved-lvs": true, |
162 |
"cluster-modify": true, |
163 |
"cluster-oob": true, |
164 |
"cluster-epo": true, |
165 |
"cluster-redist-conf": true, |
166 |
"cluster-repair-disk-sizes": true, |
167 |
"cluster-exclusive-storage": true, |
168 |
"cluster-instance-policy": true, |
169 |
|
170 |
"haskell-confd": true, |
171 |
"htools": true, |
172 |
|
173 |
"group-list": true, |
174 |
"group-rwops": true, |
175 |
|
176 |
"network": false, |
177 |
|
178 |
"node-list": true, |
179 |
"node-info": true, |
180 |
"node-volumes": true, |
181 |
"node-readd": true, |
182 |
"node-storage": true, |
183 |
"node-modify": true, |
184 |
"node-oob": true, |
185 |
|
186 |
"# This test needs at least three nodes": null, |
187 |
"node-evacuate": false, |
188 |
|
189 |
"# This test needs at least two nodes": null, |
190 |
"node-failover": false, |
191 |
|
192 |
"instance-add-plain-disk": true, |
193 |
"instance-add-file": true, |
194 |
"instance-add-drbd-disk": true, |
195 |
"instance-add-diskless": true, |
196 |
"instance-add-restricted-by-disktemplates": true, |
197 |
"instance-convert-disk": true, |
198 |
"instance-plain-rapi-common-tests": true, |
199 |
"instance-remove-drbd-offline": true, |
200 |
|
201 |
"instance-export": true, |
202 |
"instance-failover": true, |
203 |
"instance-grow-disk": true, |
204 |
"instance-import": true, |
205 |
"instance-info": true, |
206 |
"instance-list": true, |
207 |
"instance-migrate": true, |
208 |
"instance-modify": true, |
209 |
"instance-modify-primary": true, |
210 |
"instance-modify-disks": false, |
211 |
"instance-reboot": true, |
212 |
"instance-reinstall": true, |
213 |
"instance-rename": true, |
214 |
"instance-shutdown": true, |
215 |
"instance-device-names": true, |
216 |
|
217 |
"job-list": true, |
218 |
|
219 |
"# cron/ganeti-watcher should be disabled for these tests": null, |
220 |
"instance-automatic-restart": false, |
221 |
"instance-consecutive-failures": false, |
222 |
|
223 |
"# This test might fail with certain hypervisor types, depending": null, |
224 |
"# on whether they support the `gnt-instance console' command.": null, |
225 |
"instance-console": false, |
226 |
|
227 |
"# Disabled by default because they take rather long": null, |
228 |
"instance-replace-disks": false, |
229 |
"instance-recreate-disks": false, |
230 |
|
231 |
"# Whether to test the tools/move-instance utility": null, |
232 |
"inter-cluster-instance-move": false, |
233 |
|
234 |
"# Run instance tests with different cluster configurations": null, |
235 |
"default-instance-tests": true, |
236 |
"exclusive-storage-instance-tests": false, |
237 |
|
238 |
"mon-collector": true |
239 |
}, |
240 |
|
241 |
"options": {
|
242 |
"burnin-instances": 2, |
243 |
"burnin-disk-template": "drbd", |
244 |
"burnin-in-parallel": false, |
245 |
"burnin-check-instances": false, |
246 |
"burnin-rename": "xen-test-rename", |
247 |
"burnin-reboot": true, |
248 |
"reboot-types": ["soft", "hard", "full"], |
249 |
"use-iallocators": false |
250 |
}, |
251 |
|
252 |
"# vim: set syntax=javascript :": null |
253 |
} |