opennebula_nagios_probe 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +5 -0
  3. data/.rubocop.yml +6 -0
  4. data/.travis.yml +10 -0
  5. data/Gemfile +18 -0
  6. data/Gemfile.lock +87 -0
  7. data/README.md +36 -0
  8. data/Rakefile +65 -0
  9. data/bin/check_opennebula +70 -0
  10. data/conf/opennebula.cfg.erb +32 -0
  11. data/lib/opennebula_nagios_probe.rb +29 -0
  12. data/lib/probe/occi/client.rb +50 -0
  13. data/lib/probe/occi/nocci/compute.rb +20 -0
  14. data/lib/probe/occi/nocci/network.rb +21 -0
  15. data/lib/probe/occi/nocci/resource.rb +96 -0
  16. data/lib/probe/occi/nocci/storage.rb +22 -0
  17. data/lib/probe/occi/rocci/compute.rb +70 -0
  18. data/lib/probe/occi/rocci/network.rb +21 -0
  19. data/lib/probe/occi/rocci/resource.rb +62 -0
  20. data/lib/probe/occi/rocci/storage.rb +22 -0
  21. data/lib/probe/opennebula_econe_probe.rb +108 -0
  22. data/lib/probe/opennebula_occi_probe.rb +126 -0
  23. data/lib/probe/opennebula_oned_probe.rb +101 -0
  24. data/lib/probe/opennebula_probe.rb +97 -0
  25. data/lib/probe/optparse_nagios_probe.rb +174 -0
  26. data/opennebula_nagios_probe.gemspec +32 -0
  27. data/spec/probe/fixtures/cassettes/econe/econe_critical_existing_resources.yml +75 -0
  28. data/spec/probe/fixtures/cassettes/econe/econe_critical_no_resources.yml +75 -0
  29. data/spec/probe/fixtures/cassettes/econe/econe_critical_nonexisting_resources.yml +75 -0
  30. data/spec/probe/fixtures/cassettes/econe/econe_warning_existing_resources.yml +75 -0
  31. data/spec/probe/fixtures/cassettes/econe/econe_warning_nonexisting_resources.yml +40 -0
  32. data/spec/probe/fixtures/cassettes/occi/occi_critical_existing_resources.yml +143 -0
  33. data/spec/probe/fixtures/cassettes/occi/occi_critical_no_resources.yml +143 -0
  34. data/spec/probe/fixtures/cassettes/occi/occi_critical_nonexisting_resources.yml +143 -0
  35. data/spec/probe/fixtures/cassettes/occi/occi_warning_existing_resources.yml +230 -0
  36. data/spec/probe/fixtures/cassettes/occi/occi_warning_nonexisting_resources.yml +49 -0
  37. data/spec/probe/fixtures/cassettes/oned/oned_critical_existing_resources.yml +131 -0
  38. data/spec/probe/fixtures/cassettes/oned/oned_critical_no_resources.yml +131 -0
  39. data/spec/probe/fixtures/cassettes/oned/oned_critical_nonexisting_resources.yml +131 -0
  40. data/spec/probe/fixtures/cassettes/oned/oned_warning_existing_resources.yml +671 -0
  41. data/spec/probe/fixtures/cassettes/oned/oned_warning_nonexisting_resources.yml +130 -0
  42. data/spec/probe/fixtures/cassettes/rocci/rocci_critical_existing_resources.yml +1220 -0
  43. data/spec/probe/fixtures/cassettes/rocci/rocci_critical_no_resources.yml +1220 -0
  44. data/spec/probe/fixtures/cassettes/rocci/rocci_critical_nonexisting_resources.yml +1220 -0
  45. data/spec/probe/fixtures/cassettes/rocci/rocci_warning_existing_resources.yml +817 -0
  46. data/spec/probe/fixtures/cassettes/rocci/rocci_warning_no_resources.yml +591 -0
  47. data/spec/probe/fixtures/cassettes/rocci/rocci_warning_nonexisting_resources.yml +640 -0
  48. data/spec/probe/opennebula_econe_probe_spec.rb +150 -0
  49. data/spec/probe/opennebula_occi_probe_spec.rb +149 -0
  50. data/spec/probe/opennebula_oned_probe_spec.rb +154 -0
  51. data/spec/probe/opennebula_rocci_probe_spec.rb +156 -0
  52. metadata +280 -0
@@ -0,0 +1,1220 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain,text/occi;q=0.2
12
+ User-Agent:
13
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Date:
20
+ - Fri, 07 Feb 2014 11:17:55 GMT
21
+ Server:
22
+ - Apache/2.2.22 (Debian)
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ X-Ua-Compatible:
30
+ - chrome=1
31
+ Etag:
32
+ - ! '"4ec52cefab19100696695417e2b6c101"'
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - d8bb7fdf-da71-455e-92bb-24eb9271bdae
37
+ X-Runtime:
38
+ - '0.212302'
39
+ X-Powered-By:
40
+ - Phusion Passenger 4.0.29
41
+ Status:
42
+ - 200 OK
43
+ Vary:
44
+ - Accept-Encoding
45
+ Content-Type:
46
+ - text/plain; charset=utf-8
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Fri, 07 Feb 2014 12:17:58 GMT
52
+ - request:
53
+ method: head
54
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - text/plain,text/occi;q=0.2
61
+ User-Agent:
62
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
63
+ response:
64
+ status:
65
+ code: 406
66
+ message: Not Acceptable
67
+ headers:
68
+ Date:
69
+ - Fri, 07 Feb 2014 11:17:55 GMT
70
+ Server:
71
+ - Apache/2.2.22 (Debian)
72
+ X-Request-Id:
73
+ - 1d6485b2-cdc1-4c56-9684-ffc0364ea21f
74
+ X-Runtime:
75
+ - '0.111010'
76
+ X-Powered-By:
77
+ - Phusion Passenger 4.0.29
78
+ Status:
79
+ - 406 Not Acceptable
80
+ Vary:
81
+ - Accept-Encoding
82
+ Content-Type:
83
+ - text/html; charset=utf-8
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Fri, 07 Feb 2014 12:17:58 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers:
96
+ Accept:
97
+ - text/plain,text/occi;q=0.2
98
+ User-Agent:
99
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ Date:
106
+ - Fri, 07 Feb 2014 11:17:56 GMT
107
+ Server:
108
+ - Apache/2.2.22 (Debian)
109
+ X-Frame-Options:
110
+ - SAMEORIGIN
111
+ X-Xss-Protection:
112
+ - 1; mode=block
113
+ X-Content-Type-Options:
114
+ - nosniff
115
+ X-Ua-Compatible:
116
+ - chrome=1
117
+ Etag:
118
+ - ! '"4ec52cefab19100696695417e2b6c101"'
119
+ Cache-Control:
120
+ - max-age=0, private, must-revalidate
121
+ X-Request-Id:
122
+ - 401dd82e-9205-40d5-b4ca-2ae56da073cd
123
+ X-Runtime:
124
+ - '0.143701'
125
+ X-Powered-By:
126
+ - Phusion Passenger 4.0.29
127
+ Status:
128
+ - 200 OK
129
+ Vary:
130
+ - Accept-Encoding
131
+ Transfer-Encoding:
132
+ - chunked
133
+ Content-Type:
134
+ - text/plain; charset=utf-8
135
+ body:
136
+ encoding: US-ASCII
137
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
138
+ occi.core.title"
139
+
140
+ Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.id{immutable}
141
+ occi.core.title occi.core.summary"
142
+
143
+ Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{immutable}
144
+ occi.core.title occi.core.target occi.core.source"
145
+
146
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
147
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
148
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
149
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
150
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
151
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
152
+
153
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
154
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
155
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
156
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
157
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
158
+
159
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
160
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
161
+ occi.core.title occi.core.summary occi.network.vlan occi.network.label occi.network.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
162
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
163
+
164
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
165
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
166
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
167
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
168
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
169
+
170
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
171
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
172
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
173
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
174
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
175
+
176
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
177
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
178
+
179
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
180
+ template";location="/mixin/resource_tpl/"
181
+
182
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
183
+ system template";location="/mixin/os_tpl/"
184
+
185
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
186
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
187
+ occi.network.gateway occi.network.allocation"
188
+
189
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
190
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
191
+ occi.networkinterface.gateway occi.networkinterface.allocation"
192
+
193
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
194
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
195
+ org.openstack.credentials.publickey.data{immutable}"
196
+
197
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
198
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
199
+
200
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
201
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
202
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
203
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
204
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
205
+ org.opennebula.storage.path{immutable}"
206
+
207
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
208
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
209
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
210
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
211
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
212
+ org.opennebula.compute.boot{immutable}"
213
+
214
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
215
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
216
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
217
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
218
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
219
+ org.opennebula.networkinterface.icmp{immutable}"
220
+
221
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
222
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
223
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
224
+
225
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
226
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
227
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
228
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
229
+ org.opennebula.network.ip_end{immutable}"
230
+
231
+
232
+
233
+ Category: medium;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
234
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
235
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
236
+
237
+ Category: small;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Small
238
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
239
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
240
+
241
+ Category: extra_large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
242
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
243
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
244
+
245
+ Category: large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Large
246
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
247
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
248
+
249
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
250
+ compute instance"
251
+
252
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
253
+ compute instance";attributes="method"
254
+
255
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
256
+ compute instance";attributes="method"
257
+
258
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
259
+ compute instance";attributes="method"
260
+
261
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
262
+ storage"
263
+
264
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
265
+ storage"
266
+
267
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
268
+ storage"
269
+
270
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
271
+ storage"
272
+
273
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
274
+ storage";attributes="size{required}"
275
+
276
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
277
+ network"
278
+
279
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
280
+ network"
281
+
282
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
283
+ networkinterface"
284
+
285
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
286
+ networkinterface"
287
+
288
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
289
+ storagelink"
290
+
291
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
292
+ storagelink"
293
+
294
+ '
295
+ http_version:
296
+ recorded_at: Fri, 07 Feb 2014 12:17:59 GMT
297
+ - request:
298
+ method: get
299
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/network/
300
+ body:
301
+ encoding: US-ASCII
302
+ string: ''
303
+ headers:
304
+ Accept:
305
+ - text/uri-list
306
+ User-Agent:
307
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
308
+ response:
309
+ status:
310
+ code: 200
311
+ message: OK
312
+ headers:
313
+ Date:
314
+ - Fri, 07 Feb 2014 11:17:56 GMT
315
+ Server:
316
+ - Apache/2.2.22 (Debian)
317
+ X-Frame-Options:
318
+ - SAMEORIGIN
319
+ X-Xss-Protection:
320
+ - 1; mode=block
321
+ X-Content-Type-Options:
322
+ - nosniff
323
+ X-Ua-Compatible:
324
+ - chrome=1
325
+ Etag:
326
+ - ! '"c9ec20109c11d095e0c6d1b9ecb76970"'
327
+ Cache-Control:
328
+ - max-age=0, private, must-revalidate
329
+ X-Request-Id:
330
+ - 29586aec-42ef-4763-ae2e-c09bb4e4fe5e
331
+ X-Runtime:
332
+ - '0.022631'
333
+ X-Powered-By:
334
+ - Phusion Passenger 4.0.29
335
+ Status:
336
+ - 200 OK
337
+ Transfer-Encoding:
338
+ - chunked
339
+ Content-Type:
340
+ - text/uri-list; charset=utf-8
341
+ body:
342
+ encoding: US-ASCII
343
+ string: ! 'https://localhost:2345/network/1
344
+
345
+ https://localhost:2345/network/2
346
+
347
+ https://localhost:2345/network/12
348
+
349
+ https://localhost:2345/network/61'
350
+ http_version:
351
+ recorded_at: Fri, 07 Feb 2014 12:17:59 GMT
352
+ - request:
353
+ method: get
354
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/network/1
355
+ body:
356
+ encoding: US-ASCII
357
+ string: ''
358
+ headers:
359
+ Accept:
360
+ - text/plain,text/occi;q=0.2
361
+ User-Agent:
362
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
363
+ response:
364
+ status:
365
+ code: 200
366
+ message: OK
367
+ headers:
368
+ Date:
369
+ - Fri, 07 Feb 2014 11:17:56 GMT
370
+ Server:
371
+ - Apache/2.2.22 (Debian)
372
+ X-Frame-Options:
373
+ - SAMEORIGIN
374
+ X-Xss-Protection:
375
+ - 1; mode=block
376
+ X-Content-Type-Options:
377
+ - nosniff
378
+ X-Ua-Compatible:
379
+ - chrome=1
380
+ Etag:
381
+ - ! '"520008eea1804480ce7aa5de376f469a"'
382
+ Cache-Control:
383
+ - max-age=0, private, must-revalidate
384
+ X-Request-Id:
385
+ - 3c23b14c-3247-453b-a269-9736132e0743
386
+ X-Runtime:
387
+ - '0.027994'
388
+ X-Powered-By:
389
+ - Phusion Passenger 4.0.29
390
+ Status:
391
+ - 200 OK
392
+ Vary:
393
+ - Accept-Encoding
394
+ Transfer-Encoding:
395
+ - chunked
396
+ Content-Type:
397
+ - text/plain; charset=utf-8
398
+ body:
399
+ encoding: US-ASCII
400
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
401
+
402
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
403
+
404
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
405
+
406
+ X-OCCI-Attribute: occi.core.id="1"
407
+
408
+ X-OCCI-Attribute: occi.core.title="public"
409
+
410
+ X-OCCI-Attribute: occi.network.vlan=0
411
+
412
+ X-OCCI-Attribute: occi.network.state="active"
413
+
414
+ X-OCCI-Attribute: occi.network.allocation="static"
415
+
416
+ X-OCCI-Attribute: org.opennebula.network.id="1"
417
+
418
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
419
+
420
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"'
421
+ http_version:
422
+ recorded_at: Fri, 07 Feb 2014 12:17:59 GMT
423
+ - request:
424
+ method: get
425
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/network/2
426
+ body:
427
+ encoding: US-ASCII
428
+ string: ''
429
+ headers:
430
+ Accept:
431
+ - text/plain,text/occi;q=0.2
432
+ User-Agent:
433
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
434
+ response:
435
+ status:
436
+ code: 200
437
+ message: OK
438
+ headers:
439
+ Date:
440
+ - Fri, 07 Feb 2014 11:17:57 GMT
441
+ Server:
442
+ - Apache/2.2.22 (Debian)
443
+ X-Frame-Options:
444
+ - SAMEORIGIN
445
+ X-Xss-Protection:
446
+ - 1; mode=block
447
+ X-Content-Type-Options:
448
+ - nosniff
449
+ X-Ua-Compatible:
450
+ - chrome=1
451
+ Etag:
452
+ - ! '"32fef72715c995b921f78decfe79cad0"'
453
+ Cache-Control:
454
+ - max-age=0, private, must-revalidate
455
+ X-Request-Id:
456
+ - cfd7d41c-b3ec-45e0-a95a-3187f87ee409
457
+ X-Runtime:
458
+ - '0.098537'
459
+ X-Powered-By:
460
+ - Phusion Passenger 4.0.29
461
+ Status:
462
+ - 200 OK
463
+ Vary:
464
+ - Accept-Encoding
465
+ Transfer-Encoding:
466
+ - chunked
467
+ Content-Type:
468
+ - text/plain; charset=utf-8
469
+ body:
470
+ encoding: US-ASCII
471
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
472
+
473
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
474
+
475
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
476
+
477
+ X-OCCI-Attribute: occi.core.id="2"
478
+
479
+ X-OCCI-Attribute: occi.core.title="monitoring"
480
+
481
+ X-OCCI-Attribute: occi.network.vlan=0
482
+
483
+ X-OCCI-Attribute: occi.network.state="active"
484
+
485
+ X-OCCI-Attribute: occi.network.allocation="dynamic"
486
+
487
+ X-OCCI-Attribute: org.opennebula.network.id="2"
488
+
489
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
490
+
491
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
492
+
493
+ X-OCCI-Attribute: org.opennebula.network.ip_start="192.168.254.1"
494
+
495
+ X-OCCI-Attribute: org.opennebula.network.ip_end="192.168.254.254"'
496
+ http_version:
497
+ recorded_at: Fri, 07 Feb 2014 12:18:00 GMT
498
+ - request:
499
+ method: get
500
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/network/12
501
+ body:
502
+ encoding: US-ASCII
503
+ string: ''
504
+ headers:
505
+ Accept:
506
+ - text/plain,text/occi;q=0.2
507
+ User-Agent:
508
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
509
+ response:
510
+ status:
511
+ code: 200
512
+ message: OK
513
+ headers:
514
+ Date:
515
+ - Fri, 07 Feb 2014 11:17:57 GMT
516
+ Server:
517
+ - Apache/2.2.22 (Debian)
518
+ X-Frame-Options:
519
+ - SAMEORIGIN
520
+ X-Xss-Protection:
521
+ - 1; mode=block
522
+ X-Content-Type-Options:
523
+ - nosniff
524
+ X-Ua-Compatible:
525
+ - chrome=1
526
+ Etag:
527
+ - ! '"8f7f1abfa2344149a2b39fdd40307f1b"'
528
+ Cache-Control:
529
+ - max-age=0, private, must-revalidate
530
+ X-Request-Id:
531
+ - 982ba495-0934-446d-9e75-c65b4226001d
532
+ X-Runtime:
533
+ - '0.045669'
534
+ X-Powered-By:
535
+ - Phusion Passenger 4.0.29
536
+ Status:
537
+ - 200 OK
538
+ Vary:
539
+ - Accept-Encoding
540
+ Transfer-Encoding:
541
+ - chunked
542
+ Content-Type:
543
+ - text/plain; charset=utf-8
544
+ body:
545
+ encoding: US-ASCII
546
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
547
+
548
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
549
+
550
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
551
+
552
+ X-OCCI-Attribute: occi.core.id="12"
553
+
554
+ X-OCCI-Attribute: occi.core.title="private"
555
+
556
+ X-OCCI-Attribute: occi.network.vlan=0
557
+
558
+ X-OCCI-Attribute: occi.network.state="active"
559
+
560
+ X-OCCI-Attribute: occi.network.allocation="static"
561
+
562
+ X-OCCI-Attribute: org.opennebula.network.id="12"
563
+
564
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
565
+
566
+ X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
567
+
568
+ X-OCCI-Attribute: org.opennebula.network.ip_start="10.4.0.1"
569
+
570
+ X-OCCI-Attribute: org.opennebula.network.ip_end="10.4.0.254"'
571
+ http_version:
572
+ recorded_at: Fri, 07 Feb 2014 12:18:00 GMT
573
+ - request:
574
+ method: get
575
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/network/61
576
+ body:
577
+ encoding: US-ASCII
578
+ string: ''
579
+ headers:
580
+ Accept:
581
+ - text/plain,text/occi;q=0.2
582
+ User-Agent:
583
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
584
+ response:
585
+ status:
586
+ code: 200
587
+ message: OK
588
+ headers:
589
+ Date:
590
+ - Fri, 07 Feb 2014 11:17:57 GMT
591
+ Server:
592
+ - Apache/2.2.22 (Debian)
593
+ X-Frame-Options:
594
+ - SAMEORIGIN
595
+ X-Xss-Protection:
596
+ - 1; mode=block
597
+ X-Content-Type-Options:
598
+ - nosniff
599
+ X-Ua-Compatible:
600
+ - chrome=1
601
+ Etag:
602
+ - ! '"196edf4c90de839d1e3b438ccf34dede"'
603
+ Cache-Control:
604
+ - max-age=0, private, must-revalidate
605
+ X-Request-Id:
606
+ - c7cee908-228c-46d0-adfc-d6a0968aa292
607
+ X-Runtime:
608
+ - '0.030479'
609
+ X-Powered-By:
610
+ - Phusion Passenger 4.0.29
611
+ Status:
612
+ - 200 OK
613
+ Vary:
614
+ - Accept-Encoding
615
+ Transfer-Encoding:
616
+ - chunked
617
+ Content-Type:
618
+ - text/plain; charset=utf-8
619
+ body:
620
+ encoding: US-ASCII
621
+ string: ! 'Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
622
+
623
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
624
+
625
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin"
626
+
627
+ X-OCCI-Attribute: occi.core.id="61"
628
+
629
+ X-OCCI-Attribute: occi.core.title="hubik-dev"
630
+
631
+ X-OCCI-Attribute: occi.network.vlan=0
632
+
633
+ X-OCCI-Attribute: occi.network.state="active"
634
+
635
+ X-OCCI-Attribute: occi.network.address="10.0.0.0/24"
636
+
637
+ X-OCCI-Attribute: occi.network.allocation="dynamic"
638
+
639
+ X-OCCI-Attribute: org.opennebula.network.id="61"
640
+
641
+ X-OCCI-Attribute: org.opennebula.network.vlan="NO"
642
+
643
+ X-OCCI-Attribute: org.opennebula.network.bridge="br0"
644
+
645
+ X-OCCI-Attribute: org.opennebula.network.ip_start="10.0.0.1"
646
+
647
+ X-OCCI-Attribute: org.opennebula.network.ip_end="10.0.0.254"'
648
+ http_version:
649
+ recorded_at: Fri, 07 Feb 2014 12:18:00 GMT
650
+ - request:
651
+ method: head
652
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
653
+ body:
654
+ encoding: US-ASCII
655
+ string: ''
656
+ headers:
657
+ Accept:
658
+ - text/plain,text/occi;q=0.2
659
+ User-Agent:
660
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
661
+ response:
662
+ status:
663
+ code: 200
664
+ message: OK
665
+ headers:
666
+ Date:
667
+ - Fri, 07 Feb 2014 11:17:57 GMT
668
+ Server:
669
+ - Apache/2.2.22 (Debian)
670
+ X-Frame-Options:
671
+ - SAMEORIGIN
672
+ X-Xss-Protection:
673
+ - 1; mode=block
674
+ X-Content-Type-Options:
675
+ - nosniff
676
+ X-Ua-Compatible:
677
+ - chrome=1
678
+ Etag:
679
+ - ! '"4ec52cefab19100696695417e2b6c101"'
680
+ Cache-Control:
681
+ - max-age=0, private, must-revalidate
682
+ X-Request-Id:
683
+ - 906d6c53-3665-448e-8849-394c0d663056
684
+ X-Runtime:
685
+ - '0.111582'
686
+ X-Powered-By:
687
+ - Phusion Passenger 4.0.29
688
+ Status:
689
+ - 200 OK
690
+ Vary:
691
+ - Accept-Encoding
692
+ Content-Type:
693
+ - text/plain; charset=utf-8
694
+ body:
695
+ encoding: US-ASCII
696
+ string: ''
697
+ http_version:
698
+ recorded_at: Fri, 07 Feb 2014 12:18:00 GMT
699
+ - request:
700
+ method: head
701
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/
702
+ body:
703
+ encoding: US-ASCII
704
+ string: ''
705
+ headers:
706
+ Accept:
707
+ - text/plain,text/occi;q=0.2
708
+ User-Agent:
709
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
710
+ response:
711
+ status:
712
+ code: 406
713
+ message: Not Acceptable
714
+ headers:
715
+ Date:
716
+ - Fri, 07 Feb 2014 11:17:58 GMT
717
+ Server:
718
+ - Apache/2.2.22 (Debian)
719
+ X-Request-Id:
720
+ - 1dbd6689-af6c-4f9b-87c3-2ac53038c6b6
721
+ X-Runtime:
722
+ - '0.160723'
723
+ X-Powered-By:
724
+ - Phusion Passenger 4.0.29
725
+ Status:
726
+ - 406 Not Acceptable
727
+ Vary:
728
+ - Accept-Encoding
729
+ Content-Type:
730
+ - text/html; charset=utf-8
731
+ body:
732
+ encoding: US-ASCII
733
+ string: ''
734
+ http_version:
735
+ recorded_at: Fri, 07 Feb 2014 12:18:01 GMT
736
+ - request:
737
+ method: get
738
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/-/
739
+ body:
740
+ encoding: US-ASCII
741
+ string: ''
742
+ headers:
743
+ Accept:
744
+ - text/plain,text/occi;q=0.2
745
+ User-Agent:
746
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
747
+ response:
748
+ status:
749
+ code: 200
750
+ message: OK
751
+ headers:
752
+ Date:
753
+ - Fri, 07 Feb 2014 11:17:58 GMT
754
+ Server:
755
+ - Apache/2.2.22 (Debian)
756
+ X-Frame-Options:
757
+ - SAMEORIGIN
758
+ X-Xss-Protection:
759
+ - 1; mode=block
760
+ X-Content-Type-Options:
761
+ - nosniff
762
+ X-Ua-Compatible:
763
+ - chrome=1
764
+ Etag:
765
+ - ! '"4ec52cefab19100696695417e2b6c101"'
766
+ Cache-Control:
767
+ - max-age=0, private, must-revalidate
768
+ X-Request-Id:
769
+ - f95d4073-3671-4610-8fed-acbd4114e6a3
770
+ X-Runtime:
771
+ - '0.100314'
772
+ X-Powered-By:
773
+ - Phusion Passenger 4.0.29
774
+ Status:
775
+ - 200 OK
776
+ Vary:
777
+ - Accept-Encoding
778
+ Transfer-Encoding:
779
+ - chunked
780
+ Content-Type:
781
+ - text/plain; charset=utf-8
782
+ body:
783
+ encoding: US-ASCII
784
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
785
+ occi.core.title"
786
+
787
+ Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.id{immutable}
788
+ occi.core.title occi.core.summary"
789
+
790
+ Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{immutable}
791
+ occi.core.title occi.core.target occi.core.source"
792
+
793
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
794
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
795
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
796
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
797
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
798
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
799
+
800
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
801
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
802
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
803
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
804
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
805
+
806
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
807
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
808
+ occi.core.title occi.core.summary occi.network.vlan occi.network.label occi.network.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
809
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
810
+
811
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
812
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
813
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
814
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
815
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
816
+
817
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
818
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
819
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
820
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
821
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
822
+
823
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
824
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
825
+
826
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
827
+ template";location="/mixin/resource_tpl/"
828
+
829
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
830
+ system template";location="/mixin/os_tpl/"
831
+
832
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
833
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
834
+ occi.network.gateway occi.network.allocation"
835
+
836
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
837
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
838
+ occi.networkinterface.gateway occi.networkinterface.allocation"
839
+
840
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
841
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
842
+ org.openstack.credentials.publickey.data{immutable}"
843
+
844
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
845
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
846
+
847
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
848
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
849
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
850
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
851
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
852
+ org.opennebula.storage.path{immutable}"
853
+
854
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
855
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
856
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
857
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
858
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
859
+ org.opennebula.compute.boot{immutable}"
860
+
861
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
862
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
863
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
864
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
865
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
866
+ org.opennebula.networkinterface.icmp{immutable}"
867
+
868
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
869
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
870
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
871
+
872
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
873
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
874
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
875
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
876
+ org.opennebula.network.ip_end{immutable}"
877
+
878
+
879
+
880
+ Category: medium;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
881
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
882
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
883
+
884
+ Category: small;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Small
885
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
886
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
887
+
888
+ Category: extra_large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
889
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
890
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
891
+
892
+ Category: large;scheme="http://sitespecific.cesnet.cz/occi/infrastructure/resource_tpl#";class="mixin";title="Large
893
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
894
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
895
+
896
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
897
+ compute instance"
898
+
899
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
900
+ compute instance";attributes="method"
901
+
902
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
903
+ compute instance";attributes="method"
904
+
905
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
906
+ compute instance";attributes="method"
907
+
908
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
909
+ storage"
910
+
911
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
912
+ storage"
913
+
914
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
915
+ storage"
916
+
917
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
918
+ storage"
919
+
920
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
921
+ storage";attributes="size{required}"
922
+
923
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
924
+ network"
925
+
926
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
927
+ network"
928
+
929
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
930
+ networkinterface"
931
+
932
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
933
+ networkinterface"
934
+
935
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
936
+ storagelink"
937
+
938
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
939
+ storagelink"
940
+
941
+ '
942
+ http_version:
943
+ recorded_at: Fri, 07 Feb 2014 12:18:01 GMT
944
+ - request:
945
+ method: get
946
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/storage/
947
+ body:
948
+ encoding: US-ASCII
949
+ string: ''
950
+ headers:
951
+ Accept:
952
+ - text/uri-list
953
+ User-Agent:
954
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
955
+ response:
956
+ status:
957
+ code: 200
958
+ message: OK
959
+ headers:
960
+ Date:
961
+ - Fri, 07 Feb 2014 11:18:04 GMT
962
+ Server:
963
+ - Apache/2.2.22 (Debian)
964
+ X-Frame-Options:
965
+ - SAMEORIGIN
966
+ X-Xss-Protection:
967
+ - 1; mode=block
968
+ X-Content-Type-Options:
969
+ - nosniff
970
+ X-Ua-Compatible:
971
+ - chrome=1
972
+ Etag:
973
+ - ! '"c70502de8d3a67ecd7a9b33185a91d9d"'
974
+ Cache-Control:
975
+ - max-age=0, private, must-revalidate
976
+ X-Request-Id:
977
+ - b712291d-e88e-43a2-ae42-6f00243bc52b
978
+ X-Runtime:
979
+ - '0.099076'
980
+ X-Powered-By:
981
+ - Phusion Passenger 4.0.29
982
+ Status:
983
+ - 200 OK
984
+ Transfer-Encoding:
985
+ - chunked
986
+ Content-Type:
987
+ - text/uri-list; charset=utf-8
988
+ body:
989
+ encoding: US-ASCII
990
+ string: ! 'https://localhost:2345/storage/4
991
+
992
+ https://localhost:2345/storage/8
993
+
994
+ https://localhost:2345/storage/129'
995
+ http_version:
996
+ recorded_at: Fri, 07 Feb 2014 12:18:07 GMT
997
+ - request:
998
+ method: get
999
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/storage/4
1000
+ body:
1001
+ encoding: US-ASCII
1002
+ string: ''
1003
+ headers:
1004
+ Accept:
1005
+ - text/plain,text/occi;q=0.2
1006
+ User-Agent:
1007
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
1008
+ response:
1009
+ status:
1010
+ code: 200
1011
+ message: OK
1012
+ headers:
1013
+ Date:
1014
+ - Fri, 07 Feb 2014 11:18:04 GMT
1015
+ Server:
1016
+ - Apache/2.2.22 (Debian)
1017
+ X-Frame-Options:
1018
+ - SAMEORIGIN
1019
+ X-Xss-Protection:
1020
+ - 1; mode=block
1021
+ X-Content-Type-Options:
1022
+ - nosniff
1023
+ X-Ua-Compatible:
1024
+ - chrome=1
1025
+ Etag:
1026
+ - ! '"5e002c85e2d10453d5740016a886acc8"'
1027
+ Cache-Control:
1028
+ - max-age=0, private, must-revalidate
1029
+ X-Request-Id:
1030
+ - daee2584-9561-4a6b-a8fa-3ca7ca0c86f0
1031
+ X-Runtime:
1032
+ - '0.023023'
1033
+ X-Powered-By:
1034
+ - Phusion Passenger 4.0.29
1035
+ Status:
1036
+ - 200 OK
1037
+ Vary:
1038
+ - Accept-Encoding
1039
+ Transfer-Encoding:
1040
+ - chunked
1041
+ Content-Type:
1042
+ - text/plain; charset=utf-8
1043
+ body:
1044
+ encoding: US-ASCII
1045
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1046
+
1047
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1048
+
1049
+ X-OCCI-Attribute: occi.core.id="4"
1050
+
1051
+ X-OCCI-Attribute: occi.core.title="monitoring"
1052
+
1053
+ X-OCCI-Attribute: occi.core.summary="Small image for monitoring purposes"
1054
+
1055
+ X-OCCI-Attribute: occi.storage.size=0.103515625
1056
+
1057
+ X-OCCI-Attribute: occi.storage.state="online"
1058
+
1059
+ X-OCCI-Attribute: org.opennebula.storage.id="4"
1060
+
1061
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1062
+
1063
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
1064
+
1065
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
1066
+
1067
+ X-OCCI-Attribute: org.opennebula.storage.bus="IDE"
1068
+
1069
+ Link: </storage/4?action=offline>;rel="http://schemas.ogf.org/occi/infrastructure/storage/action#offline"
1070
+
1071
+ Link: </storage/4?action=backup>;rel="http://schemas.ogf.org/occi/infrastructure/storage/action#backup"'
1072
+ http_version:
1073
+ recorded_at: Fri, 07 Feb 2014 12:18:07 GMT
1074
+ - request:
1075
+ method: get
1076
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/storage/8
1077
+ body:
1078
+ encoding: US-ASCII
1079
+ string: ''
1080
+ headers:
1081
+ Accept:
1082
+ - text/plain,text/occi;q=0.2
1083
+ User-Agent:
1084
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
1085
+ response:
1086
+ status:
1087
+ code: 200
1088
+ message: OK
1089
+ headers:
1090
+ Date:
1091
+ - Fri, 07 Feb 2014 11:18:05 GMT
1092
+ Server:
1093
+ - Apache/2.2.22 (Debian)
1094
+ X-Frame-Options:
1095
+ - SAMEORIGIN
1096
+ X-Xss-Protection:
1097
+ - 1; mode=block
1098
+ X-Content-Type-Options:
1099
+ - nosniff
1100
+ X-Ua-Compatible:
1101
+ - chrome=1
1102
+ Etag:
1103
+ - ! '"ef296b358506bce0e02b9990a5d7a948"'
1104
+ Cache-Control:
1105
+ - max-age=0, private, must-revalidate
1106
+ X-Request-Id:
1107
+ - a6115cb3-cb2e-4406-b6f4-39354a2c1d37
1108
+ X-Runtime:
1109
+ - '0.103037'
1110
+ X-Powered-By:
1111
+ - Phusion Passenger 4.0.29
1112
+ Status:
1113
+ - 200 OK
1114
+ Vary:
1115
+ - Accept-Encoding
1116
+ Transfer-Encoding:
1117
+ - chunked
1118
+ Content-Type:
1119
+ - text/plain; charset=utf-8
1120
+ body:
1121
+ encoding: US-ASCII
1122
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1123
+
1124
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1125
+
1126
+ X-OCCI-Attribute: occi.core.id="8"
1127
+
1128
+ X-OCCI-Attribute: occi.core.title="debian6"
1129
+
1130
+ X-OCCI-Attribute: occi.core.summary="Clean Debian6 (Squeeze) x64 image"
1131
+
1132
+ X-OCCI-Attribute: occi.storage.size=8.0
1133
+
1134
+ X-OCCI-Attribute: occi.storage.state="online"
1135
+
1136
+ X-OCCI-Attribute: org.opennebula.storage.id="8"
1137
+
1138
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1139
+
1140
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
1141
+
1142
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
1143
+
1144
+ X-OCCI-Attribute: org.opennebula.storage.bus="IDE"'
1145
+ http_version:
1146
+ recorded_at: Fri, 07 Feb 2014 12:18:08 GMT
1147
+ - request:
1148
+ method: get
1149
+ uri: https://nagios-probes-test:nagios-probes-pass@localhost:2345/storage/129
1150
+ body:
1151
+ encoding: US-ASCII
1152
+ string: ''
1153
+ headers:
1154
+ Accept:
1155
+ - text/plain,text/occi;q=0.2
1156
+ User-Agent:
1157
+ - rOCCI-core/4.2.7 rOCCI-api/4.2.0.beta.14 OCCI/1.1 ruby-x86_64-linux/1.9.3p448
1158
+ response:
1159
+ status:
1160
+ code: 200
1161
+ message: OK
1162
+ headers:
1163
+ Date:
1164
+ - Fri, 07 Feb 2014 11:18:05 GMT
1165
+ Server:
1166
+ - Apache/2.2.22 (Debian)
1167
+ X-Frame-Options:
1168
+ - SAMEORIGIN
1169
+ X-Xss-Protection:
1170
+ - 1; mode=block
1171
+ X-Content-Type-Options:
1172
+ - nosniff
1173
+ X-Ua-Compatible:
1174
+ - chrome=1
1175
+ Etag:
1176
+ - ! '"5fa00a8cbe81678018dba179a17945ac"'
1177
+ Cache-Control:
1178
+ - max-age=0, private, must-revalidate
1179
+ X-Request-Id:
1180
+ - f9d8201d-e48b-4b53-bc1d-f477aca6008a
1181
+ X-Runtime:
1182
+ - '0.027558'
1183
+ X-Powered-By:
1184
+ - Phusion Passenger 4.0.29
1185
+ Status:
1186
+ - 200 OK
1187
+ Vary:
1188
+ - Accept-Encoding
1189
+ Transfer-Encoding:
1190
+ - chunked
1191
+ Content-Type:
1192
+ - text/plain; charset=utf-8
1193
+ body:
1194
+ encoding: US-ASCII
1195
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1196
+
1197
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1198
+
1199
+ X-OCCI-Attribute: occi.core.id="129"
1200
+
1201
+ X-OCCI-Attribute: occi.core.title="CERIT-SC-Debian-6.0-0002.cerit-sc-cloud"
1202
+
1203
+ X-OCCI-Attribute: occi.core.summary="CERIT-SC Debian 6.0 for OpenNebula"
1204
+
1205
+ X-OCCI-Attribute: occi.storage.size=0.404296875
1206
+
1207
+ X-OCCI-Attribute: occi.storage.state="online"
1208
+
1209
+ X-OCCI-Attribute: org.opennebula.storage.id="129"
1210
+
1211
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1212
+
1213
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
1214
+
1215
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="vd"
1216
+
1217
+ X-OCCI-Attribute: org.opennebula.storage.driver="qcow2"'
1218
+ http_version:
1219
+ recorded_at: Fri, 07 Feb 2014 12:18:08 GMT
1220
+ recorded_with: VCR 2.8.0