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