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