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