root / test / data / htools / hail-alloc-restricted-network.json @ b008fa25
History | View | Annotate | Download (5.9 kB)
1 | 017160ed | Thomas Thrainer | { |
---|---|---|---|
2 | 017160ed | Thomas Thrainer | "cluster_tags": [],
|
3 | 017160ed | Thomas Thrainer | "instances": {
|
4 | 017160ed | Thomas Thrainer | "instance1": {
|
5 | 017160ed | Thomas Thrainer | "disks": [
|
6 | 017160ed | Thomas Thrainer | { |
7 | 017160ed | Thomas Thrainer | "mode": "rw", |
8 | 017160ed | Thomas Thrainer | "size": 1024 |
9 | 017160ed | Thomas Thrainer | } |
10 | 017160ed | Thomas Thrainer | ], |
11 | 017160ed | Thomas Thrainer | "disk_space_total": 1024, |
12 | 017160ed | Thomas Thrainer | "hypervisor": "xen-pvm", |
13 | 017160ed | Thomas Thrainer | "tags": [],
|
14 | 017160ed | Thomas Thrainer | "nics": [
|
15 | 017160ed | Thomas Thrainer | { |
16 | 017160ed | Thomas Thrainer | "ip": null, |
17 | 017160ed | Thomas Thrainer | "mac": "aa:00:00:eb:0b:a5", |
18 | 017160ed | Thomas Thrainer | "link": "xen-br0", |
19 | 017160ed | Thomas Thrainer | "mode": "bridged", |
20 | 017160ed | Thomas Thrainer | "bridge": "xen-br0" |
21 | 017160ed | Thomas Thrainer | } |
22 | 017160ed | Thomas Thrainer | ], |
23 | 017160ed | Thomas Thrainer | "vcpus": 1, |
24 | 017160ed | Thomas Thrainer | "spindle_use": 1, |
25 | 017160ed | Thomas Thrainer | "admin_state": "down", |
26 | 017160ed | Thomas Thrainer | "disk_template": "drbd", |
27 | 017160ed | Thomas Thrainer | "memory": 128, |
28 | 017160ed | Thomas Thrainer | "nodes": [
|
29 | 017160ed | Thomas Thrainer | "node1_1",
|
30 | 017160ed | Thomas Thrainer | "node1_2"
|
31 | 017160ed | Thomas Thrainer | ], |
32 | 017160ed | Thomas Thrainer | "os": "debian-image" |
33 | 017160ed | Thomas Thrainer | }, |
34 | 017160ed | Thomas Thrainer | "instance2": {
|
35 | 017160ed | Thomas Thrainer | "disks": [
|
36 | 017160ed | Thomas Thrainer | { |
37 | 017160ed | Thomas Thrainer | "mode": "rw", |
38 | 017160ed | Thomas Thrainer | "size": 1024 |
39 | 017160ed | Thomas Thrainer | } |
40 | 017160ed | Thomas Thrainer | ], |
41 | 017160ed | Thomas Thrainer | "disk_space_total": 1024, |
42 | 017160ed | Thomas Thrainer | "hypervisor": "xen-pvm", |
43 | 017160ed | Thomas Thrainer | "tags": [],
|
44 | 017160ed | Thomas Thrainer | "nics": [
|
45 | 017160ed | Thomas Thrainer | { |
46 | 017160ed | Thomas Thrainer | "ip": null, |
47 | 017160ed | Thomas Thrainer | "mac": "aa:00:00:eb:0b:a5", |
48 | 017160ed | Thomas Thrainer | "link": "xen-br0", |
49 | 017160ed | Thomas Thrainer | "mode": "bridged", |
50 | 017160ed | Thomas Thrainer | "bridge": "xen-br0" |
51 | 017160ed | Thomas Thrainer | } |
52 | 017160ed | Thomas Thrainer | ], |
53 | 017160ed | Thomas Thrainer | "vcpus": 1, |
54 | 017160ed | Thomas Thrainer | "spindle_use": 1, |
55 | 017160ed | Thomas Thrainer | "admin_state": "down", |
56 | 017160ed | Thomas Thrainer | "disk_template": "drbd", |
57 | 017160ed | Thomas Thrainer | "memory": 128, |
58 | 017160ed | Thomas Thrainer | "nodes": [
|
59 | 017160ed | Thomas Thrainer | "node1_2",
|
60 | 017160ed | Thomas Thrainer | "node1_1"
|
61 | 017160ed | Thomas Thrainer | ], |
62 | 017160ed | Thomas Thrainer | "os": "debian-image" |
63 | 017160ed | Thomas Thrainer | }, |
64 | 017160ed | Thomas Thrainer | "instance2": {
|
65 | 017160ed | Thomas Thrainer | "disks": [
|
66 | 017160ed | Thomas Thrainer | { |
67 | 017160ed | Thomas Thrainer | "mode": "rw", |
68 | 017160ed | Thomas Thrainer | "size": 1024 |
69 | 017160ed | Thomas Thrainer | } |
70 | 017160ed | Thomas Thrainer | ], |
71 | 017160ed | Thomas Thrainer | "disk_space_total": 1024, |
72 | 017160ed | Thomas Thrainer | "hypervisor": "xen-pvm", |
73 | 017160ed | Thomas Thrainer | "tags": [],
|
74 | 017160ed | Thomas Thrainer | "nics": [
|
75 | 017160ed | Thomas Thrainer | { |
76 | 017160ed | Thomas Thrainer | "ip": null, |
77 | 017160ed | Thomas Thrainer | "mac": "aa:00:00:eb:0b:a5", |
78 | 017160ed | Thomas Thrainer | "link": "xen-br0", |
79 | 017160ed | Thomas Thrainer | "mode": "bridged", |
80 | 017160ed | Thomas Thrainer | "bridge": "xen-br0" |
81 | 017160ed | Thomas Thrainer | } |
82 | 017160ed | Thomas Thrainer | ], |
83 | 017160ed | Thomas Thrainer | "vcpus": 1, |
84 | 017160ed | Thomas Thrainer | "spindle_use": 1, |
85 | 017160ed | Thomas Thrainer | "admin_state": "down", |
86 | 017160ed | Thomas Thrainer | "disk_template": "drbd", |
87 | 017160ed | Thomas Thrainer | "memory": 128, |
88 | 017160ed | Thomas Thrainer | "nodes": [
|
89 | 017160ed | Thomas Thrainer | "node1_1",
|
90 | 017160ed | Thomas Thrainer | "node1_2"
|
91 | 017160ed | Thomas Thrainer | ], |
92 | 017160ed | Thomas Thrainer | "os": "debian-image" |
93 | 017160ed | Thomas Thrainer | } |
94 | 017160ed | Thomas Thrainer | }, |
95 | 017160ed | Thomas Thrainer | "ipolicy": {
|
96 | 017160ed | Thomas Thrainer | "max": {
|
97 | 017160ed | Thomas Thrainer | "disk-size": 2048 |
98 | 017160ed | Thomas Thrainer | }, |
99 | 017160ed | Thomas Thrainer | "min": {
|
100 | 017160ed | Thomas Thrainer | "disk-size": 1024 |
101 | 017160ed | Thomas Thrainer | } |
102 | 017160ed | Thomas Thrainer | }, |
103 | 017160ed | Thomas Thrainer | "nodegroups": {
|
104 | 017160ed | Thomas Thrainer | "uuid-group-1": {
|
105 | 017160ed | Thomas Thrainer | "alloc_policy": "last_resort", |
106 | 017160ed | Thomas Thrainer | "ipolicy": {
|
107 | 017160ed | Thomas Thrainer | "disk-templates": [
|
108 | 017160ed | Thomas Thrainer | "drbd"
|
109 | 017160ed | Thomas Thrainer | ], |
110 | 017160ed | Thomas Thrainer | "minmax": [
|
111 | 017160ed | Thomas Thrainer | { |
112 | 017160ed | Thomas Thrainer | "max": {
|
113 | 017160ed | Thomas Thrainer | "cpu-count": 2, |
114 | 017160ed | Thomas Thrainer | "disk-count": 8, |
115 | 017160ed | Thomas Thrainer | "disk-size": 2048, |
116 | 017160ed | Thomas Thrainer | "memory-size": 12800, |
117 | 017160ed | Thomas Thrainer | "nic-count": 8, |
118 | 017160ed | Thomas Thrainer | "spindle-use": 8 |
119 | 017160ed | Thomas Thrainer | }, |
120 | 017160ed | Thomas Thrainer | "min": {
|
121 | 017160ed | Thomas Thrainer | "cpu-count": 1, |
122 | 017160ed | Thomas Thrainer | "disk-count": 1, |
123 | 017160ed | Thomas Thrainer | "disk-size": 1024, |
124 | 017160ed | Thomas Thrainer | "memory-size": 128, |
125 | 017160ed | Thomas Thrainer | "nic-count": 1, |
126 | 017160ed | Thomas Thrainer | "spindle-use": 1 |
127 | 017160ed | Thomas Thrainer | } |
128 | 017160ed | Thomas Thrainer | } |
129 | 017160ed | Thomas Thrainer | ], |
130 | 017160ed | Thomas Thrainer | "spindle-ratio": 32.0, |
131 | 017160ed | Thomas Thrainer | "std": {
|
132 | 017160ed | Thomas Thrainer | "cpu-count": 1, |
133 | 017160ed | Thomas Thrainer | "disk-count": 1, |
134 | 017160ed | Thomas Thrainer | "disk-size": 1024, |
135 | 017160ed | Thomas Thrainer | "memory-size": 128, |
136 | 017160ed | Thomas Thrainer | "nic-count": 1, |
137 | 017160ed | Thomas Thrainer | "spindle-use": 1 |
138 | 017160ed | Thomas Thrainer | }, |
139 | 017160ed | Thomas Thrainer | "vcpu-ratio": 4.0 |
140 | 017160ed | Thomas Thrainer | }, |
141 | 017160ed | Thomas Thrainer | "name": "Group 1", |
142 | 017160ed | Thomas Thrainer | "networks": ["uuid-net-1-1", "uuid-net-1-2"], |
143 | 017160ed | Thomas Thrainer | "tags": []
|
144 | 017160ed | Thomas Thrainer | }, |
145 | 017160ed | Thomas Thrainer | "uuid-group-2": {
|
146 | 017160ed | Thomas Thrainer | "alloc_policy": "preferred", |
147 | 017160ed | Thomas Thrainer | "ipolicy": {
|
148 | 017160ed | Thomas Thrainer | "disk-templates": [
|
149 | 017160ed | Thomas Thrainer | "drbd"
|
150 | 017160ed | Thomas Thrainer | ], |
151 | 017160ed | Thomas Thrainer | "minmax": [
|
152 | 017160ed | Thomas Thrainer | { |
153 | 017160ed | Thomas Thrainer | "max": {
|
154 | 017160ed | Thomas Thrainer | "cpu-count": 2, |
155 | 017160ed | Thomas Thrainer | "disk-count": 8, |
156 | 017160ed | Thomas Thrainer | "disk-size": 2048, |
157 | 017160ed | Thomas Thrainer | "memory-size": 12800, |
158 | 017160ed | Thomas Thrainer | "nic-count": 8, |
159 | 017160ed | Thomas Thrainer | "spindle-use": 8 |
160 | 017160ed | Thomas Thrainer | }, |
161 | 017160ed | Thomas Thrainer | "min": {
|
162 | 017160ed | Thomas Thrainer | "cpu-count": 1, |
163 | 017160ed | Thomas Thrainer | "disk-count": 1, |
164 | 017160ed | Thomas Thrainer | "disk-size": 1024, |
165 | 017160ed | Thomas Thrainer | "memory-size": 128, |
166 | 017160ed | Thomas Thrainer | "nic-count": 1, |
167 | 017160ed | Thomas Thrainer | "spindle-use": 1 |
168 | 017160ed | Thomas Thrainer | } |
169 | 017160ed | Thomas Thrainer | } |
170 | 017160ed | Thomas Thrainer | ], |
171 | 017160ed | Thomas Thrainer | "spindle-ratio": 32.0, |
172 | 017160ed | Thomas Thrainer | "std": {
|
173 | 017160ed | Thomas Thrainer | "cpu-count": 1, |
174 | 017160ed | Thomas Thrainer | "disk-count": 1, |
175 | 017160ed | Thomas Thrainer | "disk-size": 1024, |
176 | 017160ed | Thomas Thrainer | "memory-size": 128, |
177 | 017160ed | Thomas Thrainer | "nic-count": 1, |
178 | 017160ed | Thomas Thrainer | "spindle-use": 1 |
179 | 017160ed | Thomas Thrainer | }, |
180 | 017160ed | Thomas Thrainer | "vcpu-ratio": 4.0 |
181 | 017160ed | Thomas Thrainer | }, |
182 | 017160ed | Thomas Thrainer | "name": "Group 2", |
183 | 017160ed | Thomas Thrainer | "networks": ["uuid-net-2-1", "uuid-net-2-2", "uuid-net-2-3"], |
184 | 017160ed | Thomas Thrainer | "tags": []
|
185 | 017160ed | Thomas Thrainer | } |
186 | 017160ed | Thomas Thrainer | }, |
187 | 017160ed | Thomas Thrainer | "nodes": {
|
188 | 017160ed | Thomas Thrainer | "node1_1": {
|
189 | 017160ed | Thomas Thrainer | "drained": false, |
190 | 017160ed | Thomas Thrainer | "free_disk": 4096, |
191 | 017160ed | Thomas Thrainer | "free_memory": 3840, |
192 | 017160ed | Thomas Thrainer | "group": "uuid-group-1", |
193 | 017160ed | Thomas Thrainer | "ndparams": {
|
194 | 017160ed | Thomas Thrainer | "spindle_count": 1 |
195 | 017160ed | Thomas Thrainer | }, |
196 | 017160ed | Thomas Thrainer | "offline": false, |
197 | 017160ed | Thomas Thrainer | "reserved_memory": 1017, |
198 | 017160ed | Thomas Thrainer | "total_cpus": 4, |
199 | 017160ed | Thomas Thrainer | "total_disk": 7168, |
200 | 017160ed | Thomas Thrainer | "total_memory": 4096 |
201 | 017160ed | Thomas Thrainer | }, |
202 | 017160ed | Thomas Thrainer | "node1_2": {
|
203 | 017160ed | Thomas Thrainer | "drained": false, |
204 | 017160ed | Thomas Thrainer | "free_disk": 4096, |
205 | 017160ed | Thomas Thrainer | "free_memory": 3968, |
206 | 017160ed | Thomas Thrainer | "group": "uuid-group-1", |
207 | 017160ed | Thomas Thrainer | "ndparams": {
|
208 | 017160ed | Thomas Thrainer | "spindle_count": 1 |
209 | 017160ed | Thomas Thrainer | }, |
210 | 017160ed | Thomas Thrainer | "offline": false, |
211 | 017160ed | Thomas Thrainer | "reserved_memory": 1017, |
212 | 017160ed | Thomas Thrainer | "total_cpus": 4, |
213 | 017160ed | Thomas Thrainer | "total_disk": 7168, |
214 | 017160ed | Thomas Thrainer | "total_memory": 32763 |
215 | 017160ed | Thomas Thrainer | }, |
216 | 017160ed | Thomas Thrainer | "node2_1": {
|
217 | 017160ed | Thomas Thrainer | "drained": false, |
218 | 017160ed | Thomas Thrainer | "free_disk": 7168, |
219 | 017160ed | Thomas Thrainer | "free_memory": 4096, |
220 | 017160ed | Thomas Thrainer | "group": "uuid-group-2", |
221 | 017160ed | Thomas Thrainer | "ndparams": {
|
222 | 017160ed | Thomas Thrainer | "spindle_count": 1 |
223 | 017160ed | Thomas Thrainer | }, |
224 | 017160ed | Thomas Thrainer | "offline": false, |
225 | 017160ed | Thomas Thrainer | "reserved_memory": 1017, |
226 | 017160ed | Thomas Thrainer | "total_cpus": 4, |
227 | 017160ed | Thomas Thrainer | "total_disk": 7168, |
228 | 017160ed | Thomas Thrainer | "total_memory": 4096 |
229 | 017160ed | Thomas Thrainer | }, |
230 | 017160ed | Thomas Thrainer | "node2_2": {
|
231 | 017160ed | Thomas Thrainer | "drained": false, |
232 | 017160ed | Thomas Thrainer | "free_disk": 7168, |
233 | 017160ed | Thomas Thrainer | "free_memory": 4096, |
234 | 017160ed | Thomas Thrainer | "group": "uuid-group-2", |
235 | 017160ed | Thomas Thrainer | "ndparams": {
|
236 | 017160ed | Thomas Thrainer | "spindle_count": 1 |
237 | 017160ed | Thomas Thrainer | }, |
238 | 017160ed | Thomas Thrainer | "offline": false, |
239 | 017160ed | Thomas Thrainer | "reserved_memory": 1017, |
240 | 017160ed | Thomas Thrainer | "total_cpus": 4, |
241 | 017160ed | Thomas Thrainer | "total_disk": 7168, |
242 | 017160ed | Thomas Thrainer | "total_memory": 4096 |
243 | 017160ed | Thomas Thrainer | } |
244 | 017160ed | Thomas Thrainer | }, |
245 | 017160ed | Thomas Thrainer | "request": {
|
246 | 017160ed | Thomas Thrainer | "disk_space_total": 3072, |
247 | 017160ed | Thomas Thrainer | "disk_template": "drbd", |
248 | 017160ed | Thomas Thrainer | "disks": [
|
249 | 017160ed | Thomas Thrainer | { |
250 | 017160ed | Thomas Thrainer | "size": 1536 |
251 | 017160ed | Thomas Thrainer | }, |
252 | 017160ed | Thomas Thrainer | { |
253 | 017160ed | Thomas Thrainer | "size": 1536 |
254 | 017160ed | Thomas Thrainer | } |
255 | 017160ed | Thomas Thrainer | ], |
256 | 017160ed | Thomas Thrainer | "memory": 1024, |
257 | 017160ed | Thomas Thrainer | "name": "instance1", |
258 | 017160ed | Thomas Thrainer | "required_nodes": 2, |
259 | 017160ed | Thomas Thrainer | "spindle_use": 2, |
260 | 017160ed | Thomas Thrainer | "nics":[
|
261 | 017160ed | Thomas Thrainer | { |
262 | 017160ed | Thomas Thrainer | "mac":"aa:00:00:85:f3:a7", |
263 | 017160ed | Thomas Thrainer | "network":"uuid-net-1-1", |
264 | 017160ed | Thomas Thrainer | "nicparams":{}
|
265 | 017160ed | Thomas Thrainer | }, |
266 | 017160ed | Thomas Thrainer | { |
267 | 017160ed | Thomas Thrainer | "mac":"aa:00:00:85:f3:a8", |
268 | 017160ed | Thomas Thrainer | "network":"uuid-net-1-2", |
269 | 017160ed | Thomas Thrainer | "nicparams":{}
|
270 | 017160ed | Thomas Thrainer | } |
271 | 017160ed | Thomas Thrainer | ], |
272 | 017160ed | Thomas Thrainer | "tags": [],
|
273 | 017160ed | Thomas Thrainer | "type": "allocate", |
274 | 017160ed | Thomas Thrainer | "vcpus": 1 |
275 | 017160ed | Thomas Thrainer | }, |
276 | 017160ed | Thomas Thrainer | "version": 2 |
277 | 017160ed | Thomas Thrainer | } |