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