qa-sample.json 4.9 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
  "# Name of the LVM group for the cluster": null,
  "vg-name": "xenvg",
24
25
  "# Cluster-level value of the exclusive-storage flag": null,
  "exclusive-storage": null,
26

27
28
29
  "# Additional arguments for initializing cluster": null,
  "cluster-init-args": [],

30
31
32
33
34
35
36
37
38
  "# Network interface for master role": null,
  "#master-netdev": "xen-br0",

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

39
  "os": "debian-etch",
40
41
  "maxmem": "1024M",
  "minmem": "512M",
42

43
44
  "# Instance policy specs": null,
  "ispec_mem_size_max": 1024,
René Nussbaumer's avatar
René Nussbaumer committed
45
  "ispec_disk_size_min": 512,
46

47
48
49
50
  "# Lists of disk sizes": null,
  "disk": ["1G", "512M"],
  "disk-growth": ["2G", "768M"],

51
52
53
  "# Script to check instance status": null,
  "instance-check": null,

54
55
56
  "# Regular expression to ignore existing tags": null,
  "ignore-tags-re": null,

57
58
59
60
  "nodes": [
    {
      "# Master node": null,
      "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
71
    }
  ],

  "instances": [
    {
72
73
74
75
      "name": "xen-test-inst1",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:11:11:11"
76
77
    },
    {
78
79
80
81
      "name": "xen-test-inst2",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:22:22:22"
82
83
84
    }
  ],

85
86
87
88
89
90
91
  "groups": {
    "group-with-nodes": "default",
    "inexistent-groups": [
      "group1",
      "group2",
      "group3"
    ]
92
  },
93

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

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

105
    "create-cluster": true,
106
107
108
109
110
111
    "cluster-verify": true,
    "cluster-info": true,
    "cluster-burnin": true,
    "cluster-command": true,
    "cluster-copyfile": true,
    "cluster-master-failover": true,
112
    "cluster-renew-crypto": true,
113
114
    "cluster-destroy": true,
    "cluster-rename": true,
115
    "cluster-reserved-lvs": true,
116
    "cluster-modify": true,
117
    "cluster-oob": true,
118
    "cluster-epo": true,
119
120
    "cluster-redist-conf": true,
    "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
131
132
    "node-info": true,
    "node-volumes": true,
    "node-readd": true,
133
    "node-storage": true,
134
    "node-modify": true,
135
    "node-oob": true,
136
137
138
139
140
141
142
143
144

    "# 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,
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,
Iustin Pop's avatar
Iustin Pop committed
151
    "instance-grow-disk": true,
152
    "instance-import": true,
153
    "instance-info": true,
154
    "instance-list": true,
155
    "instance-migrate": true,
156
157
    "instance-modify": true,
    "instance-reboot": true,
158
159
    "instance-reinstall": true,
    "instance-rename": true,
160
161
    "instance-shutdown": true,

162
163
    "job-list": true,

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

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

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
178
179
180
181
    "inter-cluster-instance-move": false,

    "# Run instance tests with different cluster configurations": null,
    "default-instance-tests": true,
    "exclusive-storage-instance-tests": false
182
183
184
185
  },

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

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