occi-api 4.2.0.beta.15 → 4.2.0.beta.16

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 (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -6
  3. data/lib/occi/api/client/base/stubs.rb +0 -36
  4. data/lib/occi/api/client/client_http.rb +0 -47
  5. data/lib/occi/api/client/http/helpers.rb +0 -2
  6. data/lib/occi/api/dsl.rb +3 -3
  7. data/lib/occi/api/version.rb +1 -1
  8. data/occi-api.gemspec +1 -1
  9. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_compute_resource.yml +840 -0
  10. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_network_resource.yml +848 -0
  11. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_storage_resource.yml +840 -0
  12. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_compute_resource.yml +836 -0
  13. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_network_resource.yml +844 -0
  14. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_storage_resource.yml +836 -0
  15. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_all_available_mixins.yml +647 -0
  16. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_compute_resources.yml +885 -0
  17. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_network_resources.yml +1038 -0
  18. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_os_tpl_mixins.yml +647 -0
  19. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_resource_tpl_mixins.yml +648 -0
  20. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_storage_resources.yml +1144 -0
  21. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/establishes_connection.yml +789 -0
  22. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_all_available_mixins.yml +647 -0
  23. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_compute_resources.yml +836 -0
  24. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_network_resources.yml +842 -0
  25. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_os_tpl_mixins.yml +647 -0
  26. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_resource_tpl_mixins.yml +647 -0
  27. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_storage_resources.yml +846 -0
  28. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/refreshes_its_model.yml +1524 -0
  29. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_compute_resource.yml +846 -0
  30. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_network_resource.yml +840 -0
  31. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_storage_resource.yml +846 -0
  32. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_compute_resource.yml +321 -0
  33. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_network_resource.yml +326 -0
  34. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_storage_resource.yml +321 -0
  35. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_compute_resource.yml +311 -0
  36. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_network_resource.yml +310 -0
  37. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_storage_resource.yml +311 -0
  38. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/refreshes_its_model.yml → using_media_type_text/plain/describes_all_available_mixins.yml} +160 -124
  39. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_compute_resources.yml +752 -0
  40. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_network_resources.yml +977 -0
  41. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_storage_resources.yml +1178 -0
  42. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/establishes_connection.yml +262 -0
  43. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/fails_to_list_mixins_with_only_self_no_related_without_include_self_true.yml +262 -0
  44. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_storage_resources.yml → using_media_type_text/plain/finds_and_describes_scoped_os_tpl_mixin.yml} +196 -104
  45. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_network_resources.yml → using_media_type_text/plain/finds_and_describes_scoped_resource_tpl_mixin.yml} +203 -51
  46. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/finds_and_describes_unscoped_mixin.yml +262 -0
  47. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_identifier.yml +262 -0
  48. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_name.yml +262 -0
  49. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_identifier.yml +262 -0
  50. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_name.yml +262 -0
  51. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_identifier.yml +262 -0
  52. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_name.yml +262 -0
  53. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_type_identifiers.yml +262 -0
  54. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_types.yml +262 -0
  55. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_type_identifiers.yml +262 -0
  56. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_types.yml +262 -0
  57. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_type_identifiers.yml +262 -0
  58. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_types.yml +262 -0
  59. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixins.yml +262 -0
  60. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_type_identifiers.yml +262 -0
  61. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_types.yml +262 -0
  62. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_compute_resources.yml +311 -0
  63. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_including_self.yml +262 -0
  64. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_with_only_self_no_related_.yml +262 -0
  65. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_network_resources.yml +315 -0
  66. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_os_tpl_mixins.yml +262 -0
  67. data/spec/cassettes/Occi_Api_Client_ClientHttp/{using_media_type_text_plain/describes_compute_resources.yml → using_media_type_text/plain/lists_resource_tpl_mixins.yml} +209 -55
  68. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_storage_resources.yml +321 -0
  69. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml +262 -0
  70. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml +262 -0
  71. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/raises_an_error_when_looking_for_a_non-existent_mixin_type.yml +262 -0
  72. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/refreshes_its_model.yml +472 -0
  73. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/returns_nil_when_looking_for_a_non-existent_mixin.yml +262 -0
  74. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/returns_nil_when_looking_for_a_non-existent_mixin_of_a_specific_type.yml +262 -0
  75. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_compute_resource.yml +312 -0
  76. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_network_resource.yml +315 -0
  77. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_storage_resource.yml +312 -0
  78. data/spec/cassettes/Occi_Api_Dsl/_connect/accepts_block_options.yml +261 -0
  79. data/spec/cassettes/Occi_Api_Dsl/_connect/connects_successfully_through_HTTP.yml +259 -0
  80. data/spec/occi/api/client/client_http_spec.rb +253 -99
  81. data/spec/occi/api/dsl_spec.rb +53 -3
  82. data/spec/occi/helpers/helpers_spec.rb +11 -0
  83. data/spec/spec_helper.rb +1 -0
  84. metadata +76 -15
  85. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +0 -266
  86. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +0 -308
  87. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +0 -308
  88. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +0 -310
  89. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/net_http_example_response.yml +0 -266
  90. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/replacements.txt +0 -38
  91. data/spec/occi/api/client/base/stubs_spec.rb +0 -53
@@ -27,8 +27,7 @@ http_interactions:
27
27
  Accept:
28
28
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
29
29
  Set-Cookie:
30
- - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
31
- secure
30
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
32
31
  - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
33
32
  path=/; HttpOnly
34
33
  Content-Length:
@@ -71,8 +70,7 @@ http_interactions:
71
70
  Accept:
72
71
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
73
72
  Set-Cookie:
74
- - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
75
- secure
73
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
76
74
  - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
77
75
  path=/; HttpOnly
78
76
  Content-Length:
@@ -115,8 +113,7 @@ http_interactions:
115
113
  Accept:
116
114
  - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
117
115
  Set-Cookie:
118
- - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
119
- secure
116
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
120
117
  - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
121
118
  path=/; HttpOnly
122
119
  Content-Length:
@@ -265,13 +262,15 @@ http_interactions:
265
262
  recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
266
263
  - request:
267
264
  method: head
268
- uri: https://localhost:3300/
265
+ uri: https://rocci-test:edited@localhost:3300/-/
269
266
  body:
270
267
  encoding: US-ASCII
271
268
  string: ''
272
269
  headers:
273
270
  Accept:
274
- - text/plain,text/occi;q=0.2
271
+ - text/plain,text/occi
272
+ User-Agent:
273
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
275
274
  response:
276
275
  status:
277
276
  code: 200
@@ -280,28 +279,31 @@ http_interactions:
280
279
  Date:
281
280
  - Thu, 01 Jan 1970 00:00:00 GMT
282
281
  Server:
283
- - Apache/2.2.20 (Ubuntu)
284
- X-Powered-By:
285
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
282
+ - Apache/2.2.22 (Debian)
286
283
  X-Frame-Options:
287
- - sameorigin
284
+ - SAMEORIGIN
288
285
  X-Xss-Protection:
289
286
  - 1; mode=block
290
- Accept:
291
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
292
- Set-Cookie:
293
- - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
294
- secure
295
- - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
296
- path=/; HttpOnly
297
- Content-Length:
298
- - '294'
287
+ X-Content-Type-Options:
288
+ - nosniff
289
+ X-Ua-Compatible:
290
+ - chrome=1
291
+ Etag:
292
+ - ! '"9616defa1a3d4c527f131e4b922a4532"'
293
+ Cache-Control:
294
+ - max-age=0, private, must-revalidate
295
+ X-Request-Id:
296
+ - 9393d940-b543-4ddb-a09e-8c9b519f63c9
297
+ X-Runtime:
298
+ - '0.196256'
299
+ X-Powered-By:
300
+ - Phusion Passenger 4.0.29
299
301
  Status:
300
- - '200'
302
+ - 200 OK
301
303
  Vary:
302
304
  - Accept-Encoding
303
305
  Content-Type:
304
- - text/plain;charset=utf-8
306
+ - text/plain; charset=utf-8
305
307
  body:
306
308
  encoding: US-ASCII
307
309
  string: ''
@@ -309,13 +311,15 @@ http_interactions:
309
311
  recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
310
312
  - request:
311
313
  method: get
312
- uri: https://localhost:3300/-/
314
+ uri: https://rocci-test:edited@localhost:3300/-/
313
315
  body:
314
316
  encoding: US-ASCII
315
317
  string: ''
316
318
  headers:
317
319
  Accept:
318
320
  - text/plain,text/occi
321
+ User-Agent:
322
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
319
323
  response:
320
324
  status:
321
325
  code: 200
@@ -324,162 +328,194 @@ http_interactions:
324
328
  Date:
325
329
  - Thu, 01 Jan 1970 00:00:00 GMT
326
330
  Server:
327
- - Apache/2.2.20 (Ubuntu)
328
- X-Powered-By:
329
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
331
+ - Apache/2.2.22 (Debian)
330
332
  X-Frame-Options:
331
- - sameorigin
333
+ - SAMEORIGIN
332
334
  X-Xss-Protection:
333
335
  - 1; mode=block
334
- Accept:
335
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
336
- Set-Cookie:
337
- - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
338
- secure
339
- - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
340
- path=/; HttpOnly
341
- Content-Length:
342
- - '8975'
336
+ X-Content-Type-Options:
337
+ - nosniff
338
+ X-Ua-Compatible:
339
+ - chrome=1
340
+ Etag:
341
+ - ! '"9616defa1a3d4c527f131e4b922a4532"'
342
+ Cache-Control:
343
+ - max-age=0, private, must-revalidate
344
+ X-Request-Id:
345
+ - d41d3f05-9636-4281-a048-aa03c937e679
346
+ X-Runtime:
347
+ - '0.110537'
348
+ X-Powered-By:
349
+ - Phusion Passenger 4.0.29
343
350
  Status:
344
- - '200'
351
+ - 200 OK
345
352
  Vary:
346
353
  - Accept-Encoding
354
+ Transfer-Encoding:
355
+ - chunked
347
356
  Content-Type:
348
- - text/plain;charset=utf-8
357
+ - text/plain; charset=utf-8
349
358
  body:
350
359
  encoding: US-ASCII
351
- string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id
360
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
352
361
  occi.core.title"
353
362
 
354
- 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.summary"
363
+ 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}
364
+ occi.core.title occi.core.summary"
355
365
 
356
- 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.target
357
- occi.core.source"
366
+ 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}
367
+ occi.core.title occi.core.target occi.core.source"
358
368
 
359
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute
360
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture
361
- occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory
362
- occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
369
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
370
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
371
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
372
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
363
373
  http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
364
374
  http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
365
375
 
366
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
367
- Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
368
- occi.storagelink.mountpoint occi.storagelink.state"
376
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
377
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
378
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
379
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
380
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
369
381
 
370
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
371
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
372
- occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
373
- org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
374
- org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
382
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
383
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
384
+ 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
375
385
  http://schemas.ogf.org/occi/infrastructure/network/action#down"
376
386
 
377
- Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
378
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
379
- occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
380
- org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
381
- org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
382
- http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
383
- http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
387
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
388
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
389
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
390
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
391
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
384
392
 
385
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
386
- occi.networkinterface.mac occi.networkinterface.state"
393
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
394
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
395
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
396
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
397
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
387
398
 
388
399
  Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
389
- to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
400
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
390
401
 
391
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
392
- System Template";location="/mixins/os_tpl/"
402
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
403
+ template";location="/mixin/resource_tpl/"
404
+
405
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
406
+ system template";location="/mixin/os_tpl/"
393
407
 
394
408
  Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
395
- Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
396
- occi.network.gateway occi.network.allocation occi.network.state"
409
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
410
+ occi.network.gateway occi.network.allocation"
397
411
 
398
412
  Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
399
- Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
400
- occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
413
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
414
+ occi.networkinterface.gateway occi.networkinterface.allocation"
401
415
 
402
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
403
- Template";location="/mixins/resource_tpl/"
416
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
417
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name
418
+ org.openstack.credentials.publickey.data"
404
419
 
405
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
406
- specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
407
- org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
408
- org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
409
-
410
- Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
411
- specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
412
- org.opennebula.storagelink.driver"
413
-
414
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
415
- specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
416
- org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
417
- org.opennebula.network.ip_start org.opennebula.network.ip_end"
420
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
421
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data"
418
422
 
419
423
  Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
420
- specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
424
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
421
425
  org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
422
- org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
426
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype
427
+ org.opennebula.storage.path"
428
+
429
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
430
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
431
+ org.opennebula.compute.cpu org.opennebula.compute.kernel org.opennebula.compute.initrd
432
+ org.opennebula.compute.root org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader
433
+ org.opennebula.compute.boot"
423
434
 
424
435
  Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
425
- specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
436
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge
426
437
  org.opennebula.networkinterface.script org.opennebula.networkinterface.model
427
438
  org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
428
439
  org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
429
440
  org.opennebula.networkinterface.icmp"
430
441
 
431
- Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
432
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
433
- occi.compute.cores occi.compute.speed occi.compute.memory"
442
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
443
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus
444
+ org.opennebula.storagelink.driver org.opennebula.storagelink.dev_prefix"
434
445
 
435
- Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
436
- Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
437
- occi.compute.cores occi.compute.speed occi.compute.memory"
446
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
447
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
448
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
449
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
438
450
 
439
- Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
440
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
441
- occi.compute.cores occi.compute.speed occi.compute.memory"
451
+ Category: uuid_monitoring_4;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_monitoring_4/"
442
452
 
443
- Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
444
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
445
- occi.compute.cores occi.compute.speed occi.compute.memory"
453
+ Category: uuid_debianvm_5;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="debianvm";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_debianvm_5/"
446
454
 
447
- Category: mytesttemplate;scheme="http://occi.localhost:3300/occi/infrastructure/os_tpl#";class="mixin";title="MyTestTemplate";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/mytesttemplate/"
455
+ Category: uuid_monitoring_hubik_1279;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring-hubik";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_monitoring_hubik_1279/"
448
456
 
449
- Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
450
- Compute instance"
457
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
458
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture{immutable}
459
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
451
460
 
452
- Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop
453
- Compute instance";attributes="method"
461
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
462
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture{immutable}
463
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
454
464
 
455
- Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart
456
- Compute instance";attributes="method"
465
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
466
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
467
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
457
468
 
458
- Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
459
- Compute instance";attributes="method"
469
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
470
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
471
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
460
472
 
461
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
462
- network"
473
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
474
+ compute instance"
463
475
 
464
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
476
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
477
+ compute instance";attributes="method"
478
+
479
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
480
+ compute instance";attributes="method"
481
+
482
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
483
+ compute instance";attributes="method"
484
+
485
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
486
+ storage"
487
+
488
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
489
+ storage"
490
+
491
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
492
+ storage"
493
+
494
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
495
+ storage"
496
+
497
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
498
+ storage";attributes="size{required}"
499
+
500
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
465
501
  network"
466
502
 
467
- Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
468
- Storage"
503
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
504
+ network"
469
505
 
470
- Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate
471
- Storage"
506
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
507
+ networkinterface"
472
508
 
473
- Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup
474
- Storage"
509
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
510
+ networkinterface"
475
511
 
476
- Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot
477
- Storage"
512
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
513
+ storagelink"
478
514
 
479
- Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
480
- Storage";attributes="size"
515
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
516
+ storagelink"
481
517
 
482
518
  '
483
519
  http_version:
484
520
  recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
485
- recorded_with: VCR 2.4.0
521
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,752 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: https://localhost:3300/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain,text/occi;q=0.2
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Thu, 01 Jan 1970 00:00:00 GMT
19
+ Server:
20
+ - Apache/2.2.20 (Ubuntu)
21
+ X-Powered-By:
22
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
23
+ X-Frame-Options:
24
+ - sameorigin
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ Accept:
28
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
29
+ Set-Cookie:
30
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
31
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
32
+ path=/; HttpOnly
33
+ Content-Length:
34
+ - '294'
35
+ Status:
36
+ - '200'
37
+ Vary:
38
+ - Accept-Encoding
39
+ Content-Type:
40
+ - text/plain;charset=utf-8
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ http_version:
45
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
46
+ - request:
47
+ method: head
48
+ uri: https://localhost:3300/
49
+ body:
50
+ encoding: US-ASCII
51
+ string: ''
52
+ headers:
53
+ Accept:
54
+ - text/plain,text/occi
55
+ response:
56
+ status:
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ Date:
61
+ - Thu, 01 Jan 1970 00:00:00 GMT
62
+ Server:
63
+ - Apache/2.2.20 (Ubuntu)
64
+ X-Powered-By:
65
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
66
+ X-Frame-Options:
67
+ - sameorigin
68
+ X-Xss-Protection:
69
+ - 1; mode=block
70
+ Accept:
71
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
72
+ Set-Cookie:
73
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
74
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
75
+ path=/; HttpOnly
76
+ Content-Length:
77
+ - '294'
78
+ Status:
79
+ - '200'
80
+ Vary:
81
+ - Accept-Encoding
82
+ Content-Type:
83
+ - text/plain;charset=utf-8
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://localhost:3300/-/
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers:
96
+ Accept:
97
+ - text/plain,text/occi
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ Date:
104
+ - Thu, 01 Jan 1970 00:00:00 GMT
105
+ Server:
106
+ - Apache/2.2.20 (Ubuntu)
107
+ X-Powered-By:
108
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
109
+ X-Frame-Options:
110
+ - sameorigin
111
+ X-Xss-Protection:
112
+ - 1; mode=block
113
+ Accept:
114
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
115
+ Set-Cookie:
116
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
117
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
118
+ path=/; HttpOnly
119
+ Content-Length:
120
+ - '8975'
121
+ Status:
122
+ - '200'
123
+ Vary:
124
+ - Accept-Encoding
125
+ Content-Type:
126
+ - text/plain;charset=utf-8
127
+ body:
128
+ encoding: US-ASCII
129
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id
130
+ occi.core.title"
131
+
132
+ 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.summary"
133
+
134
+ 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.target
135
+ occi.core.source"
136
+
137
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute
138
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture
139
+ occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory
140
+ occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
141
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
142
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
143
+
144
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
145
+ Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
146
+ occi.storagelink.mountpoint occi.storagelink.state"
147
+
148
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
149
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
150
+ occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
151
+ org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
152
+ org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
153
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
154
+
155
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
156
+ Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
157
+ occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
158
+ org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
159
+ org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
160
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
161
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
162
+
163
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
164
+ occi.networkinterface.mac occi.networkinterface.state"
165
+
166
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
167
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
168
+
169
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
170
+ System Template";location="/mixins/os_tpl/"
171
+
172
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
173
+ Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
174
+ occi.network.gateway occi.network.allocation occi.network.state"
175
+
176
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
177
+ Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
178
+ occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
179
+
180
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
181
+ Template";location="/mixins/resource_tpl/"
182
+
183
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
184
+ specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
185
+ org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
186
+ org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
187
+
188
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
189
+ specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
190
+ org.opennebula.storagelink.driver"
191
+
192
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
193
+ specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
194
+ org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
195
+ org.opennebula.network.ip_start org.opennebula.network.ip_end"
196
+
197
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
198
+ specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
199
+ org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
200
+ org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
201
+
202
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
203
+ specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
204
+ org.opennebula.networkinterface.script org.opennebula.networkinterface.model
205
+ org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
206
+ org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
207
+ org.opennebula.networkinterface.icmp"
208
+
209
+ Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
210
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
211
+ occi.compute.cores occi.compute.speed occi.compute.memory"
212
+
213
+ Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
214
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
215
+ occi.compute.cores occi.compute.speed occi.compute.memory"
216
+
217
+ Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
218
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
219
+ occi.compute.cores occi.compute.speed occi.compute.memory"
220
+
221
+ Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
222
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
223
+ occi.compute.cores occi.compute.speed occi.compute.memory"
224
+
225
+ Category: mytesttemplate;scheme="http://occi.localhost:3300/occi/infrastructure/os_tpl#";class="mixin";title="MyTestTemplate";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/mytesttemplate/"
226
+
227
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
228
+ Compute instance"
229
+
230
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop
231
+ Compute instance";attributes="method"
232
+
233
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart
234
+ Compute instance";attributes="method"
235
+
236
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
237
+ Compute instance";attributes="method"
238
+
239
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
240
+ network"
241
+
242
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
243
+ network"
244
+
245
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
246
+ Storage"
247
+
248
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate
249
+ Storage"
250
+
251
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup
252
+ Storage"
253
+
254
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot
255
+ Storage"
256
+
257
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
258
+ Storage";attributes="size"
259
+
260
+ '
261
+ http_version:
262
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
263
+ - request:
264
+ method: get
265
+ uri: https://localhost:3300/compute/
266
+ body:
267
+ encoding: US-ASCII
268
+ string: ''
269
+ headers:
270
+ Accept:
271
+ - text/uri-list
272
+ response:
273
+ status:
274
+ code: 200
275
+ message: OK
276
+ headers:
277
+ Date:
278
+ - Thu, 01 Jan 1970 00:00:00 GMT
279
+ Server:
280
+ - Apache/2.2.20 (Ubuntu)
281
+ X-Powered-By:
282
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
283
+ X-Frame-Options:
284
+ - sameorigin
285
+ X-Xss-Protection:
286
+ - 1; mode=block
287
+ Accept:
288
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
289
+ Set-Cookie:
290
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
291
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
292
+ path=/; HttpOnly
293
+ Content-Length:
294
+ - '79'
295
+ Status:
296
+ - '200'
297
+ Content-Type:
298
+ - text/uri-list;charset=utf-8
299
+ body:
300
+ encoding: US-ASCII
301
+ string: https://localhost:3300/compute/c62fce01-0d8e-510c-ba07-973b0d6d5034
302
+ http_version:
303
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
304
+ - request:
305
+ method: get
306
+ uri: https://localhost:3300/compute/c62fce01-0d8e-510c-ba07-973b0d6d5034
307
+ body:
308
+ encoding: US-ASCII
309
+ string: ''
310
+ headers:
311
+ Accept:
312
+ - text/plain, text/occi
313
+ response:
314
+ status:
315
+ code: 200
316
+ message: OK
317
+ headers:
318
+ Date:
319
+ - Thu, 01 Jan 1970 00:00:00 GMT
320
+ Server:
321
+ - Apache/2.2.20 (Ubuntu)
322
+ X-Powered-By:
323
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
324
+ X-Frame-Options:
325
+ - sameorigin
326
+ X-Xss-Protection:
327
+ - 1; mode=block
328
+ Accept:
329
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
330
+ Set-Cookie:
331
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
332
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
333
+ path=/; HttpOnly
334
+ Content-Length:
335
+ - '1347'
336
+ Status:
337
+ - '200'
338
+ Content-Type:
339
+ - text/plain;charset=utf-8
340
+ body:
341
+ encoding: US-ASCII
342
+ string: ! 'Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
343
+
344
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
345
+
346
+ X-OCCI-Attribute: occi.core.id="c62fce01-0d8e-510c-ba07-973b0d6d5034"
347
+
348
+ X-OCCI-Attribute: occi.core.title="one-3"
349
+
350
+ X-OCCI-Attribute: occi.compute.cores=2
351
+
352
+ X-OCCI-Attribute: occi.compute.memory=1.564
353
+
354
+ X-OCCI-Attribute: occi.compute.state="inactive"
355
+
356
+ X-OCCI-Attribute: org.opennebula.compute.cpu=2.0
357
+
358
+ Link: </storage/32fc6c92-88aa-54dc-b814-be0df741278e>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/45623db2-5ed5-520f-b944-6584d4c2d1fb";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="45623db2-5ed5-520f-b944-6584d4c2d1fb"
359
+ occi.core.title="ttylinux - kvm" occi.storagelink.deviceid="xvda" occi.storagelink.state="inactive"
360
+
361
+ Link: </network/1e8e0d63-e3c8-5be7-8a46-f4df226bca01>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/networkinterface/48a954f4-b621-599f-945e-7db94b918286";category="http://schemas.ogf.org/occi/infrastructure#networkinterface";occi.core.id="48a954f4-b621-599f-945e-7db94b918286"
362
+ occi.core.title="private" occi.networkinterface.address="192.168.121.1" occi.networkinterface.mac="02:00:c0:a8:79:01"
363
+ occi.networkinterface.state="inactive" org.opennebula.networkinterface.bridge="virbr0"'
364
+ http_version:
365
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
366
+ - request:
367
+ method: head
368
+ uri: https://rocci-test:edited@localhost:3300/-/
369
+ body:
370
+ encoding: US-ASCII
371
+ string: ''
372
+ headers:
373
+ Accept:
374
+ - text/plain,text/occi
375
+ User-Agent:
376
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
377
+ response:
378
+ status:
379
+ code: 200
380
+ message: OK
381
+ headers:
382
+ Date:
383
+ - Thu, 01 Jan 1970 00:00:00 GMT
384
+ Server:
385
+ - Apache/2.2.22 (Debian)
386
+ X-Frame-Options:
387
+ - SAMEORIGIN
388
+ X-Xss-Protection:
389
+ - 1; mode=block
390
+ X-Content-Type-Options:
391
+ - nosniff
392
+ X-Ua-Compatible:
393
+ - chrome=1
394
+ Etag:
395
+ - ! '"4ca185da501239625a99fad36f211cb7"'
396
+ Cache-Control:
397
+ - max-age=0, private, must-revalidate
398
+ X-Request-Id:
399
+ - d91644ea-a293-480e-a382-805c32d6ac9d
400
+ X-Runtime:
401
+ - '0.182758'
402
+ X-Powered-By:
403
+ - Phusion Passenger 4.0.29
404
+ Status:
405
+ - 200 OK
406
+ Vary:
407
+ - Accept-Encoding
408
+ Content-Type:
409
+ - text/plain; charset=utf-8
410
+ body:
411
+ encoding: US-ASCII
412
+ string: ''
413
+ http_version:
414
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
415
+ - request:
416
+ method: get
417
+ uri: https://rocci-test:edited@localhost:3300/-/
418
+ body:
419
+ encoding: US-ASCII
420
+ string: ''
421
+ headers:
422
+ Accept:
423
+ - text/plain,text/occi
424
+ User-Agent:
425
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
426
+ response:
427
+ status:
428
+ code: 200
429
+ message: OK
430
+ headers:
431
+ Date:
432
+ - Thu, 01 Jan 1970 00:00:00 GMT
433
+ Server:
434
+ - Apache/2.2.22 (Debian)
435
+ X-Frame-Options:
436
+ - SAMEORIGIN
437
+ X-Xss-Protection:
438
+ - 1; mode=block
439
+ X-Content-Type-Options:
440
+ - nosniff
441
+ X-Ua-Compatible:
442
+ - chrome=1
443
+ Etag:
444
+ - ! '"4ca185da501239625a99fad36f211cb7"'
445
+ Cache-Control:
446
+ - max-age=0, private, must-revalidate
447
+ X-Request-Id:
448
+ - 59d873d2-7e81-4570-ae1c-a73bf7257d4c
449
+ X-Runtime:
450
+ - '0.166880'
451
+ X-Powered-By:
452
+ - Phusion Passenger 4.0.29
453
+ Status:
454
+ - 200 OK
455
+ Vary:
456
+ - Accept-Encoding
457
+ Transfer-Encoding:
458
+ - chunked
459
+ Content-Type:
460
+ - text/plain; charset=utf-8
461
+ body:
462
+ encoding: US-ASCII
463
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
464
+ occi.core.title"
465
+
466
+ 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}
467
+ occi.core.title occi.core.summary"
468
+
469
+ 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}
470
+ occi.core.title occi.core.target occi.core.source"
471
+
472
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
473
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
474
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
475
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
476
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
477
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
478
+
479
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
480
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
481
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
482
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
483
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
484
+
485
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
486
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
487
+ 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
488
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
489
+
490
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
491
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
492
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
493
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
494
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
495
+
496
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
497
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
498
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
499
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
500
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
501
+
502
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
503
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
504
+
505
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
506
+ template";location="/mixin/resource_tpl/"
507
+
508
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
509
+ system template";location="/mixin/os_tpl/"
510
+
511
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
512
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
513
+ occi.network.gateway occi.network.allocation"
514
+
515
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
516
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
517
+ occi.networkinterface.gateway occi.networkinterface.allocation"
518
+
519
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
520
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
521
+ org.openstack.credentials.publickey.data{immutable}"
522
+
523
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
524
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
525
+
526
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
527
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
528
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
529
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
530
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
531
+ org.opennebula.storage.path{immutable}"
532
+
533
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
534
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
535
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
536
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
537
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
538
+ org.opennebula.compute.boot{immutable}"
539
+
540
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
541
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
542
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
543
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
544
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
545
+ org.opennebula.networkinterface.icmp{immutable}"
546
+
547
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
548
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
549
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
550
+
551
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
552
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
553
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
554
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
555
+ org.opennebula.network.ip_end{immutable}"
556
+
557
+ Category: uuid_monitoring_4;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_monitoring_4/"
558
+
559
+ Category: uuid_debianvm_5;scheme="http://localhost/occi/infrastructure/os_tpl#";class="mixin";title="debianvm";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixin/os_tpl/uuid_debianvm_5/"
560
+
561
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
562
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
563
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
564
+
565
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
566
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
567
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
568
+
569
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
570
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
571
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
572
+
573
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
574
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
575
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
576
+
577
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
578
+ compute instance"
579
+
580
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
581
+ compute instance";attributes="method"
582
+
583
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
584
+ compute instance";attributes="method"
585
+
586
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
587
+ compute instance";attributes="method"
588
+
589
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
590
+ storage"
591
+
592
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
593
+ storage"
594
+
595
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
596
+ storage"
597
+
598
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
599
+ storage"
600
+
601
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
602
+ storage";attributes="size{required}"
603
+
604
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
605
+ network"
606
+
607
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
608
+ network"
609
+
610
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
611
+ networkinterface"
612
+
613
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
614
+ networkinterface"
615
+
616
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
617
+ storagelink"
618
+
619
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
620
+ storagelink"
621
+
622
+ '
623
+ http_version:
624
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
625
+ - request:
626
+ method: get
627
+ uri: https://rocci-test:edited@localhost:3300/compute/
628
+ body:
629
+ encoding: US-ASCII
630
+ string: ''
631
+ headers:
632
+ Accept:
633
+ - text/uri-list
634
+ User-Agent:
635
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
636
+ response:
637
+ status:
638
+ code: 200
639
+ message: OK
640
+ headers:
641
+ Date:
642
+ - Thu, 01 Jan 1970 00:00:00 GMT
643
+ Server:
644
+ - Apache/2.2.22 (Debian)
645
+ X-Frame-Options:
646
+ - SAMEORIGIN
647
+ X-Xss-Protection:
648
+ - 1; mode=block
649
+ X-Content-Type-Options:
650
+ - nosniff
651
+ X-Ua-Compatible:
652
+ - chrome=1
653
+ Etag:
654
+ - ! '"c3a2b5a7088954c3fa6040c7160e422e"'
655
+ Cache-Control:
656
+ - max-age=0, private, must-revalidate
657
+ X-Request-Id:
658
+ - b782ff61-6920-4b89-bcb3-6413f7a026ce
659
+ X-Runtime:
660
+ - '0.108029'
661
+ X-Powered-By:
662
+ - Phusion Passenger 4.0.29
663
+ Status:
664
+ - 200 OK
665
+ Transfer-Encoding:
666
+ - chunked
667
+ Content-Type:
668
+ - text/uri-list; charset=utf-8
669
+ body:
670
+ encoding: US-ASCII
671
+ string: https://localhost:3300/compute/4011
672
+ http_version:
673
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
674
+ - request:
675
+ method: get
676
+ uri: https://rocci-test:edited@localhost:3300/compute/4011
677
+ body:
678
+ encoding: US-ASCII
679
+ string: ''
680
+ headers:
681
+ Accept:
682
+ - text/plain,text/occi
683
+ User-Agent:
684
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
685
+ response:
686
+ status:
687
+ code: 200
688
+ message: OK
689
+ headers:
690
+ Date:
691
+ - Thu, 01 Jan 1970 00:00:00 GMT
692
+ Server:
693
+ - Apache/2.2.22 (Debian)
694
+ X-Frame-Options:
695
+ - SAMEORIGIN
696
+ X-Xss-Protection:
697
+ - 1; mode=block
698
+ X-Content-Type-Options:
699
+ - nosniff
700
+ X-Ua-Compatible:
701
+ - chrome=1
702
+ Etag:
703
+ - ! '"c88862907b3b6f5fd2672793378bfea4"'
704
+ Cache-Control:
705
+ - max-age=0, private, must-revalidate
706
+ X-Request-Id:
707
+ - 30ba98f6-90d5-4559-be61-31ce6f0236e5
708
+ X-Runtime:
709
+ - '0.132670'
710
+ X-Powered-By:
711
+ - Phusion Passenger 4.0.29
712
+ Status:
713
+ - 200 OK
714
+ Vary:
715
+ - Accept-Encoding
716
+ Transfer-Encoding:
717
+ - chunked
718
+ Content-Type:
719
+ - text/plain; charset=utf-8
720
+ body:
721
+ encoding: US-ASCII
722
+ string: ! 'Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
723
+
724
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
725
+
726
+ X-OCCI-Attribute: occi.core.id="4011"
727
+
728
+ X-OCCI-Attribute: occi.core.title="DebianTest"
729
+
730
+ X-OCCI-Attribute: occi.compute.cores=2
731
+
732
+ X-OCCI-Attribute: occi.compute.memory=4.0
733
+
734
+ X-OCCI-Attribute: occi.compute.speed=1.0
735
+
736
+ X-OCCI-Attribute: occi.compute.state="waiting"
737
+
738
+ X-OCCI-Attribute: org.opennebula.compute.id="4011"
739
+
740
+ X-OCCI-Attribute: org.opennebula.compute.cpu=2.0
741
+
742
+ X-OCCI-Attribute: org.opennebula.compute.bootloader="pygrub"
743
+
744
+ Link: </storage/8>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/link/storagelink/compute_4011_disk_0";category="http://schemas.ogf.org/occi/infrastructure#storagelink
745
+ http://opennebula.org/occi/infrastructure#storagelink";occi.core.id="compute_4011_disk_0";occi.core.title="debian6";occi.core.target="/storage/8";occi.core.source="/compute/4011";occi.storagelink.deviceid="/dev/xvda";occi.storagelink.state="inactive";org.opennebula.storagelink.bus="ide";org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
746
+
747
+ Link: </network/1>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/link/networkinterface/compute_4011_nic_0";category="http://schemas.ogf.org/occi/infrastructure#networkinterface
748
+ http://schemas.ogf.org/occi/infrastructure/networkinterface#ipnetworkinterface
749
+ http://opennebula.org/occi/infrastructure#networkinterface";occi.core.id="compute_4011_nic_0";occi.core.title="public";occi.core.target="/network/1";occi.core.source="/compute/4011";occi.networkinterface.interface="eth0";occi.networkinterface.mac="02:00:93:fb:09:df";occi.networkinterface.state="inactive";occi.networkinterface.address="147.251.9.223";org.opennebula.networkinterface.bridge="xenbr0";org.opennebula.networkinterface.white_ports_tcp="22";org.opennebula.networkinterface.white_ports_udp="67;68"'
750
+ http_version:
751
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
752
+ recorded_with: VCR 2.8.0