occi-api 4.2.0.beta.15 → 4.2.0.beta.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -6
- data/lib/occi/api/client/base/stubs.rb +0 -36
- data/lib/occi/api/client/client_http.rb +0 -47
- data/lib/occi/api/client/http/helpers.rb +0 -2
- data/lib/occi/api/dsl.rb +3 -3
- data/lib/occi/api/version.rb +1 -1
- data/occi-api.gemspec +1 -1
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_compute_resource.yml +840 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_network_resource.yml +848 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/creates_a_new_storage_resource.yml +840 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_compute_resource.yml +836 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_network_resource.yml +844 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/deletes_a_storage_resource.yml +836 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_all_available_mixins.yml +647 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_compute_resources.yml +885 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_network_resources.yml +1038 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_os_tpl_mixins.yml +647 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_resource_tpl_mixins.yml +648 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/describes_storage_resources.yml +1144 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/establishes_connection.yml +789 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_all_available_mixins.yml +647 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_compute_resources.yml +836 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_network_resources.yml +842 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_os_tpl_mixins.yml +647 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_resource_tpl_mixins.yml +647 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/lists_storage_resources.yml +846 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/refreshes_its_model.yml +1524 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_compute_resource.yml +846 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_network_resource.yml +840 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_application/occi_json/triggers_an_action_on_a_storage_resource.yml +846 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_compute_resource.yml +321 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_network_resource.yml +326 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/creates_a_new_storage_resource.yml +321 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_compute_resource.yml +311 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_network_resource.yml +310 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/deletes_a_storage_resource.yml +311 -0
- 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
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_compute_resources.yml +752 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_network_resources.yml +977 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/describes_storage_resources.yml +1178 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/establishes_connection.yml +262 -0
- 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
- 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
- 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
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/finds_and_describes_unscoped_mixin.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_identifier.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_compute_resource_using_type_name.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_identifier.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_network_resource_using_type_name.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_identifier.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/instantiates_a_storage_resource_using_type_name.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_type_identifiers.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_entity_types.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_type_identifiers.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_link_types.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_type_identifiers.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixin_types.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_mixins.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_type_identifiers.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_all_available_resource_types.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_compute_resources.yml +311 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_including_self.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_mixins_with_only_self_no_related_.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_network_resources.yml +315 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_os_tpl_mixins.yml +262 -0
- 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
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/lists_storage_resources.yml +321 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml +262 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml +262 -0
- 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
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/refreshes_its_model.yml +472 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/returns_nil_when_looking_for_a_non-existent_mixin.yml +262 -0
- 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
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_compute_resource.yml +312 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_network_resource.yml +315 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text/plain/triggers_an_action_on_a_storage_resource.yml +312 -0
- data/spec/cassettes/Occi_Api_Dsl/_connect/accepts_block_options.yml +261 -0
- data/spec/cassettes/Occi_Api_Dsl/_connect/connects_successfully_through_HTTP.yml +259 -0
- data/spec/occi/api/client/client_http_spec.rb +253 -99
- data/spec/occi/api/dsl_spec.rb +53 -3
- data/spec/occi/helpers/helpers_spec.rb +11 -0
- data/spec/spec_helper.rb +1 -0
- metadata +76 -15
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +0 -266
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +0 -308
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +0 -308
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +0 -310
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/net_http_example_response.yml +0 -266
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/replacements.txt +0 -38
- 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:
|
@@ -264,14 +261,16 @@ http_interactions:
|
|
264
261
|
http_version:
|
265
262
|
recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
|
266
263
|
- request:
|
267
|
-
method:
|
268
|
-
uri: https://localhost:3300
|
264
|
+
method: head
|
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/
|
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,42 +279,47 @@ http_interactions:
|
|
280
279
|
Date:
|
281
280
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
282
281
|
Server:
|
283
|
-
- Apache/2.2.
|
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
|
-
-
|
284
|
+
- SAMEORIGIN
|
288
285
|
X-Xss-Protection:
|
289
286
|
- 1; mode=block
|
290
|
-
|
291
|
-
-
|
292
|
-
|
293
|
-
-
|
294
|
-
|
295
|
-
-
|
296
|
-
|
297
|
-
|
298
|
-
-
|
287
|
+
X-Content-Type-Options:
|
288
|
+
- nosniff
|
289
|
+
X-Ua-Compatible:
|
290
|
+
- chrome=1
|
291
|
+
Etag:
|
292
|
+
- ! '"4ca185da501239625a99fad36f211cb7"'
|
293
|
+
Cache-Control:
|
294
|
+
- max-age=0, private, must-revalidate
|
295
|
+
X-Request-Id:
|
296
|
+
- 81ad6fd8-d019-4ef1-8b2e-c76c1fdac6eb
|
297
|
+
X-Runtime:
|
298
|
+
- '0.204751'
|
299
|
+
X-Powered-By:
|
300
|
+
- Phusion Passenger 4.0.29
|
299
301
|
Status:
|
300
|
-
-
|
302
|
+
- 200 OK
|
303
|
+
Vary:
|
304
|
+
- Accept-Encoding
|
301
305
|
Content-Type:
|
302
|
-
- text/
|
306
|
+
- text/plain; charset=utf-8
|
303
307
|
body:
|
304
308
|
encoding: US-ASCII
|
305
|
-
string:
|
306
|
-
|
307
|
-
https://localhost:3300/storage/5c1a7099-859e-5c3d-9386-740edbb610b8'
|
309
|
+
string: ''
|
308
310
|
http_version:
|
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,107 +328,195 @@ http_interactions:
|
|
324
328
|
Date:
|
325
329
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
326
330
|
Server:
|
327
|
-
- Apache/2.2.
|
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
|
-
-
|
333
|
+
- SAMEORIGIN
|
332
334
|
X-Xss-Protection:
|
333
335
|
- 1; mode=block
|
334
|
-
|
335
|
-
-
|
336
|
-
|
337
|
-
-
|
338
|
-
|
339
|
-
-
|
340
|
-
|
341
|
-
|
342
|
-
-
|
336
|
+
X-Content-Type-Options:
|
337
|
+
- nosniff
|
338
|
+
X-Ua-Compatible:
|
339
|
+
- chrome=1
|
340
|
+
Etag:
|
341
|
+
- ! '"4ca185da501239625a99fad36f211cb7"'
|
342
|
+
Cache-Control:
|
343
|
+
- max-age=0, private, must-revalidate
|
344
|
+
X-Request-Id:
|
345
|
+
- 12f7b690-0c5d-4424-9dc8-e14a2594999d
|
346
|
+
X-Runtime:
|
347
|
+
- '0.161325'
|
348
|
+
X-Powered-By:
|
349
|
+
- Phusion Passenger 4.0.29
|
343
350
|
Status:
|
344
|
-
-
|
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:
|
360
|
+
string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
|
361
|
+
occi.core.title"
|
352
362
|
|
353
|
-
Category:
|
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"
|
354
365
|
|
355
|
-
|
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"
|
356
368
|
|
357
|
-
|
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
|
373
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
|
374
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
|
358
375
|
|
359
|
-
|
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"
|
360
381
|
|
361
|
-
|
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
|
385
|
+
http://schemas.ogf.org/occi/infrastructure/network/action#down"
|
362
386
|
|
363
|
-
|
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"
|
364
392
|
|
365
|
-
|
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"
|
366
398
|
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
headers:
|
384
|
-
Date:
|
385
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
386
|
-
Server:
|
387
|
-
- Apache/2.2.20 (Ubuntu)
|
388
|
-
X-Powered-By:
|
389
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.12
|
390
|
-
X-Frame-Options:
|
391
|
-
- sameorigin
|
392
|
-
X-Xss-Protection:
|
393
|
-
- 1; mode=block
|
394
|
-
Accept:
|
395
|
-
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
396
|
-
Set-Cookie:
|
397
|
-
- GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/;
|
398
|
-
secure
|
399
|
-
- rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
|
400
|
-
path=/; HttpOnly
|
401
|
-
Content-Length:
|
402
|
-
- '501'
|
403
|
-
Status:
|
404
|
-
- '200'
|
405
|
-
Vary:
|
406
|
-
- Accept-Encoding
|
407
|
-
Content-Type:
|
408
|
-
- text/plain;charset=utf-8
|
409
|
-
body:
|
410
|
-
encoding: US-ASCII
|
411
|
-
string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
|
399
|
+
Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
|
400
|
+
to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
|
401
|
+
|
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/"
|
407
|
+
|
408
|
+
Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
|
409
|
+
network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
|
410
|
+
occi.network.gateway occi.network.allocation"
|
411
|
+
|
412
|
+
Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
|
413
|
+
network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
|
414
|
+
occi.networkinterface.gateway occi.networkinterface.allocation"
|
412
415
|
|
413
|
-
Category:
|
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{immutable}
|
418
|
+
org.openstack.credentials.publickey.data{immutable}"
|
414
419
|
|
415
|
-
|
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{immutable}"
|
416
422
|
|
417
|
-
|
423
|
+
Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
424
|
+
specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
|
425
|
+
org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
|
426
|
+
org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
|
427
|
+
org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
|
428
|
+
org.opennebula.storage.path{immutable}"
|
429
|
+
|
430
|
+
Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
431
|
+
specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
|
432
|
+
org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
|
433
|
+
org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
|
434
|
+
org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
|
435
|
+
org.opennebula.compute.boot{immutable}"
|
436
|
+
|
437
|
+
Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
438
|
+
specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
|
439
|
+
org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
|
440
|
+
org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
|
441
|
+
org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
|
442
|
+
org.opennebula.networkinterface.icmp{immutable}"
|
443
|
+
|
444
|
+
Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
445
|
+
specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
|
446
|
+
org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
|
447
|
+
|
448
|
+
Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
449
|
+
specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
|
450
|
+
org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
|
451
|
+
org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
|
452
|
+
org.opennebula.network.ip_end{immutable}"
|
453
|
+
|
454
|
+
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/"
|
455
|
+
|
456
|
+
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/"
|
457
|
+
|
458
|
+
Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
|
459
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
|
460
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
461
|
+
|
462
|
+
Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
|
463
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
|
464
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
465
|
+
|
466
|
+
Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
|
467
|
+
Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
|
468
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
469
|
+
|
470
|
+
Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
|
471
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
|
472
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
473
|
+
|
474
|
+
Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
|
475
|
+
compute instance"
|
476
|
+
|
477
|
+
Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
|
478
|
+
compute instance";attributes="method"
|
479
|
+
|
480
|
+
Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
|
481
|
+
compute instance";attributes="method"
|
482
|
+
|
483
|
+
Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
|
484
|
+
compute instance";attributes="method"
|
485
|
+
|
486
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
|
487
|
+
storage"
|
488
|
+
|
489
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
|
490
|
+
storage"
|
491
|
+
|
492
|
+
Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
|
493
|
+
storage"
|
494
|
+
|
495
|
+
Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
|
496
|
+
storage"
|
497
|
+
|
498
|
+
Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
|
499
|
+
storage";attributes="size{required}"
|
500
|
+
|
501
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
|
502
|
+
network"
|
503
|
+
|
504
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
|
505
|
+
network"
|
418
506
|
|
419
|
-
|
507
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
|
508
|
+
networkinterface"
|
420
509
|
|
421
|
-
|
510
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
|
511
|
+
networkinterface"
|
422
512
|
|
423
|
-
|
513
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
|
514
|
+
storagelink"
|
424
515
|
|
425
|
-
|
516
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
|
517
|
+
storagelink"
|
426
518
|
|
427
519
|
'
|
428
520
|
http_version:
|
429
521
|
recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
|
430
|
-
recorded_with: VCR 2.
|
522
|
+
recorded_with: VCR 2.8.0
|
@@ -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:
|
@@ -264,14 +261,16 @@ http_interactions:
|
|
264
261
|
http_version:
|
265
262
|
recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
|
266
263
|
- request:
|
267
|
-
method:
|
268
|
-
uri: https://localhost:3300
|
264
|
+
method: head
|
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/
|
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,40 +279,47 @@ http_interactions:
|
|
280
279
|
Date:
|
281
280
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
282
281
|
Server:
|
283
|
-
- Apache/2.2.
|
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
|
-
-
|
284
|
+
- SAMEORIGIN
|
288
285
|
X-Xss-Protection:
|
289
286
|
- 1; mode=block
|
290
|
-
|
291
|
-
-
|
292
|
-
|
293
|
-
-
|
294
|
-
|
295
|
-
-
|
296
|
-
|
297
|
-
|
298
|
-
-
|
287
|
+
X-Content-Type-Options:
|
288
|
+
- nosniff
|
289
|
+
X-Ua-Compatible:
|
290
|
+
- chrome=1
|
291
|
+
Etag:
|
292
|
+
- ! '"4ca185da501239625a99fad36f211cb7"'
|
293
|
+
Cache-Control:
|
294
|
+
- max-age=0, private, must-revalidate
|
295
|
+
X-Request-Id:
|
296
|
+
- cc34cb52-3f44-485c-8796-bb94f169c35d
|
297
|
+
X-Runtime:
|
298
|
+
- '0.172816'
|
299
|
+
X-Powered-By:
|
300
|
+
- Phusion Passenger 4.0.29
|
299
301
|
Status:
|
300
|
-
-
|
302
|
+
- 200 OK
|
303
|
+
Vary:
|
304
|
+
- Accept-Encoding
|
301
305
|
Content-Type:
|
302
|
-
- text/
|
306
|
+
- text/plain; charset=utf-8
|
303
307
|
body:
|
304
308
|
encoding: US-ASCII
|
305
|
-
string:
|
309
|
+
string: ''
|
306
310
|
http_version:
|
307
311
|
recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
|
308
312
|
- request:
|
309
313
|
method: get
|
310
|
-
uri: https://localhost:3300
|
314
|
+
uri: https://rocci-test:edited@localhost:3300/-/
|
311
315
|
body:
|
312
316
|
encoding: US-ASCII
|
313
317
|
string: ''
|
314
318
|
headers:
|
315
319
|
Accept:
|
316
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
|
317
323
|
response:
|
318
324
|
status:
|
319
325
|
code: 200
|
@@ -322,49 +328,195 @@ http_interactions:
|
|
322
328
|
Date:
|
323
329
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
324
330
|
Server:
|
325
|
-
- Apache/2.2.
|
326
|
-
X-Powered-By:
|
327
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.12
|
331
|
+
- Apache/2.2.22 (Debian)
|
328
332
|
X-Frame-Options:
|
329
|
-
-
|
333
|
+
- SAMEORIGIN
|
330
334
|
X-Xss-Protection:
|
331
335
|
- 1; mode=block
|
332
|
-
|
333
|
-
-
|
334
|
-
|
335
|
-
-
|
336
|
-
|
337
|
-
-
|
338
|
-
|
339
|
-
|
340
|
-
-
|
336
|
+
X-Content-Type-Options:
|
337
|
+
- nosniff
|
338
|
+
X-Ua-Compatible:
|
339
|
+
- chrome=1
|
340
|
+
Etag:
|
341
|
+
- ! '"4ca185da501239625a99fad36f211cb7"'
|
342
|
+
Cache-Control:
|
343
|
+
- max-age=0, private, must-revalidate
|
344
|
+
X-Request-Id:
|
345
|
+
- 3cce0fec-b8c2-4e24-93cf-7c7b887438e3
|
346
|
+
X-Runtime:
|
347
|
+
- '0.173419'
|
348
|
+
X-Powered-By:
|
349
|
+
- Phusion Passenger 4.0.29
|
341
350
|
Status:
|
342
|
-
-
|
351
|
+
- 200 OK
|
343
352
|
Vary:
|
344
353
|
- Accept-Encoding
|
354
|
+
Transfer-Encoding:
|
355
|
+
- chunked
|
345
356
|
Content-Type:
|
346
|
-
- text/plain;charset=utf-8
|
357
|
+
- text/plain; charset=utf-8
|
347
358
|
body:
|
348
359
|
encoding: US-ASCII
|
349
|
-
string: ! 'Category:
|
360
|
+
string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
|
361
|
+
occi.core.title"
|
362
|
+
|
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"
|
365
|
+
|
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"
|
368
|
+
|
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
|
373
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
|
374
|
+
http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
|
350
375
|
|
351
|
-
Category:
|
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"
|
352
381
|
|
353
|
-
Category:
|
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
|
385
|
+
http://schemas.ogf.org/occi/infrastructure/network/action#down"
|
354
386
|
|
355
|
-
|
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"
|
356
392
|
|
357
|
-
|
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"
|
398
|
+
|
399
|
+
Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
|
400
|
+
to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
|
401
|
+
|
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/"
|
407
|
+
|
408
|
+
Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
|
409
|
+
network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
|
410
|
+
occi.network.gateway occi.network.allocation"
|
411
|
+
|
412
|
+
Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
|
413
|
+
network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
|
414
|
+
occi.networkinterface.gateway occi.networkinterface.allocation"
|
415
|
+
|
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{immutable}
|
418
|
+
org.openstack.credentials.publickey.data{immutable}"
|
419
|
+
|
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{immutable}"
|
422
|
+
|
423
|
+
Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
424
|
+
specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
|
425
|
+
org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
|
426
|
+
org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
|
427
|
+
org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
|
428
|
+
org.opennebula.storage.path{immutable}"
|
429
|
+
|
430
|
+
Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
431
|
+
specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
|
432
|
+
org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
|
433
|
+
org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
|
434
|
+
org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
|
435
|
+
org.opennebula.compute.boot{immutable}"
|
436
|
+
|
437
|
+
Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
438
|
+
specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
|
439
|
+
org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
|
440
|
+
org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
|
441
|
+
org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
|
442
|
+
org.opennebula.networkinterface.icmp{immutable}"
|
443
|
+
|
444
|
+
Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
445
|
+
specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
|
446
|
+
org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
|
447
|
+
|
448
|
+
Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
|
449
|
+
specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
|
450
|
+
org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
|
451
|
+
org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
|
452
|
+
org.opennebula.network.ip_end{immutable}"
|
453
|
+
|
454
|
+
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/"
|
455
|
+
|
456
|
+
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/"
|
457
|
+
|
458
|
+
Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
|
459
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
|
460
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
461
|
+
|
462
|
+
Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
|
463
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
|
464
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
465
|
+
|
466
|
+
Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
|
467
|
+
Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
|
468
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
469
|
+
|
470
|
+
Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
|
471
|
+
Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
|
472
|
+
occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
|
473
|
+
|
474
|
+
Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
|
475
|
+
compute instance"
|
476
|
+
|
477
|
+
Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
|
478
|
+
compute instance";attributes="method"
|
479
|
+
|
480
|
+
Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
|
481
|
+
compute instance";attributes="method"
|
482
|
+
|
483
|
+
Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
|
484
|
+
compute instance";attributes="method"
|
485
|
+
|
486
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
|
487
|
+
storage"
|
488
|
+
|
489
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
|
490
|
+
storage"
|
491
|
+
|
492
|
+
Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
|
493
|
+
storage"
|
494
|
+
|
495
|
+
Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
|
496
|
+
storage"
|
497
|
+
|
498
|
+
Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
|
499
|
+
storage";attributes="size{required}"
|
500
|
+
|
501
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
|
502
|
+
network"
|
503
|
+
|
504
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
|
505
|
+
network"
|
358
506
|
|
359
|
-
|
507
|
+
Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
|
508
|
+
networkinterface"
|
360
509
|
|
361
|
-
|
510
|
+
Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
|
511
|
+
networkinterface"
|
362
512
|
|
363
|
-
|
513
|
+
Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
|
514
|
+
storagelink"
|
364
515
|
|
365
|
-
|
516
|
+
Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
|
517
|
+
storagelink"
|
366
518
|
|
367
519
|
'
|
368
520
|
http_version:
|
369
521
|
recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
|
370
|
-
recorded_with: VCR 2.
|
522
|
+
recorded_with: VCR 2.8.0
|