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.
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
@@ -0,0 +1,1178 @@
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/storage/
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
+ - '159'
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/storage/32fc6c92-88aa-54dc-b814-be0df741278e
302
+
303
+ https://localhost:3300/storage/5c1a7099-859e-5c3d-9386-740edbb610b8'
304
+ http_version:
305
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
306
+ - request:
307
+ method: get
308
+ uri: https://localhost:3300/storage/32fc6c92-88aa-54dc-b814-be0df741278e
309
+ body:
310
+ encoding: US-ASCII
311
+ string: ''
312
+ headers:
313
+ Accept:
314
+ - text/plain,text/occi
315
+ response:
316
+ status:
317
+ code: 200
318
+ message: OK
319
+ headers:
320
+ Date:
321
+ - Thu, 01 Jan 1970 00:00:00 GMT
322
+ Server:
323
+ - Apache/2.2.20 (Ubuntu)
324
+ X-Powered-By:
325
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
326
+ X-Frame-Options:
327
+ - sameorigin
328
+ X-Xss-Protection:
329
+ - 1; mode=block
330
+ Accept:
331
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
332
+ Set-Cookie:
333
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
334
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
335
+ path=/; HttpOnly
336
+ Content-Length:
337
+ - '498'
338
+ Status:
339
+ - '200'
340
+ Vary:
341
+ - Accept-Encoding
342
+ Content-Type:
343
+ - text/plain;charset=utf-8
344
+ body:
345
+ encoding: US-ASCII
346
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
347
+
348
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
349
+
350
+ X-OCCI-Attribute: occi.core.id="32fc6c92-88aa-54dc-b814-be0df741278e"
351
+
352
+ X-OCCI-Attribute: occi.core.title="ttylinux - kvm"
353
+
354
+ X-OCCI-Attribute: occi.storage.state="online"
355
+
356
+ X-OCCI-Attribute: org.opennebula.storage.id="2"
357
+
358
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
359
+
360
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
361
+
362
+ '
363
+ http_version:
364
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
365
+ - request:
366
+ method: get
367
+ uri: https://localhost:3300/storage/5c1a7099-859e-5c3d-9386-740edbb610b8
368
+ body:
369
+ encoding: US-ASCII
370
+ string: ''
371
+ headers:
372
+ Accept:
373
+ - text/plain,text/occi
374
+ response:
375
+ status:
376
+ code: 200
377
+ message: OK
378
+ headers:
379
+ Date:
380
+ - Thu, 01 Jan 1970 00:00:00 GMT
381
+ Server:
382
+ - Apache/2.2.20 (Ubuntu)
383
+ X-Powered-By:
384
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.12
385
+ X-Frame-Options:
386
+ - sameorigin
387
+ X-Xss-Protection:
388
+ - 1; mode=block
389
+ Accept:
390
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
391
+ Set-Cookie:
392
+ - GRIDHTTP_PASSCODE=0000000000000000000000; domain=localhost; path=/; secure
393
+ - rack.session=000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A000000000000000000000000000000000000000000000000000000000000%0A00000000000000000000000000000000000000000000000000%3D%3D%0A--0000000000000000000000000000000000000000;
394
+ path=/; HttpOnly
395
+ Content-Length:
396
+ - '501'
397
+ Status:
398
+ - '200'
399
+ Vary:
400
+ - Accept-Encoding
401
+ Content-Type:
402
+ - text/plain;charset=utf-8
403
+ body:
404
+ encoding: US-ASCII
405
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
406
+
407
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
408
+
409
+ X-OCCI-Attribute: occi.core.id="5c1a7099-859e-5c3d-9386-740edbb610b8"
410
+
411
+ X-OCCI-Attribute: occi.core.title="ttylinux - VMware "
412
+
413
+ X-OCCI-Attribute: occi.storage.state="online"
414
+
415
+ X-OCCI-Attribute: org.opennebula.storage.id="4"
416
+
417
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="hd"
418
+
419
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
420
+
421
+ '
422
+ http_version:
423
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
424
+ - request:
425
+ method: head
426
+ uri: https://rocci-test:edited@localhost:3300/-/
427
+ body:
428
+ encoding: US-ASCII
429
+ string: ''
430
+ headers:
431
+ Accept:
432
+ - text/plain,text/occi
433
+ User-Agent:
434
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
435
+ response:
436
+ status:
437
+ code: 200
438
+ message: OK
439
+ headers:
440
+ Date:
441
+ - Thu, 01 Jan 1970 00:00:00 GMT
442
+ Server:
443
+ - Apache/2.2.22 (Debian)
444
+ X-Frame-Options:
445
+ - SAMEORIGIN
446
+ X-Xss-Protection:
447
+ - 1; mode=block
448
+ X-Content-Type-Options:
449
+ - nosniff
450
+ X-Ua-Compatible:
451
+ - chrome=1
452
+ Etag:
453
+ - ! '"4ca185da501239625a99fad36f211cb7"'
454
+ Cache-Control:
455
+ - max-age=0, private, must-revalidate
456
+ X-Request-Id:
457
+ - 3c11f965-efbb-42b2-b4df-a19b731d840f
458
+ X-Runtime:
459
+ - '0.126678'
460
+ X-Powered-By:
461
+ - Phusion Passenger 4.0.29
462
+ Status:
463
+ - 200 OK
464
+ Vary:
465
+ - Accept-Encoding
466
+ Content-Type:
467
+ - text/plain; charset=utf-8
468
+ body:
469
+ encoding: US-ASCII
470
+ string: ''
471
+ http_version:
472
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
473
+ - request:
474
+ method: get
475
+ uri: https://rocci-test:edited@localhost:3300/-/
476
+ body:
477
+ encoding: US-ASCII
478
+ string: ''
479
+ headers:
480
+ Accept:
481
+ - text/plain,text/occi
482
+ User-Agent:
483
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
484
+ response:
485
+ status:
486
+ code: 200
487
+ message: OK
488
+ headers:
489
+ Date:
490
+ - Thu, 01 Jan 1970 00:00:00 GMT
491
+ Server:
492
+ - Apache/2.2.22 (Debian)
493
+ X-Frame-Options:
494
+ - SAMEORIGIN
495
+ X-Xss-Protection:
496
+ - 1; mode=block
497
+ X-Content-Type-Options:
498
+ - nosniff
499
+ X-Ua-Compatible:
500
+ - chrome=1
501
+ Etag:
502
+ - ! '"4ca185da501239625a99fad36f211cb7"'
503
+ Cache-Control:
504
+ - max-age=0, private, must-revalidate
505
+ X-Request-Id:
506
+ - cba7b567-510e-4939-b6f3-8da876805826
507
+ X-Runtime:
508
+ - '0.181368'
509
+ X-Powered-By:
510
+ - Phusion Passenger 4.0.29
511
+ Status:
512
+ - 200 OK
513
+ Vary:
514
+ - Accept-Encoding
515
+ Transfer-Encoding:
516
+ - chunked
517
+ Content-Type:
518
+ - text/plain; charset=utf-8
519
+ body:
520
+ encoding: US-ASCII
521
+ string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable}
522
+ occi.core.title"
523
+
524
+ 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}
525
+ occi.core.title occi.core.summary"
526
+
527
+ 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}
528
+ occi.core.title occi.core.target occi.core.source"
529
+
530
+ Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="compute
531
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.core.id{immutable}
532
+ occi.core.title occi.core.summary occi.compute.architecture occi.compute.cores
533
+ occi.compute.hostname occi.compute.memory occi.compute.speed occi.compute.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
534
+ http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
535
+ http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
536
+
537
+ Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
538
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.core.id{immutable}
539
+ occi.core.title occi.core.summary occi.storage.size occi.storage.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
540
+ http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
541
+ http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
542
+
543
+ Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="network
544
+ resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.core.id{immutable}
545
+ 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
546
+ http://schemas.ogf.org/occi/infrastructure/network/action#down"
547
+
548
+ Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="networkinterface
549
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/networkinterface/";attributes="occi.core.id{immutable}
550
+ occi.core.title occi.core.target occi.core.source occi.networkinterface.interface{immutable}
551
+ occi.networkinterface.mac occi.networkinterface.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#up
552
+ http://schemas.ogf.org/occi/infrastructure/networkinterface/action#down"
553
+
554
+ Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="storage
555
+ link";rel="http://schemas.ogf.org/occi/core#link";location="/link/storagelink/";attributes="occi.core.id{immutable}
556
+ occi.core.title occi.core.target occi.core.source occi.storagelink.deviceid
557
+ occi.storagelink.mountpoint occi.storagelink.state{immutable}";actions="http://schemas.ogf.org/occi/infrastructure/storagelink/action#online
558
+ http://schemas.ogf.org/occi/infrastructure/storagelink/action#offline"
559
+
560
+ Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
561
+ to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/link/consolelink/"
562
+
563
+ Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="resource
564
+ template";location="/mixin/resource_tpl/"
565
+
566
+ Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="operating
567
+ system template";location="/mixin/os_tpl/"
568
+
569
+ Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
570
+ network mixin";location="/mixin/ipnetwork/";attributes="occi.network.address
571
+ occi.network.gateway occi.network.allocation"
572
+
573
+ Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
574
+ network interface mixin";location="/mixin/ipnetworkinterface/";attributes="occi.networkinterface.address
575
+ occi.networkinterface.gateway occi.networkinterface.allocation"
576
+
577
+ Category: public_key;scheme="http://schemas.openstack.org/instance/credentials#";class="mixin";title="OpenStack''s
578
+ contextualization extension - credentials";location="/mixin/public_key/";attributes="org.openstack.credentials.publickey.name{immutable}
579
+ org.openstack.credentials.publickey.data{immutable}"
580
+
581
+ Category: user_data;scheme="http://schemas.openstack.org/compute/instance#";class="mixin";title="OpenStack''s
582
+ contextualization extension - user_data";location="/mixin/user_data/";attributes="org.openstack.compute.user_data{immutable}"
583
+
584
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
585
+ specific Storage attributes";location="/mixin/storage/";attributes="org.opennebula.storage.id{immutable}
586
+ org.opennebula.storage.type{immutable} org.opennebula.storage.persistent{immutable}
587
+ org.opennebula.storage.dev_prefix{immutable} org.opennebula.storage.bus{immutable}
588
+ org.opennebula.storage.driver{immutable} org.opennebula.storage.fstype{immutable}
589
+ org.opennebula.storage.path{immutable}"
590
+
591
+ Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
592
+ specific Compute attributes";location="/mixin/compute/";attributes="org.opennebula.compute.id{immutable}
593
+ org.opennebula.compute.cpu{immutable} org.opennebula.compute.kernel{immutable}
594
+ org.opennebula.compute.initrd{immutable} org.opennebula.compute.root{immutable}
595
+ org.opennebula.compute.kernel_cmd{immutable} org.opennebula.compute.bootloader{immutable}
596
+ org.opennebula.compute.boot{immutable}"
597
+
598
+ Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
599
+ specific Networkinterface attributes";location="/mixin/networkinterface/";attributes="org.opennebula.networkinterface.bridge{immutable}
600
+ org.opennebula.networkinterface.script{immutable} org.opennebula.networkinterface.model{immutable}
601
+ org.opennebula.networkinterface.white_ports_tcp{immutable} org.opennebula.networkinterface.black_ports_tcp{immutable}
602
+ org.opennebula.networkinterface.white_ports_udp{immutable} org.opennebula.networkinterface.black_ports_udp{immutable}
603
+ org.opennebula.networkinterface.icmp{immutable}"
604
+
605
+ Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
606
+ specific Storagelink attributes";location="/mixin/storagelink/";attributes="org.opennebula.storagelink.bus{immutable}
607
+ org.opennebula.storagelink.driver{immutable} org.opennebula.storagelink.dev_prefix{immutable}"
608
+
609
+ Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
610
+ specific Network attributes";location="/mixin/network/";attributes="org.opennebula.network.id{immutable}
611
+ org.opennebula.network.bridge{immutable} org.opennebula.network.vlan{immutable}
612
+ org.opennebula.network.phydev{immutable} org.opennebula.network.ip_start{immutable}
613
+ org.opennebula.network.ip_end{immutable}"
614
+
615
+ 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/"
616
+
617
+ 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/"
618
+
619
+ Category: medium;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
620
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/medium/";attributes="occi.compute.architecture
621
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
622
+
623
+ Category: small;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small
624
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/small/";attributes="occi.compute.architecture
625
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
626
+
627
+ Category: extra_large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
628
+ Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/extra_large/";attributes="occi.compute.architecture{immutable}
629
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
630
+
631
+ Category: large;scheme="http://sitespecific.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large
632
+ Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixin/resource_tpl/large/";attributes="occi.compute.architecture{immutable}
633
+ occi.compute.cores{immutable} occi.compute.speed{immutable} occi.compute.memory{immutable}"
634
+
635
+ Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="start
636
+ compute instance"
637
+
638
+ Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="stop
639
+ compute instance";attributes="method"
640
+
641
+ Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="restart
642
+ compute instance";attributes="method"
643
+
644
+ Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="suspend
645
+ compute instance";attributes="method"
646
+
647
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="activate
648
+ storage"
649
+
650
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="deactivate
651
+ storage"
652
+
653
+ Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="backup
654
+ storage"
655
+
656
+ Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="snapshot
657
+ storage"
658
+
659
+ Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="resize
660
+ storage";attributes="size{required}"
661
+
662
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="activate
663
+ network"
664
+
665
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="deactivate
666
+ network"
667
+
668
+ Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="activate
669
+ networkinterface"
670
+
671
+ Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface/action#";class="action";title="deactivate
672
+ networkinterface"
673
+
674
+ Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="activate
675
+ storagelink"
676
+
677
+ Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storagelink/action#";class="action";title="deactivate
678
+ storagelink"
679
+
680
+ '
681
+ http_version:
682
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
683
+ - request:
684
+ method: get
685
+ uri: https://rocci-test:edited@localhost:3300/storage/
686
+ body:
687
+ encoding: US-ASCII
688
+ string: ''
689
+ headers:
690
+ Accept:
691
+ - text/uri-list
692
+ User-Agent:
693
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
694
+ response:
695
+ status:
696
+ code: 200
697
+ message: OK
698
+ headers:
699
+ Date:
700
+ - Thu, 01 Jan 1970 00:00:00 GMT
701
+ Server:
702
+ - Apache/2.2.22 (Debian)
703
+ X-Frame-Options:
704
+ - SAMEORIGIN
705
+ X-Xss-Protection:
706
+ - 1; mode=block
707
+ X-Content-Type-Options:
708
+ - nosniff
709
+ X-Ua-Compatible:
710
+ - chrome=1
711
+ Etag:
712
+ - ! '"a4c9cda5fc7b9527c92dbcd66e711e91"'
713
+ Cache-Control:
714
+ - max-age=0, private, must-revalidate
715
+ X-Request-Id:
716
+ - 4eeaeb38-4c87-4af2-8bda-3f7983474365
717
+ X-Runtime:
718
+ - '0.103719'
719
+ X-Powered-By:
720
+ - Phusion Passenger 4.0.29
721
+ Status:
722
+ - 200 OK
723
+ Transfer-Encoding:
724
+ - chunked
725
+ Content-Type:
726
+ - text/uri-list; charset=utf-8
727
+ body:
728
+ encoding: US-ASCII
729
+ string: ! 'https://localhost:3300/storage/4
730
+
731
+ https://localhost:3300/storage/8
732
+
733
+ https://localhost:3300/storage/129
734
+
735
+ https://localhost:3300/storage/375
736
+
737
+ https://localhost:3300/storage/502
738
+
739
+ https://localhost:3300/storage/547'
740
+ http_version:
741
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
742
+ - request:
743
+ method: get
744
+ uri: https://rocci-test:edited@localhost:3300/storage/4
745
+ body:
746
+ encoding: US-ASCII
747
+ string: ''
748
+ headers:
749
+ Accept:
750
+ - text/plain,text/occi
751
+ User-Agent:
752
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
753
+ response:
754
+ status:
755
+ code: 200
756
+ message: OK
757
+ headers:
758
+ Date:
759
+ - Thu, 01 Jan 1970 00:00:00 GMT
760
+ Server:
761
+ - Apache/2.2.22 (Debian)
762
+ X-Frame-Options:
763
+ - SAMEORIGIN
764
+ X-Xss-Protection:
765
+ - 1; mode=block
766
+ X-Content-Type-Options:
767
+ - nosniff
768
+ X-Ua-Compatible:
769
+ - chrome=1
770
+ Etag:
771
+ - ! '"5e002c85e2d10453d5740016a886acc8"'
772
+ Cache-Control:
773
+ - max-age=0, private, must-revalidate
774
+ X-Request-Id:
775
+ - 78cd6289-8bfe-4aeb-a279-fac45d5c4168
776
+ X-Runtime:
777
+ - '0.126655'
778
+ X-Powered-By:
779
+ - Phusion Passenger 4.0.29
780
+ Status:
781
+ - 200 OK
782
+ Vary:
783
+ - Accept-Encoding
784
+ Transfer-Encoding:
785
+ - chunked
786
+ Content-Type:
787
+ - text/plain; charset=utf-8
788
+ body:
789
+ encoding: US-ASCII
790
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
791
+
792
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
793
+
794
+ X-OCCI-Attribute: occi.core.id="4"
795
+
796
+ X-OCCI-Attribute: occi.core.title="monitoring"
797
+
798
+ X-OCCI-Attribute: occi.core.summary="Small image for monitoring purposes"
799
+
800
+ X-OCCI-Attribute: occi.storage.size=0.103515625
801
+
802
+ X-OCCI-Attribute: occi.storage.state="online"
803
+
804
+ X-OCCI-Attribute: org.opennebula.storage.id="4"
805
+
806
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
807
+
808
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
809
+
810
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
811
+
812
+ X-OCCI-Attribute: org.opennebula.storage.bus="IDE"
813
+
814
+ Link: </storage/4?action=offline>;rel="http://schemas.ogf.org/occi/infrastructure/storage/action#offline"
815
+
816
+ Link: </storage/4?action=backup>;rel="http://schemas.ogf.org/occi/infrastructure/storage/action#backup"'
817
+ http_version:
818
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
819
+ - request:
820
+ method: get
821
+ uri: https://rocci-test:edited@localhost:3300/storage/8
822
+ body:
823
+ encoding: US-ASCII
824
+ string: ''
825
+ headers:
826
+ Accept:
827
+ - text/plain,text/occi
828
+ User-Agent:
829
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
830
+ response:
831
+ status:
832
+ code: 200
833
+ message: OK
834
+ headers:
835
+ Date:
836
+ - Thu, 01 Jan 1970 00:00:00 GMT
837
+ Server:
838
+ - Apache/2.2.22 (Debian)
839
+ X-Frame-Options:
840
+ - SAMEORIGIN
841
+ X-Xss-Protection:
842
+ - 1; mode=block
843
+ X-Content-Type-Options:
844
+ - nosniff
845
+ X-Ua-Compatible:
846
+ - chrome=1
847
+ Etag:
848
+ - ! '"ef296b358506bce0e02b9990a5d7a948"'
849
+ Cache-Control:
850
+ - max-age=0, private, must-revalidate
851
+ X-Request-Id:
852
+ - b84e349b-074e-4dcb-ab5f-5bef44633b57
853
+ X-Runtime:
854
+ - '0.032302'
855
+ X-Powered-By:
856
+ - Phusion Passenger 4.0.29
857
+ Status:
858
+ - 200 OK
859
+ Vary:
860
+ - Accept-Encoding
861
+ Transfer-Encoding:
862
+ - chunked
863
+ Content-Type:
864
+ - text/plain; charset=utf-8
865
+ body:
866
+ encoding: US-ASCII
867
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
868
+
869
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
870
+
871
+ X-OCCI-Attribute: occi.core.id="8"
872
+
873
+ X-OCCI-Attribute: occi.core.title="debian6"
874
+
875
+ X-OCCI-Attribute: occi.core.summary="Clean Debian6 (Squeeze) x64 image"
876
+
877
+ X-OCCI-Attribute: occi.storage.size=8.0
878
+
879
+ X-OCCI-Attribute: occi.storage.state="online"
880
+
881
+ X-OCCI-Attribute: org.opennebula.storage.id="8"
882
+
883
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
884
+
885
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
886
+
887
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
888
+
889
+ X-OCCI-Attribute: org.opennebula.storage.bus="IDE"'
890
+ http_version:
891
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
892
+ - request:
893
+ method: get
894
+ uri: https://rocci-test:edited@localhost:3300/storage/129
895
+ body:
896
+ encoding: US-ASCII
897
+ string: ''
898
+ headers:
899
+ Accept:
900
+ - text/plain,text/occi
901
+ User-Agent:
902
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
903
+ response:
904
+ status:
905
+ code: 200
906
+ message: OK
907
+ headers:
908
+ Date:
909
+ - Thu, 01 Jan 1970 00:00:00 GMT
910
+ Server:
911
+ - Apache/2.2.22 (Debian)
912
+ X-Frame-Options:
913
+ - SAMEORIGIN
914
+ X-Xss-Protection:
915
+ - 1; mode=block
916
+ X-Content-Type-Options:
917
+ - nosniff
918
+ X-Ua-Compatible:
919
+ - chrome=1
920
+ Etag:
921
+ - ! '"5fa00a8cbe81678018dba179a17945ac"'
922
+ Cache-Control:
923
+ - max-age=0, private, must-revalidate
924
+ X-Request-Id:
925
+ - 294c9b5f-fbc4-4caa-97d9-91bdc87fb341
926
+ X-Runtime:
927
+ - '0.093869'
928
+ X-Powered-By:
929
+ - Phusion Passenger 4.0.29
930
+ Status:
931
+ - 200 OK
932
+ Vary:
933
+ - Accept-Encoding
934
+ Transfer-Encoding:
935
+ - chunked
936
+ Content-Type:
937
+ - text/plain; charset=utf-8
938
+ body:
939
+ encoding: US-ASCII
940
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
941
+
942
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
943
+
944
+ X-OCCI-Attribute: occi.core.id="129"
945
+
946
+ X-OCCI-Attribute: occi.core.title="CERIT-SC-Debian-6.0-0002.cerit-sc-cloud"
947
+
948
+ X-OCCI-Attribute: occi.core.summary="CERIT-SC Debian 6.0 for OpenNebula"
949
+
950
+ X-OCCI-Attribute: occi.storage.size=0.404296875
951
+
952
+ X-OCCI-Attribute: occi.storage.state="online"
953
+
954
+ X-OCCI-Attribute: org.opennebula.storage.id="129"
955
+
956
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
957
+
958
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
959
+
960
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="vd"
961
+
962
+ X-OCCI-Attribute: org.opennebula.storage.driver="qcow2"'
963
+ http_version:
964
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
965
+ - request:
966
+ method: get
967
+ uri: https://rocci-test:edited@localhost:3300/storage/375
968
+ body:
969
+ encoding: US-ASCII
970
+ string: ''
971
+ headers:
972
+ Accept:
973
+ - text/plain,text/occi
974
+ User-Agent:
975
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
976
+ response:
977
+ status:
978
+ code: 200
979
+ message: OK
980
+ headers:
981
+ Date:
982
+ - Thu, 01 Jan 1970 00:00:00 GMT
983
+ Server:
984
+ - Apache/2.2.22 (Debian)
985
+ X-Frame-Options:
986
+ - SAMEORIGIN
987
+ X-Xss-Protection:
988
+ - 1; mode=block
989
+ X-Content-Type-Options:
990
+ - nosniff
991
+ X-Ua-Compatible:
992
+ - chrome=1
993
+ Etag:
994
+ - ! '"2bc189fe46e9e58d5eb6109417e03031"'
995
+ Cache-Control:
996
+ - max-age=0, private, must-revalidate
997
+ X-Request-Id:
998
+ - 957ea357-e206-4590-a0aa-e7a2dfbd844f
999
+ X-Runtime:
1000
+ - '0.121300'
1001
+ X-Powered-By:
1002
+ - Phusion Passenger 4.0.29
1003
+ Status:
1004
+ - 200 OK
1005
+ Vary:
1006
+ - Accept-Encoding
1007
+ Transfer-Encoding:
1008
+ - chunked
1009
+ Content-Type:
1010
+ - text/plain; charset=utf-8
1011
+ body:
1012
+ encoding: US-ASCII
1013
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1014
+
1015
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1016
+
1017
+ X-OCCI-Attribute: occi.core.id="375"
1018
+
1019
+ X-OCCI-Attribute: occi.core.title="OL-6.3-MM-gold"
1020
+
1021
+ X-OCCI-Attribute: occi.storage.size=1.060546875
1022
+
1023
+ X-OCCI-Attribute: occi.storage.state="online"
1024
+
1025
+ X-OCCI-Attribute: org.opennebula.storage.id="375"
1026
+
1027
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1028
+
1029
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
1030
+
1031
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="vd"
1032
+
1033
+ X-OCCI-Attribute: org.opennebula.storage.driver="qcow2"'
1034
+ http_version:
1035
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
1036
+ - request:
1037
+ method: get
1038
+ uri: https://rocci-test:edited@localhost:3300/storage/502
1039
+ body:
1040
+ encoding: US-ASCII
1041
+ string: ''
1042
+ headers:
1043
+ Accept:
1044
+ - text/plain,text/occi
1045
+ User-Agent:
1046
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
1047
+ response:
1048
+ status:
1049
+ code: 200
1050
+ message: OK
1051
+ headers:
1052
+ Date:
1053
+ - Thu, 01 Jan 1970 00:00:00 GMT
1054
+ Server:
1055
+ - Apache/2.2.22 (Debian)
1056
+ X-Frame-Options:
1057
+ - SAMEORIGIN
1058
+ X-Xss-Protection:
1059
+ - 1; mode=block
1060
+ X-Content-Type-Options:
1061
+ - nosniff
1062
+ X-Ua-Compatible:
1063
+ - chrome=1
1064
+ Etag:
1065
+ - ! '"0fea814ad60624a079c3ee2422d4d81d"'
1066
+ Cache-Control:
1067
+ - max-age=0, private, must-revalidate
1068
+ X-Request-Id:
1069
+ - cf1a1763-ddb6-4877-9b57-1fd457d5d462
1070
+ X-Runtime:
1071
+ - '0.027829'
1072
+ X-Powered-By:
1073
+ - Phusion Passenger 4.0.29
1074
+ Status:
1075
+ - 200 OK
1076
+ Vary:
1077
+ - Accept-Encoding
1078
+ Transfer-Encoding:
1079
+ - chunked
1080
+ Content-Type:
1081
+ - text/plain; charset=utf-8
1082
+ body:
1083
+ encoding: US-ASCII
1084
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1085
+
1086
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1087
+
1088
+ X-OCCI-Attribute: occi.core.id="502"
1089
+
1090
+ X-OCCI-Attribute: occi.core.title="debian6gal+RepEx_full_hapala_updated2"
1091
+
1092
+ X-OCCI-Attribute: occi.core.summary="debian6gal+RepEx_full_nicki_updated2"
1093
+
1094
+ X-OCCI-Attribute: occi.storage.size=10.0
1095
+
1096
+ X-OCCI-Attribute: occi.storage.state="online"
1097
+
1098
+ X-OCCI-Attribute: org.opennebula.storage.id="502"
1099
+
1100
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1101
+
1102
+ X-OCCI-Attribute: org.opennebula.storage.persistent="YES"
1103
+
1104
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"'
1105
+ http_version:
1106
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
1107
+ - request:
1108
+ method: get
1109
+ uri: https://rocci-test:edited@localhost:3300/storage/547
1110
+ body:
1111
+ encoding: US-ASCII
1112
+ string: ''
1113
+ headers:
1114
+ Accept:
1115
+ - text/plain,text/occi
1116
+ User-Agent:
1117
+ - rOCCI-core/4.2.5 rOCCI-api/4.2.0.beta.12 OCCI/1.1 ruby-x86_64-linux/1.9.3p194
1118
+ response:
1119
+ status:
1120
+ code: 200
1121
+ message: OK
1122
+ headers:
1123
+ Date:
1124
+ - Thu, 01 Jan 1970 00:00:00 GMT
1125
+ Server:
1126
+ - Apache/2.2.22 (Debian)
1127
+ X-Frame-Options:
1128
+ - SAMEORIGIN
1129
+ X-Xss-Protection:
1130
+ - 1; mode=block
1131
+ X-Content-Type-Options:
1132
+ - nosniff
1133
+ X-Ua-Compatible:
1134
+ - chrome=1
1135
+ Etag:
1136
+ - ! '"322ae8910acfdfab6f90b9e9446dddbb"'
1137
+ Cache-Control:
1138
+ - max-age=0, private, must-revalidate
1139
+ X-Request-Id:
1140
+ - c77d96c8-796a-4b08-bf31-52dd73760002
1141
+ X-Runtime:
1142
+ - '0.102418'
1143
+ X-Powered-By:
1144
+ - Phusion Passenger 4.0.29
1145
+ Status:
1146
+ - 200 OK
1147
+ Vary:
1148
+ - Accept-Encoding
1149
+ Transfer-Encoding:
1150
+ - chunked
1151
+ Content-Type:
1152
+ - text/plain; charset=utf-8
1153
+ body:
1154
+ encoding: US-ASCII
1155
+ string: ! 'Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
1156
+
1157
+ Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
1158
+
1159
+ X-OCCI-Attribute: occi.core.id="547"
1160
+
1161
+ X-OCCI-Attribute: occi.core.title="winByAli"
1162
+
1163
+ X-OCCI-Attribute: occi.core.summary="Z obrazu Aliho WinSrv2012_64b_Cloud.qcow2"
1164
+
1165
+ X-OCCI-Attribute: occi.storage.size=11.0927734375
1166
+
1167
+ X-OCCI-Attribute: occi.storage.state="online"
1168
+
1169
+ X-OCCI-Attribute: org.opennebula.storage.id="547"
1170
+
1171
+ X-OCCI-Attribute: org.opennebula.storage.type="OS"
1172
+
1173
+ X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
1174
+
1175
+ X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"'
1176
+ http_version:
1177
+ recorded_at: Thu, 01 Jan 1970 00:00:00 GMT
1178
+ recorded_with: VCR 2.8.0