Statistics
| Branch: | Tag: | Revision:

root / qa / qa-sample.json @ 1a732a74

History | View | Annotate | Download (6 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
      "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-reboot": true,
207
    "instance-reinstall": true,
208
    "instance-rename": true,
209
    "instance-shutdown": true,
210
    "instance-device-names": true,
211

    
212
    "job-list": true,
213

    
214
    "# cron/ganeti-watcher should be disabled for these tests": null,
215
    "instance-automatic-restart": false,
216
    "instance-consecutive-failures": false,
217

    
218
    "# This test might fail with certain hypervisor types, depending": null,
219
    "# on whether they support the `gnt-instance console' command.": null,
220
    "instance-console": false,
221

    
222
    "# Disabled by default because they take rather long": null,
223
    "instance-replace-disks": false,
224
    "instance-recreate-disks": false,
225

    
226
    "# Whether to test the tools/move-instance utility": null,
227
    "inter-cluster-instance-move": false,
228

    
229
    "# Run instance tests with different cluster configurations": null,
230
    "default-instance-tests": true,
231
    "exclusive-storage-instance-tests": false
232
  },
233

    
234
  "options": {
235
    "burnin-instances": 2,
236
    "burnin-disk-template": "drbd",
237
    "burnin-in-parallel": false,
238
    "burnin-check-instances": false,
239
    "burnin-rename": "xen-test-rename",
240
    "burnin-reboot": true,
241
    "reboot-types": ["soft", "hard", "full"],
242
    "use-iallocators": false
243
  },
244

    
245
  "# vim: set syntax=javascript :": null
246
}