qa-sample.json 5.76 KB
Newer Older
1
{
2
3
4
5
6
  "# Note:": null,
  "# This file is stored in the JSON format and does not support": null,
  "# comments. As a work-around, comments are keys starting with a hash": null,
  "# sign (#).": null,

7
  "name": "xen-test",
8
9

  "# Name used for renaming cluster": null,
10
  "rename": "xen-test-rename",
11

12
13
14
15
  "# Virtual cluster": null,
  "#vcluster-master": "xen-vcluster",
  "#vcluster-basedir": "/srv/ganeti/vcluster",

16
  "enabled-hypervisors": "xen-pvm",
17
18
19
20
21
22
23
24
  "# Dict of hypervisor name and parameters (like on the cmd line)": null,
  "hypervisor-parameters": {},
  "# Backend parameters (like on the cmd line)": null,
  "backend-parameters": "",
  "# Dict of OS name and parameters (like on the cmd line)": null,
  "os-parameters": {},
  "# Dict of OS name and value dict of hypervisor  parameters": null,
  "os-hvp": {},
Manuel Franceschini's avatar
Manuel Franceschini committed
25
  "primary_ip_version": 4,
26
27
  "# Name of the LVM group for the cluster": null,
  "vg-name": "xenvg",
28
29
  "# Cluster-level value of the exclusive-storage flag": null,
  "exclusive-storage": null,
30
31
32
33
34
  "enabled-disk-templates": [
    "plain",
    "drbd",
    "diskless"
  ],
35

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

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

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

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

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

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

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

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

79
80
81
82
  "nodes": [
    {
      "# Master node": null,
      "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
93
    }
  ],

  "instances": [
    {
94
95
96
97
      "name": "xen-test-inst1",

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

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

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

Helga Velroyen's avatar
Helga Velroyen committed
116
117
118
119
120
121
122
123
  "networks": {
    "inexistent-networks": [
      "network1",
      "network2",
      "network3"
    ]
  },

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

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

135
    "create-cluster": true,
136
137
138
139
140
141
    "cluster-verify": true,
    "cluster-info": true,
    "cluster-burnin": true,
    "cluster-command": true,
    "cluster-copyfile": true,
    "cluster-master-failover": true,
142
    "cluster-renew-crypto": true,
143
144
    "cluster-destroy": true,
    "cluster-rename": true,
145
    "cluster-reserved-lvs": true,
146
    "cluster-modify": true,
147
    "cluster-oob": true,
148
    "cluster-epo": true,
149
150
    "cluster-redist-conf": true,
    "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

Helga Velroyen's avatar
Helga Velroyen committed
160
161
    "network": false,

162
    "node-list": true,
163
164
165
    "node-info": true,
    "node-volumes": true,
    "node-readd": true,
166
    "node-storage": true,
167
    "node-modify": true,
168
    "node-oob": true,
169
170
171
172
173
174
175
176

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

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

    "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,
Iustin Pop's avatar
Iustin Pop committed
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
195
    "instance-reinstall": true,
    "instance-rename": true,
196
197
    "instance-shutdown": true,

198
199
    "job-list": true,

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

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

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

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

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

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

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