qa-sample.json 4.83 KB
Newer Older
1
{
2
3
4
5
6
  "# Note:": null,
  "# This file is stored in the JSON format and does not support": null,
  "# comments. As a work-around, comments are keys starting with a hash": null,
  "# sign (#).": null,

7
  "name": "xen-test",
8
9

  "# Name used for renaming cluster": null,
10
  "rename": "xen-test-rename",
11

12
  "enabled-hypervisors": "xen-pvm",
13
14
15
16
17
18
19
20
  "# Dict of hypervisor name and parameters (like on the cmd line)": null,
  "hypervisor-parameters": {},
  "# Backend parameters (like on the cmd line)": null,
  "backend-parameters": "",
  "# Dict of OS name and parameters (like on the cmd line)": null,
  "os-parameters": {},
  "# Dict of OS name and value dict of hypervisor  parameters": null,
  "os-hvp": {},
Manuel Franceschini's avatar
Manuel Franceschini committed
21
  "primary_ip_version": 4,
22

23
24
25
26
27
28
  "# Network interface for master role": null,
  "#master-netdev": "xen-br0",

  "# Default network interface parameters": null,
  "#default-nicparams": {
    "mode": "bridged",
29
    "link": "xen-br0"
30
31
  },

32
  "os": "debian-etch",
33
34
  "maxmem": "1024M",
  "minmem": "512M",
35

36
37
  "# Instance policy specs": null,
  "ispec_mem_size_max": 1024,
René Nussbaumer's avatar
René Nussbaumer committed
38
  "ispec_disk_size_min": 512,
39

40
41
42
43
  "# Lists of disk sizes": null,
  "disk": ["1G", "512M"],
  "disk-growth": ["2G", "768M"],

44
45
46
  "# Script to check instance status": null,
  "instance-check": null,

47
48
49
  "# Regular expression to ignore existing tags": null,
  "ignore-tags-re": null,

50
51
52
53
  "nodes": [
    {
      "# Master node": null,
      "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
64
    }
  ],

  "instances": [
    {
65
66
67
68
      "name": "xen-test-inst1",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:11:11:11"
69
70
    },
    {
71
72
73
74
      "name": "xen-test-inst2",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:22:22:22"
75
76
77
    }
  ],

78
79
80
81
82
83
84
  "groups": {
    "group-with-nodes": "default",
    "inexistent-groups": [
      "group1",
      "group2",
      "group3"
    ]
85
  },
86

Helga Velroyen's avatar
Helga Velroyen committed
87
88
89
90
91
92
93
94
  "networks": {
    "inexistent-networks": [
      "network1",
      "network2",
      "network3"
    ]
  },

95
  "tests": {
96
97
98
    "# Whether tests are enabled or disabled by default": null,
    "default": true,

99
100
101
102
    "env": true,
    "os": true,
    "tags": true,
    "rapi": true,
103
    "test-jobqueue": true,
104
    "delay": true,
105

106
    "create-cluster": true,
107
108
109
110
111
112
    "cluster-verify": true,
    "cluster-info": true,
    "cluster-burnin": true,
    "cluster-command": true,
    "cluster-copyfile": true,
    "cluster-master-failover": true,
113
    "cluster-renew-crypto": true,
114
115
    "cluster-destroy": true,
    "cluster-rename": true,
116
    "cluster-reserved-lvs": true,
117
    "cluster-modify": true,
118
    "cluster-oob": true,
119
    "cluster-epo": true,
120
121
    "cluster-redist-conf": true,
    "cluster-repair-disk-sizes": true,
122

123
    "haskell-confd": true,
124
    "htools": true,
125

126
    "group-list": true,
127
    "group-rwops": true,
128

Helga Velroyen's avatar
Helga Velroyen committed
129
130
    "network": false,

131
    "node-list": true,
132
133
134
    "node-info": true,
    "node-volumes": true,
    "node-readd": true,
135
    "node-storage": true,
136
    "node-modify": true,
137
    "node-oob": true,
138
139
140
141
142
143
144
145
146

    "# This test needs at least three nodes": null,
    "node-evacuate": false,

    "# This test needs at least two nodes": null,
    "node-failover": false,

    "instance-add-plain-disk": true,
    "instance-add-drbd-disk": true,
147
    "instance-convert-disk": true,
148
    "instance-plain-rapi-common-tests": true,
149
    "instance-remove-drbd-offline": true,
150

151
    "instance-export": true,
152
    "instance-failover": true,
Iustin Pop's avatar
Iustin Pop committed
153
    "instance-grow-disk": true,
154
    "instance-import": true,
155
    "instance-info": true,
156
    "instance-list": true,
157
    "instance-migrate": true,
158
159
    "instance-modify": true,
    "instance-reboot": true,
160
161
    "instance-reinstall": true,
    "instance-rename": true,
162
163
    "instance-shutdown": true,

164
165
    "job-list": true,

166
167
168
169
    "# cron/ganeti-watcher should be disabled for these tests": null,
    "instance-automatic-restart": false,
    "instance-consecutive-failures": false,

170
171
    "# This test might fail with certain hypervisor types, depending": null,
    "# on whether they support the `gnt-instance console' command.": null,
172
173
    "instance-console": false,

174
    "# Disabled by default because they take rather long": null,
175
    "instance-replace-disks": false,
176
    "instance-recreate-disks": false,
177

178
179
180
    "# Whether to test the tools/move-instance utility": null,
    "inter-cluster-instance-move": false,

181
182
183
    "# Make sure not to include the disk(s) required for Dom0 to be up": null,
    "# in the volume group used for instances. Otherwise the whole": null,
    "# system may stop working until restarted.": null,
184
185
186
187
188
    "instance-disk-failure": false
  },

  "options": {
    "burnin-instances": 2,
189
190
    "burnin-disk-template": "drbd",
    "burnin-in-parallel": false,
Iustin Pop's avatar
Iustin Pop committed
191
    "burnin-check-instances": false,
192
    "burnin-rename": "xen-test-rename",
193
    "burnin-reboot": true,
194
195
    "reboot-types": ["soft", "hard", "full"],
    "use-iallocators": false
196
197
198
  },

  "# vim: set syntax=javascript :": null
199
}