occi 3.1.0.beta.1 → 3.1.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +3 -2
- data/README.md +25 -18
- data/Rakefile +1 -1
- data/features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +102 -0
- data/features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +102 -0
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml +160 -0
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml +204 -0
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_action_.yml +102 -0
- data/features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +102 -0
- data/features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +102 -0
- data/features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +102 -0
- data/lib/occi/api/client/client_http.rb +70 -3
- data/lib/occi/bin/resource_output_factory.rb +8 -1
- data/lib/occi/bin/templates/compute.erb +18 -22
- data/lib/occi/bin/templates/network.erb +9 -11
- data/lib/occi/bin/templates/os_tpl.erb +7 -9
- data/lib/occi/bin/templates/resource_tpl.erb +7 -9
- data/lib/occi/bin/templates/storage.erb +8 -10
- data/lib/occi/version.rb +1 -1
- data/occi.gemspec +1 -2
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_compute_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_network_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_storage_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_compute_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_network_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_storage_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deploys_an_instance_based_on_OVF_OVA_file.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_all_available_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_compute_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_network_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_os_tpl_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_resource_tpl_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_storage_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_identifier.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_name.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_identifier.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_name.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_identifier.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_name.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_type_identifiers.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_types.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_type_identifiers.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_types.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_type_identifiers.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_types.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_type_identifiers.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_types.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_os_tpl_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_resource_tpl_mixins.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/refreshes_its_model.yml +88 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_compute_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_network_resource.yml +44 -0
- data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_storage_resource.yml +44 -0
- data/spec/occi/api/client/client_http_spec.rb +1 -1
- metadata +7 -24
- data/Gemfile.lock +0 -126
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -3,8 +3,9 @@ source "https://rubygems.org/"
|
|
3
3
|
gemspec
|
4
4
|
|
5
5
|
group :development do
|
6
|
-
gem 'vcr', :git => 'git://github.com/arax/vcr.git', :branch => 'test_framework_patches'
|
7
|
-
gem 'warbler', :git => 'git://github.com/jruby/warbler.git'
|
6
|
+
gem 'vcr', :git => 'git://github.com/arax/vcr.git', :branch => 'test_framework_patches', :ref => 'e82e843ceddd8822acea59846b015bcabf1906df'
|
7
|
+
gem 'warbler', :git => 'git://github.com/jruby/warbler.git', :ref => 'ce3ce4df137504822e4cbb9399dee7e7dd767c44'
|
8
|
+
gem 'rubygems-tasks', :git => 'git://github.com/postmodern/rubygems-tasks.git'
|
8
9
|
end
|
9
10
|
|
10
11
|
platforms :jruby do
|
data/README.md
CHANGED
@@ -97,9 +97,9 @@ To describe available resources use
|
|
97
97
|
|
98
98
|
To describe specific resources use
|
99
99
|
|
100
|
-
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource
|
101
|
-
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource
|
102
|
-
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource
|
100
|
+
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource /compute/<OCCI_ID> --auth x509
|
101
|
+
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource /storage/<OCCI_ID> --auth x509
|
102
|
+
occi --endpoint https://<ENDPOINT>:<PORT>/ --action describe --resource /network/<OCCI_ID> --auth x509
|
103
103
|
|
104
104
|
To list available OS templates or Resource templates use
|
105
105
|
|
@@ -113,11 +113,11 @@ To describe a specific OS template or Resource template use
|
|
113
113
|
|
114
114
|
To create a compute resource with mixins use
|
115
115
|
|
116
|
-
occi --endpoint https://<ENDPOINT>:<PORT>/ --action create --resource compute --mixin os_tpl#debian6 --mixin resource_tpl#small --
|
116
|
+
occi --endpoint https://<ENDPOINT>:<PORT>/ --action create --resource compute --mixin os_tpl#debian6 --mixin resource_tpl#small --attributes title="My rOCCI VM" --auth x509
|
117
117
|
|
118
118
|
To delete a compute resource use
|
119
119
|
|
120
|
-
occi --endpoint https://<ENDPOINT>:<PORT>/ --action delete --resource
|
120
|
+
occi --endpoint https://<ENDPOINT>:<PORT>/ --action delete --resource /compute/<OCCI_ID> --auth x509
|
121
121
|
|
122
122
|
### Client scripting
|
123
123
|
|
@@ -145,7 +145,7 @@ For X.509 auth use
|
|
145
145
|
auth.user_cert_password = 'MyPassword'
|
146
146
|
auth.ca_path = '/Path/To/root-certificates'
|
147
147
|
|
148
|
-
For keystone auth use
|
148
|
+
**Deprecated:** For keystone auth use
|
149
149
|
|
150
150
|
auth = Hashie::Mash.new
|
151
151
|
auth.type = 'keystone'
|
@@ -225,15 +225,15 @@ To create a new compute resource use
|
|
225
225
|
|
226
226
|
To get a description of a specific resource use
|
227
227
|
|
228
|
-
describe "
|
229
|
-
describe "
|
230
|
-
describe "
|
228
|
+
describe "/compute/<OCCI_ID>"
|
229
|
+
describe "/storage/<OCCI_ID>"
|
230
|
+
describe "/network/<OCCI_ID>"
|
231
231
|
|
232
232
|
To delete a specific resource use
|
233
233
|
|
234
|
-
delete "
|
235
|
-
delete "
|
236
|
-
delete "
|
234
|
+
delete "/compute/<OCCI_ID>"
|
235
|
+
delete "/storage/<OCCI_ID>"
|
236
|
+
delete "/network/<OCCI_ID>"
|
237
237
|
|
238
238
|
#### API
|
239
239
|
If you need low level access to parts of the OCCI client or need to use more than one instance
|
@@ -306,15 +306,15 @@ To create a new compute resource use
|
|
306
306
|
|
307
307
|
To get a description of a specific resource use
|
308
308
|
|
309
|
-
client.describe "
|
310
|
-
client.describe "
|
311
|
-
client.describe "
|
309
|
+
client.describe "/compute/<OCCI_ID>"
|
310
|
+
client.describe "/storage/<OCCI_ID>"
|
311
|
+
client.describe "/network/<OCCI_ID>"
|
312
312
|
|
313
313
|
To delete a specific resource use
|
314
314
|
|
315
|
-
client.delete "
|
316
|
-
client.delete "
|
317
|
-
client.delete "
|
315
|
+
client.delete "/compute/<OCCI_ID>"
|
316
|
+
client.delete "/storage/<OCCI_ID>"
|
317
|
+
client.delete "/network/<OCCI_ID>"
|
318
318
|
|
319
319
|
#### Logging
|
320
320
|
|
@@ -387,6 +387,13 @@ The OCCI gem includes all OCCI Core classes necessary to handly arbitrary OCCI o
|
|
387
387
|
Changelog
|
388
388
|
---------
|
389
389
|
|
390
|
+
### Version 3.1
|
391
|
+
* added basic OS Keystone support
|
392
|
+
* added support for PKCS12 credentials for X.509 authN
|
393
|
+
* updated templates for plain output formatting
|
394
|
+
* minor client API changes
|
395
|
+
* several bugfixes
|
396
|
+
|
390
397
|
### Version 3.0
|
391
398
|
|
392
399
|
* many bugfixes
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ task :default => 'test'
|
|
5
5
|
desc "Run all tests; includes rspec, cucumber and coverage reports"
|
6
6
|
task :test => 'rcov:all'
|
7
7
|
|
8
|
-
Gem::Tasks.new(:build => {:tar => true, :zip => true}, :sign => {:checksum => true, :pgp =>
|
8
|
+
Gem::Tasks.new(:build => {:tar => true, :zip => true}, :sign => {:checksum => true, :pgp => false})
|
9
9
|
|
10
10
|
namespace :rcov do
|
11
11
|
|
data/features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
CHANGED
@@ -183,4 +183,106 @@ http_interactions:
|
|
183
183
|
'
|
184
184
|
http_version:
|
185
185
|
recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
|
186
|
+
- request:
|
187
|
+
method: get
|
188
|
+
uri: http://141.5.99.69/
|
189
|
+
body:
|
190
|
+
encoding: US-ASCII
|
191
|
+
string: ''
|
192
|
+
headers:
|
193
|
+
Accept:
|
194
|
+
- text/plain
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
headers:
|
200
|
+
Date:
|
201
|
+
- Tue, 12 Mar 2013 13:29:42 GMT
|
202
|
+
Server:
|
203
|
+
- Apache/2.2.22 (Ubuntu)
|
204
|
+
X-Powered-By:
|
205
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
206
|
+
X-Frame-Options:
|
207
|
+
- sameorigin
|
208
|
+
X-Xss-Protection:
|
209
|
+
- 1; mode=block
|
210
|
+
Accept:
|
211
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
212
|
+
Set-Cookie:
|
213
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFNjFhMGNmNzdmMDUyOWRmMTBlNWRj%0AOGM2NjE0YWZmMGJjZTYxNDliYjY1OTVhM2E0MjcwNmJiMzJiM2Y2MjY1N0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--c0f98b65169ac2a7e9b2849d1315a7649a2c4e32;
|
214
|
+
path=/; HttpOnly
|
215
|
+
Content-Length:
|
216
|
+
- '738'
|
217
|
+
Status:
|
218
|
+
- '200'
|
219
|
+
Vary:
|
220
|
+
- Accept-Encoding
|
221
|
+
Content-Type:
|
222
|
+
- text/plain;charset=utf-8
|
223
|
+
body:
|
224
|
+
encoding: US-ASCII
|
225
|
+
string: ! 'X-OCCI-Location: http://141.5.99.69/compute/48e7c51c-5a7d-11e2-a300-fa163e16d22f
|
226
|
+
|
227
|
+
X-OCCI-Location: http://141.5.99.69/compute/6c706278-5a7d-11e2-a300-fa163e16d22f
|
228
|
+
|
229
|
+
X-OCCI-Location: http://141.5.99.69/compute/7582ffc4-5a7d-11e2-a300-fa163e16d22f
|
230
|
+
|
231
|
+
X-OCCI-Location: http://141.5.99.69/compute/8eb0deb2-5a7d-11e2-a300-fa163e16d22f
|
232
|
+
|
233
|
+
X-OCCI-Location: http://141.5.99.69/compute/8efa93e0-5a7d-11e2-a300-fa163e16d22f
|
234
|
+
|
235
|
+
X-OCCI-Location: http://141.5.99.69/compute/49cbeaee-5b1d-11e2-a300-fa163e16d22f
|
236
|
+
|
237
|
+
X-OCCI-Location: http://141.5.99.69/compute/c87fa76c-5b1e-11e2-a300-fa163e16d22f
|
238
|
+
|
239
|
+
X-OCCI-Location: http://141.5.99.69/compute/1cc544b2-5b1f-11e2-a300-fa163e16d22f
|
240
|
+
|
241
|
+
X-OCCI-Location: http://141.5.99.69/compute/38e2a6b2-5b1f-11e2-a300-fa163e16d22f
|
242
|
+
|
243
|
+
'
|
244
|
+
http_version:
|
245
|
+
recorded_at: Tue, 12 Mar 2013 13:29:35 GMT
|
246
|
+
- request:
|
247
|
+
method: head
|
248
|
+
uri: http://141.5.99.69/
|
249
|
+
body:
|
250
|
+
encoding: US-ASCII
|
251
|
+
string: ''
|
252
|
+
headers:
|
253
|
+
Accept:
|
254
|
+
- text/plain
|
255
|
+
response:
|
256
|
+
status:
|
257
|
+
code: 200
|
258
|
+
message: OK
|
259
|
+
headers:
|
260
|
+
Date:
|
261
|
+
- Tue, 12 Mar 2013 15:27:53 GMT
|
262
|
+
Server:
|
263
|
+
- Apache/2.2.22 (Ubuntu)
|
264
|
+
X-Powered-By:
|
265
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
266
|
+
X-Frame-Options:
|
267
|
+
- sameorigin
|
268
|
+
X-Xss-Protection:
|
269
|
+
- 1; mode=block
|
270
|
+
Accept:
|
271
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
272
|
+
Set-Cookie:
|
273
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFOTdkZDQ1N2ZiYjdmMjE4NDgzNjMy%0AMzE0ZGI3YjRjOGIwZjMyNTY4ODRkZGVhNjE3NWM4OWI2MDRkNzJiMmFjOUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--222744ef8a6fa387cf796b175ba56ec13ea1fa93;
|
274
|
+
path=/; HttpOnly
|
275
|
+
Content-Length:
|
276
|
+
- '738'
|
277
|
+
Status:
|
278
|
+
- '200'
|
279
|
+
Vary:
|
280
|
+
- Accept-Encoding
|
281
|
+
Content-Type:
|
282
|
+
- text/plain;charset=utf-8
|
283
|
+
body:
|
284
|
+
encoding: US-ASCII
|
285
|
+
string: ''
|
286
|
+
http_version:
|
287
|
+
recorded_at: Tue, 12 Mar 2013 15:27:46 GMT
|
186
288
|
recorded_with: VCR 2.4.0
|
data/features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
CHANGED
@@ -183,4 +183,106 @@ http_interactions:
|
|
183
183
|
'
|
184
184
|
http_version:
|
185
185
|
recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
|
186
|
+
- request:
|
187
|
+
method: get
|
188
|
+
uri: http://141.5.99.69/
|
189
|
+
body:
|
190
|
+
encoding: US-ASCII
|
191
|
+
string: ''
|
192
|
+
headers:
|
193
|
+
Accept:
|
194
|
+
- text/plain
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
headers:
|
200
|
+
Date:
|
201
|
+
- Tue, 12 Mar 2013 13:29:42 GMT
|
202
|
+
Server:
|
203
|
+
- Apache/2.2.22 (Ubuntu)
|
204
|
+
X-Powered-By:
|
205
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
206
|
+
X-Frame-Options:
|
207
|
+
- sameorigin
|
208
|
+
X-Xss-Protection:
|
209
|
+
- 1; mode=block
|
210
|
+
Accept:
|
211
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
212
|
+
Set-Cookie:
|
213
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFOGIwOTNjN2I2YTRhYWNmYWMzOTE1%0ANGJiODUxNTNjOTUyNThkNzM0NjFjOGNiYjA3ZDM4ZDYwOWVjZjAxY2M4NUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--2a011f27068ccd94899403b26651e4fcfde15436;
|
214
|
+
path=/; HttpOnly
|
215
|
+
Content-Length:
|
216
|
+
- '738'
|
217
|
+
Status:
|
218
|
+
- '200'
|
219
|
+
Vary:
|
220
|
+
- Accept-Encoding
|
221
|
+
Content-Type:
|
222
|
+
- text/plain;charset=utf-8
|
223
|
+
body:
|
224
|
+
encoding: US-ASCII
|
225
|
+
string: ! 'X-OCCI-Location: http://141.5.99.69/compute/48e7c51c-5a7d-11e2-a300-fa163e16d22f
|
226
|
+
|
227
|
+
X-OCCI-Location: http://141.5.99.69/compute/6c706278-5a7d-11e2-a300-fa163e16d22f
|
228
|
+
|
229
|
+
X-OCCI-Location: http://141.5.99.69/compute/7582ffc4-5a7d-11e2-a300-fa163e16d22f
|
230
|
+
|
231
|
+
X-OCCI-Location: http://141.5.99.69/compute/8eb0deb2-5a7d-11e2-a300-fa163e16d22f
|
232
|
+
|
233
|
+
X-OCCI-Location: http://141.5.99.69/compute/8efa93e0-5a7d-11e2-a300-fa163e16d22f
|
234
|
+
|
235
|
+
X-OCCI-Location: http://141.5.99.69/compute/49cbeaee-5b1d-11e2-a300-fa163e16d22f
|
236
|
+
|
237
|
+
X-OCCI-Location: http://141.5.99.69/compute/c87fa76c-5b1e-11e2-a300-fa163e16d22f
|
238
|
+
|
239
|
+
X-OCCI-Location: http://141.5.99.69/compute/1cc544b2-5b1f-11e2-a300-fa163e16d22f
|
240
|
+
|
241
|
+
X-OCCI-Location: http://141.5.99.69/compute/38e2a6b2-5b1f-11e2-a300-fa163e16d22f
|
242
|
+
|
243
|
+
'
|
244
|
+
http_version:
|
245
|
+
recorded_at: Tue, 12 Mar 2013 13:29:35 GMT
|
246
|
+
- request:
|
247
|
+
method: head
|
248
|
+
uri: http://141.5.99.69/
|
249
|
+
body:
|
250
|
+
encoding: US-ASCII
|
251
|
+
string: ''
|
252
|
+
headers:
|
253
|
+
Accept:
|
254
|
+
- text/plain
|
255
|
+
response:
|
256
|
+
status:
|
257
|
+
code: 200
|
258
|
+
message: OK
|
259
|
+
headers:
|
260
|
+
Date:
|
261
|
+
- Tue, 12 Mar 2013 15:27:53 GMT
|
262
|
+
Server:
|
263
|
+
- Apache/2.2.22 (Ubuntu)
|
264
|
+
X-Powered-By:
|
265
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
266
|
+
X-Frame-Options:
|
267
|
+
- sameorigin
|
268
|
+
X-Xss-Protection:
|
269
|
+
- 1; mode=block
|
270
|
+
Accept:
|
271
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
272
|
+
Set-Cookie:
|
273
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFYjk4Zjc0NTRhMGUxN2VkMWJhYWEz%0AY2E0OTFjMWE0NWUxZjIwYzBlNWU2MjUyMzYxZGI5MjU4MGZhMjc0OWJhNkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--4ac5e72fdf64d3b35dbbe65e7c38da3d3311c964;
|
274
|
+
path=/; HttpOnly
|
275
|
+
Content-Length:
|
276
|
+
- '738'
|
277
|
+
Status:
|
278
|
+
- '200'
|
279
|
+
Vary:
|
280
|
+
- Accept-Encoding
|
281
|
+
Content-Type:
|
282
|
+
- text/plain;charset=utf-8
|
283
|
+
body:
|
284
|
+
encoding: US-ASCII
|
285
|
+
string: ''
|
286
|
+
http_version:
|
287
|
+
recorded_at: Tue, 12 Mar 2013 15:27:46 GMT
|
186
288
|
recorded_with: VCR 2.4.0
|
@@ -170,4 +170,164 @@ http_interactions:
|
|
170
170
|
network"}]}'
|
171
171
|
http_version:
|
172
172
|
recorded_at: Thu, 10 Jan 2013 13:52:42 GMT
|
173
|
+
- request:
|
174
|
+
method: get
|
175
|
+
uri: http://141.5.99.69/
|
176
|
+
body:
|
177
|
+
encoding: US-ASCII
|
178
|
+
string: ''
|
179
|
+
headers:
|
180
|
+
Accept:
|
181
|
+
- application/json
|
182
|
+
response:
|
183
|
+
status:
|
184
|
+
code: 200
|
185
|
+
message: OK
|
186
|
+
headers:
|
187
|
+
Date:
|
188
|
+
- Tue, 12 Mar 2013 13:29:42 GMT
|
189
|
+
Server:
|
190
|
+
- Apache/2.2.22 (Ubuntu)
|
191
|
+
X-Powered-By:
|
192
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
193
|
+
X-Frame-Options:
|
194
|
+
- sameorigin
|
195
|
+
X-Xss-Protection:
|
196
|
+
- 1; mode=block
|
197
|
+
Accept:
|
198
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
199
|
+
Set-Cookie:
|
200
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFN2E4NTRmNjhmNjU1YjJiNjliOGZk%0AYTI2NDhkN2RjMzE1NGY4MmZlYmQzYjI1ZGUzNjcyNDVkOWFiNWUxYzMwOUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--f827e521323b9a3df64188e870b7accd57c45170;
|
201
|
+
path=/; HttpOnly
|
202
|
+
Content-Length:
|
203
|
+
- '3444'
|
204
|
+
Status:
|
205
|
+
- '200'
|
206
|
+
Content-Type:
|
207
|
+
- application/json;charset=utf-8
|
208
|
+
body:
|
209
|
+
encoding: US-ASCII
|
210
|
+
string: ! '{"resources":[{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"48e7c51c-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"6c706278-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"7582ffc4-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"8eb0deb2-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"8efa93e0-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"49cbeaee-5b1d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"c87fa76c-5b1e-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"1cc544b2-5b1f-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"38e2a6b2-5b1f-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}}]}'
|
211
|
+
http_version:
|
212
|
+
recorded_at: Tue, 12 Mar 2013 13:29:35 GMT
|
213
|
+
- request:
|
214
|
+
method: get
|
215
|
+
uri: http://141.5.99.69/
|
216
|
+
body:
|
217
|
+
encoding: US-ASCII
|
218
|
+
string: ''
|
219
|
+
headers:
|
220
|
+
Accept:
|
221
|
+
- application/json
|
222
|
+
response:
|
223
|
+
status:
|
224
|
+
code: 200
|
225
|
+
message: OK
|
226
|
+
headers:
|
227
|
+
Date:
|
228
|
+
- Tue, 12 Mar 2013 13:29:42 GMT
|
229
|
+
Server:
|
230
|
+
- Apache/2.2.22 (Ubuntu)
|
231
|
+
X-Powered-By:
|
232
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
233
|
+
X-Frame-Options:
|
234
|
+
- sameorigin
|
235
|
+
X-Xss-Protection:
|
236
|
+
- 1; mode=block
|
237
|
+
Accept:
|
238
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
239
|
+
Set-Cookie:
|
240
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFMDU2MTY4M2VjMjcxMGY1ZGEwOTJi%0AYTI4YWIwZjc1YmIwYTY5ZjE1NmIzYmY4MTA3NjY2MWY0OGMzZTE4MjRhN0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--a0539607471f06a5405858228fc124c1744ee77e;
|
241
|
+
path=/; HttpOnly
|
242
|
+
Content-Length:
|
243
|
+
- '3444'
|
244
|
+
Status:
|
245
|
+
- '200'
|
246
|
+
Content-Type:
|
247
|
+
- application/json;charset=utf-8
|
248
|
+
body:
|
249
|
+
encoding: US-ASCII
|
250
|
+
string: ! '{"resources":[{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"48e7c51c-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"6c706278-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"7582ffc4-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"8eb0deb2-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"8efa93e0-5a7d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"49cbeaee-5b1d-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"c87fa76c-5b1e-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"1cc544b2-5b1f-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#stop","http://schemas.ogf.org/occi/infrastructure/compute/action#restart","http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"],"attributes":{"occi":{"core":{"id":"38e2a6b2-5b1f-11e2-a300-fa163e16d22f"},"compute":{"state":"active"}}}}]}'
|
251
|
+
http_version:
|
252
|
+
recorded_at: Tue, 12 Mar 2013 13:29:35 GMT
|
253
|
+
- request:
|
254
|
+
method: head
|
255
|
+
uri: http://141.5.99.69/
|
256
|
+
body:
|
257
|
+
encoding: US-ASCII
|
258
|
+
string: ''
|
259
|
+
headers:
|
260
|
+
Accept:
|
261
|
+
- application/json
|
262
|
+
response:
|
263
|
+
status:
|
264
|
+
code: 200
|
265
|
+
message: OK
|
266
|
+
headers:
|
267
|
+
Date:
|
268
|
+
- Tue, 12 Mar 2013 15:27:53 GMT
|
269
|
+
Server:
|
270
|
+
- Apache/2.2.22 (Ubuntu)
|
271
|
+
X-Powered-By:
|
272
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
273
|
+
X-Frame-Options:
|
274
|
+
- sameorigin
|
275
|
+
X-Xss-Protection:
|
276
|
+
- 1; mode=block
|
277
|
+
Accept:
|
278
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
279
|
+
Set-Cookie:
|
280
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFOWU5YjM0OGFmMTc4ODBhMTY1MjYx%0ANTJjZTQ2NzZjMjE4YmY3ODExNDkxZjU5OThmOTRmNDU1NDFjMTZjZmM2ZEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--197a67fdc50a0952ca986c13e213ec8892b4beff;
|
281
|
+
path=/; HttpOnly
|
282
|
+
Content-Length:
|
283
|
+
- '3444'
|
284
|
+
Status:
|
285
|
+
- '200'
|
286
|
+
Content-Type:
|
287
|
+
- application/json;charset=utf-8
|
288
|
+
body:
|
289
|
+
encoding: US-ASCII
|
290
|
+
string: ''
|
291
|
+
http_version:
|
292
|
+
recorded_at: Tue, 12 Mar 2013 15:27:46 GMT
|
293
|
+
- request:
|
294
|
+
method: head
|
295
|
+
uri: http://141.5.99.69/
|
296
|
+
body:
|
297
|
+
encoding: US-ASCII
|
298
|
+
string: ''
|
299
|
+
headers:
|
300
|
+
Accept:
|
301
|
+
- application/json
|
302
|
+
response:
|
303
|
+
status:
|
304
|
+
code: 200
|
305
|
+
message: OK
|
306
|
+
headers:
|
307
|
+
Date:
|
308
|
+
- Tue, 12 Mar 2013 15:27:54 GMT
|
309
|
+
Server:
|
310
|
+
- Apache/2.2.22 (Ubuntu)
|
311
|
+
X-Powered-By:
|
312
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
313
|
+
X-Frame-Options:
|
314
|
+
- sameorigin
|
315
|
+
X-Xss-Protection:
|
316
|
+
- 1; mode=block
|
317
|
+
Accept:
|
318
|
+
- application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
|
319
|
+
Set-Cookie:
|
320
|
+
- rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFY2NkMGVmNDI4ZGRmMmEyODIyYjAx%0AOTQ5MDdjZTljZjNjMDIwNDZmMmFhMmVhYjBkZGVlM2EzODhjY2NhNzExOEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--199003590da3d7ad28f69a8be2c88e694c6f479c;
|
321
|
+
path=/; HttpOnly
|
322
|
+
Content-Length:
|
323
|
+
- '3444'
|
324
|
+
Status:
|
325
|
+
- '200'
|
326
|
+
Content-Type:
|
327
|
+
- application/json;charset=utf-8
|
328
|
+
body:
|
329
|
+
encoding: US-ASCII
|
330
|
+
string: ''
|
331
|
+
http_version:
|
332
|
+
recorded_at: Tue, 12 Mar 2013 15:27:46 GMT
|
173
333
|
recorded_with: VCR 2.4.0
|