Statistics
| Branch: | Tag: | Revision:

root / qa / qa-sample.json @ 2dae8d64

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
  "enabled-disk-templates": [
31
    "plain",
32
    "drbd",
33
    "diskless"
34
  ],
35

    
36
  "# Additional arguments for initializing cluster": null,
37
  "cluster-init-args": [],
38

    
39
  "# Network interface for master role": null,
40
  "#master-netdev": "xen-br0",
41

    
42
  "# Default network interface parameters": null,
43
  "#default-nicparams": {
44
    "mode": "bridged",
45
    "link": "xen-br0"
46
  },
47

    
48
  "os": "debian-etch",
49
  "maxmem": "1024M",
50
  "minmem": "512M",
51

    
52
  "# Instance policy specs": null,
53
  "#ispec_cpu_count_max": null,
54
  "#ispec_cpu_count_min": null,
55
  "#ispec_cpu_count_std": null,
56
  "#ispec_disk_count_max": null,
57
  "#ispec_disk_count_min": null,
58
  "#ispec_disk_count_std": null,
59
  "#ispec_disk_size_max": null,
60
  "ispec_disk_size_min": 512,
61
  "#ispec_disk_size_std": null,
62
  "ispec_mem_size_max": 1024,
63
  "#ispec_mem_size_min": null,
64
  "#ispec_mem_size_std": null,
65
  "#ispec_nic_count_max": null,
66
  "#ispec_nic_count_min": null,
67
  "#ispec_nic_count_std": null,
68

    
69
  "# Lists of disk sizes": null,
70
  "disk": ["1G", "512M"],
71
  "disk-growth": ["2G", "768M"],
72

    
73
  "# Script to check instance status": null,
74
  "instance-check": null,
75

    
76
  "# Regular expression to ignore existing tags": null,
77
  "ignore-tags-re": null,
78

    
79
  "nodes": [
80
    {
81
      "# Master node": null,
82
      "primary": "xen-test-0",
83
      "secondary": "192.0.2.1"
84
    },
85

    
86
    {
87
      "primary": "xen-test-1",
88
      "secondary": "192.0.2.2"
89
    }
90
  ],
91

    
92
  "instances": [
93
    {
94
      "name": "xen-test-inst1",
95

    
96
      "# Static MAC address": null,
97
      "#nic.mac/0": "AA:00:00:11:11:11"
98
    },
99
    {
100
      "name": "xen-test-inst2",
101

    
102
      "# Static MAC address": null,
103
      "#nic.mac/0": "AA:00:00:22:22:22"
104
    }
105
  ],
106

    
107
  "groups": {
108
    "group-with-nodes": "default",
109
    "inexistent-groups": [
110
      "group1",
111
      "group2",
112
      "group3"
113
    ]
114
  },
115

    
116
  "networks": {
117
    "inexistent-networks": [
118
      "network1",
119
      "network2",
120
      "network3"
121
    ]
122
  },
123

    
124
  "tests": {
125
    "# Whether tests are enabled or disabled by default": null,
126
    "default": true,
127

    
128
    "env": true,
129
    "os": true,
130
    "tags": true,
131
    "rapi": true,
132
    "test-jobqueue": true,
133
    "delay": true,
134

    
135
    "create-cluster": true,
136
    "cluster-verify": true,
137
    "cluster-info": true,
138
    "cluster-burnin": true,
139
    "cluster-command": true,
140
    "cluster-copyfile": true,
141
    "cluster-master-failover": true,
142
    "cluster-renew-crypto": true,
143
    "cluster-destroy": true,
144
    "cluster-rename": true,
145
    "cluster-reserved-lvs": true,
146
    "cluster-modify": true,
147
    "cluster-oob": true,
148
    "cluster-epo": true,
149
    "cluster-redist-conf": true,
150
    "cluster-repair-disk-sizes": true,
151
    "cluster-exclusive-storage": true,
152
    "cluster-instance-policy": true,
153

    
154
    "haskell-confd": true,
155
    "htools": true,
156

    
157
    "group-list": true,
158
    "group-rwops": true,
159

    
160
    "network": false,
161

    
162
    "node-list": true,
163
    "node-info": true,
164
    "node-volumes": true,
165
    "node-readd": true,
166
    "node-storage": true,
167
    "node-modify": true,
168
    "node-oob": true,
169

    
170
    "# This test needs at least three nodes": null,
171
    "node-evacuate": false,
172

    
173
    "# This test needs at least two nodes": null,
174
    "node-failover": false,
175

    
176
    "instance-add-plain-disk": true,
177
    "instance-add-file": true,
178
    "instance-add-drbd-disk": true,
179
    "instance-add-diskless": true,
180
    "instance-convert-disk": true,
181
    "instance-plain-rapi-common-tests": true,
182
    "instance-remove-drbd-offline": true,
183

    
184
    "instance-export": true,
185
    "instance-failover": true,
186
    "instance-grow-disk": true,
187
    "instance-import": true,
188
    "instance-info": true,
189
    "instance-list": true,
190
    "instance-migrate": true,
191
    "instance-modify": true,
192
    "instance-modify-primary": true,
193
    "instance-reboot": true,
194
    "instance-reinstall": true,
195
    "instance-rename": true,
196
    "instance-shutdown": true,
197

    
198
    "job-list": true,
199

    
200
    "# cron/ganeti-watcher should be disabled for these tests": null,
201
    "instance-automatic-restart": false,
202
    "instance-consecutive-failures": false,
203

    
204
    "# This test might fail with certain hypervisor types, depending": null,
205
    "# on whether they support the `gnt-instance console' command.": null,
206
    "instance-console": false,
207

    
208
    "# Disabled by default because they take rather long": null,
209
    "instance-replace-disks": false,
210
    "instance-recreate-disks": false,
211

    
212
    "# Whether to test the tools/move-instance utility": null,
213
    "inter-cluster-instance-move": false,
214

    
215
    "# Run instance tests with different cluster configurations": null,
216
    "default-instance-tests": true,
217
    "exclusive-storage-instance-tests": false
218
  },
219

    
220
  "options": {
221
    "burnin-instances": 2,
222
    "burnin-disk-template": "drbd",
223
    "burnin-in-parallel": false,
224
    "burnin-check-instances": false,
225
    "burnin-rename": "xen-test-rename",
226
    "burnin-reboot": true,
227
    "reboot-types": ["soft", "hard", "full"],
228
    "use-iallocators": false
229
  },
230

    
231
  "# vim: set syntax=javascript :": null
232
}