Fix syntax error in QA's sample config
[ganeti-local] / qa / qa-sample.json
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   "enabled-hypervisors": "xen-pvm",
13   "# Dict of hypervisor name and parameters (like on the cmd line)": null,
14   "hypervisor-parameters": {},
15   "# Backend parameters (like on the cmd line)": null,
16   "backend-parameters": "",
17   "# Dict of OS name and parameters (like on the cmd line)": null,
18   "os-parameters": {},
19   "# Dict of OS name and value dict of hypervisor  parameters": null,
20   "os-hvp": {},
21   "primary_ip_version": 4,
22
23   "# Network interface for master role": null,
24   "#master-netdev": "xen-br0",
25
26   "# Default network interface parameters": null,
27   "#default-nicparams": {
28     "mode": "bridged",
29     "link": "xen-br0"
30   },
31
32   "os": "debian-etch",
33   "maxmem": "1024M",
34   "minmem": "512M",
35
36   "# Instance policy specs": null,
37   "ispec_mem_size_max": 1024,
38   "ispec_disk_size_min": 512,
39
40   "# Lists of disk sizes": null,
41   "disk": ["1G", "512M"],
42   "disk-growth": ["2G", "768M"],
43
44   "# Script to check instance status": null,
45   "instance-check": null,
46
47   "# Regular expression to ignore existing tags": null,
48   "ignore-tags-re": null,
49
50   "nodes": [
51     {
52       "# Master node": null,
53       "primary": "xen-test-0",
54       "secondary": "192.0.2.1"
55     },
56
57     {
58       "primary": "xen-test-1",
59       "secondary": "192.0.2.2"
60     }
61   ],
62
63   "instances": [
64     {
65       "name": "xen-test-inst1",
66
67       "# Static MAC address": null,
68       "#nic.mac/0": "AA:00:00:11:11:11"
69     },
70     {
71       "name": "xen-test-inst2",
72
73       "# Static MAC address": null,
74       "#nic.mac/0": "AA:00:00:22:22:22"
75     }
76   ],
77
78   "groups": {
79     "group-with-nodes": "default",
80     "inexistent-groups": [
81       "group1",
82       "group2",
83       "group3"
84     ]
85   },
86
87   "tests": {
88     "# Whether tests are enabled or disabled by default": null,
89     "default": true,
90
91     "env": true,
92     "os": true,
93     "tags": true,
94     "rapi": true,
95     "test-jobqueue": true,
96     "delay": true,
97
98     "create-cluster": true,
99     "cluster-verify": true,
100     "cluster-info": true,
101     "cluster-burnin": true,
102     "cluster-command": true,
103     "cluster-copyfile": true,
104     "cluster-master-failover": true,
105     "cluster-renew-crypto": true,
106     "cluster-destroy": true,
107     "cluster-rename": true,
108     "cluster-reserved-lvs": true,
109     "cluster-modify": true,
110     "cluster-oob": true,
111     "cluster-epo": true,
112     "cluster-redist-conf": true,
113     "cluster-repair-disk-sizes": true,
114
115     "haskell-confd": true,
116     "htools": true,
117
118     "group-list": true,
119     "group-rwops": true,
120
121     "node-list": true,
122     "node-info": true,
123     "node-volumes": true,
124     "node-readd": true,
125     "node-storage": true,
126     "node-modify": true,
127     "node-oob": true,
128
129     "# This test needs at least three nodes": null,
130     "node-evacuate": false,
131
132     "# This test needs at least two nodes": null,
133     "node-failover": false,
134
135     "instance-add-plain-disk": true,
136     "instance-add-drbd-disk": true,
137     "instance-convert-disk": true,
138     "instance-plain-rapi-common-tests": true,
139     "instance-remove-drbd-offline": true,
140
141     "instance-export": true,
142     "instance-failover": true,
143     "instance-grow-disk": true,
144     "instance-import": true,
145     "instance-info": true,
146     "instance-list": true,
147     "instance-migrate": true,
148     "instance-modify": true,
149     "instance-reboot": true,
150     "instance-reinstall": true,
151     "instance-rename": true,
152     "instance-shutdown": true,
153
154     "job-list": true,
155
156     "# cron/ganeti-watcher should be disabled for these tests": null,
157     "instance-automatic-restart": false,
158     "instance-consecutive-failures": false,
159
160     "# This test might fail with certain hypervisor types, depending": null,
161     "# on whether they support the `gnt-instance console' command.": null,
162     "instance-console": false,
163
164     "# Disabled by default because they take rather long": null,
165     "instance-replace-disks": false,
166     "instance-recreate-disks": false,
167
168     "# Whether to test the tools/move-instance utility": null,
169     "inter-cluster-instance-move": false,
170
171     "# Make sure not to include the disk(s) required for Dom0 to be up": null,
172     "# in the volume group used for instances. Otherwise the whole": null,
173     "# system may stop working until restarted.": null,
174     "instance-disk-failure": false
175   },
176
177   "options": {
178     "burnin-instances": 2,
179     "burnin-disk-template": "drbd",
180     "burnin-in-parallel": false,
181     "burnin-check-instances": false,
182     "burnin-rename": "xen-test-rename",
183     "burnin-reboot": true,
184     "reboot-types": ["soft", "hard", "full"],
185     "use-iallocators": false
186   },
187
188   "# vim: set syntax=javascript :": null
189 }