QA: Add default setting for tests
[ganeti-local] / qa / qa-sample.json
1 {
2   "name": "xen-test",
3   "rename": "xen-test-rename",
4   "enabled-hypervisors": "xen-pvm",
5   "# Dict of hypervisor name and parameters (like on the cmd line)": null,
6   "hypervisor-parameters": {},
7   "# Backend parameters (like on the cmd line)": null,
8   "backend-parameters": "",
9   "# Dict of OS name and parameters (like on the cmd line)": null,
10   "os-parameters": {},
11   "# Dict of OS name and value dict of hypervisor  parameters": null,
12   "os-hvp": {},
13   "primary_ip_version": 4,
14
15   "os": "debian-etch",
16   "maxmem": "1024M",
17   "minmem": "512M",
18
19   "# Instance policy specs": null,
20   "ispec_mem_size_max": 1024,
21   "ispec_disk_size_min": 512,
22
23   "# Lists of disk sizes": null,
24   "disk": ["1G", "512M"],
25   "disk-growth": ["2G", "768M"],
26
27   "nodes": [
28     {
29       "# Master node": null,
30       "primary": "xen-test-0",
31       "secondary": "192.0.2.1"
32     },
33
34     {
35       "primary": "xen-test-1",
36       "secondary": "192.0.2.2"
37     }
38   ],
39
40   "instances": [
41     {
42       "name": "xen-test-inst1"
43     },
44     {
45       "name": "xen-test-inst2"
46     }
47   ],
48
49   "groups": {
50     "group-with-nodes": "default",
51     "inexistent-groups": [
52       "group1",
53       "group2",
54       "group3"
55     ]
56   },
57
58   "tests": {
59     "# Whether tests are enabled or disabled by default": null,
60     "default": true,
61
62     "env": true,
63     "os": true,
64     "tags": true,
65     "rapi": true,
66     "test-jobqueue": true,
67     "delay": true,
68
69     "create-cluster": true,
70     "cluster-verify": true,
71     "cluster-info": true,
72     "cluster-burnin": true,
73     "cluster-command": true,
74     "cluster-copyfile": true,
75     "cluster-master-failover": true,
76     "cluster-renew-crypto": true,
77     "cluster-destroy": true,
78     "cluster-rename": true,
79     "cluster-reserved-lvs": true,
80     "cluster-modify": true,
81     "cluster-oob": true,
82     "cluster-epo": true,
83     "cluster-redist-conf": true,
84     "cluster-repair-disk-sizes": true,
85
86     "group-list": true,
87     "group-rwops": true,
88
89     "node-list": true,
90     "node-info": true,
91     "node-volumes": true,
92     "node-readd": true,
93     "node-storage": true,
94     "node-modify": true,
95     "node-oob": true,
96
97     "# This test needs at least three nodes": null,
98     "node-evacuate": false,
99
100     "# This test needs at least two nodes": null,
101     "node-failover": false,
102
103     "instance-add-plain-disk": true,
104     "instance-add-drbd-disk": true,
105     "instance-convert-disk": true,
106
107     "instance-export": true,
108     "instance-failover": true,
109     "instance-import": true,
110     "instance-info": true,
111     "instance-list": true,
112     "instance-migrate": true,
113     "instance-modify": true,
114     "instance-reboot": true,
115     "instance-reinstall": true,
116     "instance-rename": true,
117     "instance-shutdown": true,
118
119     "job-list": true,
120
121     "# cron/ganeti-watcher should be disabled for these tests": null,
122     "instance-automatic-restart": false,
123     "instance-consecutive-failures": false,
124
125     "# This test might fail with certain hypervisor types, depending": null,
126     "# on whether they support the `gnt-instance console' command.": null,
127     "instance-console": false,
128
129     "# Disabled by default because it takes rather long": null,
130     "instance-replace-disks": false,
131
132     "# Whether to test the tools/move-instance utility": null,
133     "inter-cluster-instance-move": false,
134
135     "# Make sure not to include the disk(s) required for Dom0 to be up": null,
136     "# in the volume group used for instances. Otherwise the whole": null,
137     "# system may stop working until restarted.": null,
138     "instance-disk-failure": false
139   },
140
141   "options": {
142     "burnin-instances": 2,
143     "burnin-disk-template": "drbd",
144     "burnin-in-parallel": false,
145     "burnin-check-instances": false,
146     "burnin-rename": "xen-test-rename",
147     "burnin-reboot": true,
148     "reboot-types": ["soft", "hard", "full"]
149   },
150
151   "# vim: set syntax=javascript :": null
152 }