occi-api 4.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.gitignore +15 -0
  2. data/.rspec +1 -0
  3. data/.travis.yml +43 -0
  4. data/.yardopts +1 -0
  5. data/AUTHORS +9 -0
  6. data/Gemfile +16 -0
  7. data/LICENSE +13 -0
  8. data/README.md +344 -0
  9. data/Rakefile +37 -0
  10. data/examples/dsl_example.rb +167 -0
  11. data/examples/x509auth_example.rb +161 -0
  12. data/ext/mkrf_conf.rb +34 -0
  13. data/features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +288 -0
  14. data/features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +288 -0
  15. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml +333 -0
  16. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml +529 -0
  17. 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 +288 -0
  18. data/features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +288 -0
  19. data/features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +288 -0
  20. data/features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +288 -0
  21. data/features/common/step_definitions/common_steps.rb +32 -0
  22. data/features/occi/core/create/create.feature +18 -0
  23. data/features/occi/core/create/step_definitions/create_steps.rb +0 -0
  24. data/features/occi/core/delete/delete.feature +18 -0
  25. data/features/occi/core/delete/step_definitions/delete_steps.rb +0 -0
  26. data/features/occi/core/discovery_interface/discovery_interface.feature +37 -0
  27. data/features/occi/core/discovery_interface/step_definitions/discovery_interface_steps.rb +19 -0
  28. data/features/occi/core/miscellaneous/miscellaneous.feature +18 -0
  29. data/features/occi/core/miscellaneous/step_definitions/miscellaneous_steps.rb +0 -0
  30. data/features/occi/core/read/read.feature +18 -0
  31. data/features/occi/core/read/step_definitions/read_steps.rb +0 -0
  32. data/features/occi/core/update/step_definitions/update_steps.rb +0 -0
  33. data/features/occi/core/update/update.feature +18 -0
  34. data/features/occi/infrastructure/create/create.feature +18 -0
  35. data/features/occi/infrastructure/create/step_definitions/create_steps.rb +0 -0
  36. data/features/support/env.rb +16 -0
  37. data/lib/occi/api/client/client_amqp.rb +766 -0
  38. data/lib/occi/api/client/client_base.rb +689 -0
  39. data/lib/occi/api/client/client_http.rb +541 -0
  40. data/lib/occi/api/client/errors/authn_error.rb +7 -0
  41. data/lib/occi/api/client/errors.rb +1 -0
  42. data/lib/occi/api/client/http/authn_plugins/base.rb +27 -0
  43. data/lib/occi/api/client/http/authn_plugins/basic.rb +22 -0
  44. data/lib/occi/api/client/http/authn_plugins/digest.rb +22 -0
  45. data/lib/occi/api/client/http/authn_plugins/dummy.rb +13 -0
  46. data/lib/occi/api/client/http/authn_plugins/keystone.rb +61 -0
  47. data/lib/occi/api/client/http/authn_plugins/x509.rb +46 -0
  48. data/lib/occi/api/client/http/authn_plugins.rb +6 -0
  49. data/lib/occi/api/client/http/authn_utils.rb +87 -0
  50. data/lib/occi/api/client/http/httparty_fix.rb +53 -0
  51. data/lib/occi/api/client/http/net_http_fix.rb +21 -0
  52. data/lib/occi/api/dsl.rb +146 -0
  53. data/lib/occi/api/version.rb +5 -0
  54. data/lib/occi-api.rb +14 -0
  55. data/occi-api.gemspec +38 -0
  56. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_compute_resource.yml +266 -0
  57. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_network_resource.yml +266 -0
  58. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_storage_resource.yml +266 -0
  59. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_compute_resource.yml +266 -0
  60. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_network_resource.yml +266 -0
  61. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_storage_resource.yml +266 -0
  62. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deploys_an_instance_based_on_OVF_OVA_file.yml +266 -0
  63. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_compute_resources.yml +368 -0
  64. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_network_resources.yml +370 -0
  65. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_storage_resources.yml +430 -0
  66. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +266 -0
  67. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/finds_and_describes_scoped_os_tpl_mixin.yml +266 -0
  68. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/finds_and_describes_scoped_resource_tpl_mixin.yml +266 -0
  69. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/finds_and_describes_unscoped_mixin.yml +266 -0
  70. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_identifier.yml +266 -0
  71. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_name.yml +266 -0
  72. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_identifier.yml +266 -0
  73. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_name.yml +266 -0
  74. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_identifier.yml +266 -0
  75. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_name.yml +266 -0
  76. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_type_identifiers.yml +266 -0
  77. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_types.yml +266 -0
  78. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_type_identifiers.yml +266 -0
  79. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_types.yml +266 -0
  80. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_type_identifiers.yml +266 -0
  81. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_types.yml +266 -0
  82. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixins.yml +266 -0
  83. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_type_identifiers.yml +266 -0
  84. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_types.yml +266 -0
  85. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +308 -0
  86. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +308 -0
  87. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_os_tpl_mixins.yml +266 -0
  88. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_resource_tpl_mixins.yml +266 -0
  89. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +310 -0
  90. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/refreshes_its_model.yml +485 -0
  91. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_compute_resource.yml +266 -0
  92. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_network_resource.yml +266 -0
  93. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_storage_resource.yml +266 -0
  94. data/spec/occi/api/client/client_amqp_spec.rb +158 -0
  95. data/spec/occi/api/client/client_http_spec.rb +292 -0
  96. data/spec/occi/api/client/http/authn_utils_spec.rb +55 -0
  97. data/spec/occi/api/client/http/httparty_fix_spec.rb +0 -0
  98. data/spec/occi/api/client/http/net_http_fix_spec.rb +0 -0
  99. data/spec/occi/api/client/http/rocci-cred-cert.pem +3 -0
  100. data/spec/occi/api/client/http/rocci-cred-key-jruby.pem +3 -0
  101. data/spec/occi/api/client/http/rocci-cred-key.pem +3 -0
  102. data/spec/occi/api/client/http/rocci-cred.p12 +0 -0
  103. data/spec/occi/api/dsl_spec.rb +21 -0
  104. data/spec/spec_helper.rb +38 -0
  105. metadata +379 -0
@@ -0,0 +1,333 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: head
5
+ uri: http://141.5.99.69/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - text/plain
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Thu, 10 Jan 2013 13:52:02 GMT
19
+ Server:
20
+ - Apache/2.2.22 (Ubuntu)
21
+ X-Powered-By:
22
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.18
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
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFODAwNTljMDJkODdiNWZjNDNlNjNj%0AZjkzNzAzYzk0YzRhOGM5MTc1MjkxOWRiMGYzYzM3ZWFjMTQxYjY4OTdmZUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--fb0918431c668ae2d900279499d0c1960155a763;
31
+ path=/; HttpOnly
32
+ Content-Length:
33
+ - '738'
34
+ Status:
35
+ - '200'
36
+ Vary:
37
+ - Accept-Encoding
38
+ Content-Type:
39
+ - text/plain;charset=utf-8
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ''
43
+ http_version:
44
+ recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
45
+ - request:
46
+ method: get
47
+ uri: http://141.5.99.69/-/
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ''
51
+ headers:
52
+ Accept:
53
+ - application/json
54
+ response:
55
+ status:
56
+ code: 200
57
+ message: OK
58
+ headers:
59
+ Date:
60
+ - Thu, 10 Jan 2013 13:52:02 GMT
61
+ Server:
62
+ - Apache/2.2.22 (Ubuntu)
63
+ X-Powered-By:
64
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.18
65
+ X-Frame-Options:
66
+ - sameorigin
67
+ X-Xss-Protection:
68
+ - 1; mode=block
69
+ Accept:
70
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
71
+ Set-Cookie:
72
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFMmQ3ODBmY2JjZmNkMDhiYWJjOWY0%0ANjg2YzA0YTBiYmM2MTFmZTA5ZTFiOWQ4MjQ4NDUyMDkxNGNiOGQ1ZjMxN0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--1dfa99c0a024965c7d38062b7ed677fa1a5751cd;
73
+ path=/; HttpOnly
74
+ Content-Length:
75
+ - '14819'
76
+ Status:
77
+ - '200'
78
+ Content-Type:
79
+ - application/json;charset=utf-8
80
+ body:
81
+ encoding: US-ASCII
82
+ string: ! '{"kinds":[{"scheme":"http://schemas.ogf.org/occi/core#","term":"entity","title":"Entity","attributes":{"occi":{"core":{"id":{"Type":"string","Required":false,"Mutable":false,"Pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"},"title":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#entity"],"scheme":"http://schemas.ogf.org/occi/core#","term":"resource","title":"Resource","attributes":{"occi":{"core":{"summary":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#entity"],"scheme":"http://schemas.ogf.org/occi/core#","term":"link","title":"Link","attributes":{"occi":{"core":{"target":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"},"source":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#start","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"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"compute","title":"Compute
83
+ Resource","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64"},"cores":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"hostname":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*"},"speed":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"memory":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"inactive|active|suspended|error","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#link"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"networkinterface","title":"Networkinterface","attributes":{"occi":{"networkinterface":{"interface":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"mac":{"Mutable":true,"Required":false,"Type":"string","Pattern":"^([0-9a-fA-F]{2}[:-]){5}([0-9a-fA-F]{2})$"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/storage/action#online","http://schemas.ogf.org/occi/infrastructure/storage/action#offline","http://schemas.ogf.org/occi/infrastructure/storage/action#backup","http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot","http://schemas.ogf.org/occi/infrastructure/storage/action#resize"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"storage","title":"Storage
84
+ Resource","attributes":{"occi":{"storage":{"size":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"online|offline|backup|snapshot|resize|degraded","Default":"offline"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/network/action#up","http://schemas.ogf.org/occi/infrastructure/network/action#down"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"network","title":"Network
85
+ Resource","attributes":{"occi":{"network":{"vlan":{"Mutable":true,"Required":false,"Type":"number","Minimum":0,"Maximum":4095,"Pattern":".*"},"label":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive|error","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#link"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"storagelink","title":"Storage
86
+ Link","attributes":{"occi":{"storagelink":{"deviceid":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"mountpoint":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}}],"mixins":[{"scheme":"http://schemas.ogf.org/occi/infrastructure/network#","term":"ipnetwork","title":"IP
87
+ Network Mixin","attributes":{"occi":{"network":{"address":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*(\\/(\\d|\\d\\d|1[0-1]\\d|12[0-8]))$)|(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(\\d|[1-2]\\d|3[0-2]))$)"},"gateway":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"allocation":{"Mutable":true,"Required":false,"Type":"string","Pattern":"dynamic|static"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"resource_tpl","title":"Resource
88
+ Template"},{"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"os_tpl","title":"Operating
89
+ System Template"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/networkinterface#","term":"ipnetworkinterface","title":"IP
90
+ Networkinterface Mixin","attributes":{"occi":{"networkinterface":{"address":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"gateway":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"allocation":{"Mutable":true,"Required":false,"Type":"string","Pattern":"dynamic|static"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#os_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/os_tpl#","term":"my_os","title":"My
91
+ OS Template"},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"large","title":"Large
92
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":false,"Type":"string","Default":"x64","Required":false,"Pattern":".*"},"cores":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":7.5,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"small","title":"Small
93
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64","Default":"x86"},"cores":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":1.7,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"medium","title":"Medium
94
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64","Default":"x86"},"cores":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":3.75,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"extra_large","title":"Extra
95
+ Large Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":false,"Type":"string","Default":"x64","Required":false,"Pattern":".*"},"cores":{"Mutable":false,"Type":"number","Default":4,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":15,"Required":false,"Pattern":".*"}}}}}],"actions":[{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"start","title":"Start
96
+ Compute instance"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"stop","title":"Stop
97
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"graceful|acpioff|poweroff","Default":"poweroff"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"restart","title":"Restart
98
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"graceful|warm|cold","Default":"cold"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"suspend","title":"Suspend
99
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"hibernate|suspend","Default":"suspend"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"online","title":"Activate
100
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"offline","title":"Deactivate
101
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"backup","title":"Backup
102
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"snapshot","title":"Snapshot
103
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"resize","title":"Resize
104
+ Storage","attributes":{"size":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/network/action#","term":"up","title":"Activate
105
+ network"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/network/action#","term":"down","title":"Activate
106
+ network"}]}'
107
+ http_version:
108
+ recorded_at: Thu, 10 Jan 2013 13:52:41 GMT
109
+ - request:
110
+ method: get
111
+ uri: http://141.5.99.69/-/
112
+ body:
113
+ encoding: US-ASCII
114
+ string: ''
115
+ headers:
116
+ Accept:
117
+ - application/json
118
+ response:
119
+ status:
120
+ code: 200
121
+ message: OK
122
+ headers:
123
+ Date:
124
+ - Thu, 10 Jan 2013 13:52:02 GMT
125
+ Server:
126
+ - Apache/2.2.22 (Ubuntu)
127
+ X-Powered-By:
128
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.18
129
+ X-Frame-Options:
130
+ - sameorigin
131
+ X-Xss-Protection:
132
+ - 1; mode=block
133
+ Accept:
134
+ - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
135
+ Set-Cookie:
136
+ - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFMTMxNDg0MDNmYjcyNzk1ODJkODBh%0AYjRiODBlZDU2NWU1MjBhMjllZDJjNDAyZWRhZmJkZWJmNGNkZDBlZjUzOEki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--54c35b2052a49ee5dd9b94aa108e42786cc54f69;
137
+ path=/; HttpOnly
138
+ Content-Length:
139
+ - '14819'
140
+ Status:
141
+ - '200'
142
+ Content-Type:
143
+ - application/json;charset=utf-8
144
+ body:
145
+ encoding: US-ASCII
146
+ string: ! '{"kinds":[{"scheme":"http://schemas.ogf.org/occi/core#","term":"entity","title":"Entity","attributes":{"occi":{"core":{"id":{"Type":"string","Required":false,"Mutable":false,"Pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"},"title":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#entity"],"scheme":"http://schemas.ogf.org/occi/core#","term":"resource","title":"Resource","attributes":{"occi":{"core":{"summary":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#entity"],"scheme":"http://schemas.ogf.org/occi/core#","term":"link","title":"Link","attributes":{"occi":{"core":{"target":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"},"source":{"Type":"string","Required":false,"Mutable":true,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/compute/action#start","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"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"compute","title":"Compute
147
+ Resource","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64"},"cores":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"hostname":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*"},"speed":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"memory":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"inactive|active|suspended|error","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#link"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"networkinterface","title":"Networkinterface","attributes":{"occi":{"networkinterface":{"interface":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"mac":{"Mutable":true,"Required":false,"Type":"string","Pattern":"^([0-9a-fA-F]{2}[:-]){5}([0-9a-fA-F]{2})$"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/storage/action#online","http://schemas.ogf.org/occi/infrastructure/storage/action#offline","http://schemas.ogf.org/occi/infrastructure/storage/action#backup","http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot","http://schemas.ogf.org/occi/infrastructure/storage/action#resize"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"storage","title":"Storage
148
+ Resource","attributes":{"occi":{"storage":{"size":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"online|offline|backup|snapshot|resize|degraded","Default":"offline"}}}}},{"related":["http://schemas.ogf.org/occi/core#resource"],"actions":["http://schemas.ogf.org/occi/infrastructure/network/action#up","http://schemas.ogf.org/occi/infrastructure/network/action#down"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"network","title":"Network
149
+ Resource","attributes":{"occi":{"network":{"vlan":{"Mutable":true,"Required":false,"Type":"number","Minimum":0,"Maximum":4095,"Pattern":".*"},"label":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive|error","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/core#link"],"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"storagelink","title":"Storage
150
+ Link","attributes":{"occi":{"storagelink":{"deviceid":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"mountpoint":{"Mutable":true,"Required":false,"Type":"string","Pattern":".*"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}}],"mixins":[{"scheme":"http://schemas.ogf.org/occi/infrastructure/network#","term":"ipnetwork","title":"IP
151
+ Network Mixin","attributes":{"occi":{"network":{"address":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*(\\/(\\d|\\d\\d|1[0-1]\\d|12[0-8]))$)|(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(\\d|[1-2]\\d|3[0-2]))$)"},"gateway":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"allocation":{"Mutable":true,"Required":false,"Type":"string","Pattern":"dynamic|static"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"resource_tpl","title":"Resource
152
+ Template"},{"scheme":"http://schemas.ogf.org/occi/infrastructure#","term":"os_tpl","title":"Operating
153
+ System Template"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/networkinterface#","term":"ipnetworkinterface","title":"IP
154
+ Networkinterface Mixin","attributes":{"occi":{"networkinterface":{"address":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"gateway":{"Mutable":true,"Required":false,"Type":"string","Pattern":"(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*)"},"allocation":{"Mutable":true,"Required":false,"Type":"string","Pattern":"dynamic|static"},"state":{"Mutable":false,"Required":false,"Type":"string","Pattern":"active|inactive","Default":"inactive"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#os_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/os_tpl#","term":"my_os","title":"My
155
+ OS Template"},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"large","title":"Large
156
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":false,"Type":"string","Default":"x64","Required":false,"Pattern":".*"},"cores":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":7.5,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"small","title":"Small
157
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64","Default":"x86"},"cores":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":1.7,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"medium","title":"Medium
158
+ Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":true,"Required":false,"Type":"string","Pattern":"x86|x64","Default":"x86"},"cores":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":1,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":3.75,"Required":false,"Pattern":".*"}}}}},{"related":["http://schemas.ogf.org/occi/infrastructure#resource_tpl"],"scheme":"http://my.occi.service/occi/infrastructure/resource_tpl#","term":"extra_large","title":"Extra
159
+ Large Instance","attributes":{"occi":{"compute":{"architecture":{"Mutable":false,"Type":"string","Default":"x64","Required":false,"Pattern":".*"},"cores":{"Mutable":false,"Type":"number","Default":4,"Required":false,"Pattern":".*"},"speed":{"Mutable":false,"Type":"number","Default":2,"Required":false,"Pattern":".*"},"memory":{"Mutable":false,"Type":"number","Default":15,"Required":false,"Pattern":".*"}}}}}],"actions":[{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"start","title":"Start
160
+ Compute instance"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"stop","title":"Stop
161
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"graceful|acpioff|poweroff","Default":"poweroff"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"restart","title":"Restart
162
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"graceful|warm|cold","Default":"cold"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/compute/action#","term":"suspend","title":"Suspend
163
+ Compute instance","attributes":{"method":{"Mutable":true,"Required":false,"Type":"string","Pattern":"hibernate|suspend","Default":"suspend"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"online","title":"Activate
164
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"offline","title":"Deactivate
165
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"backup","title":"Backup
166
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"snapshot","title":"Snapshot
167
+ Storage"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/storage/action#","term":"resize","title":"Resize
168
+ Storage","attributes":{"size":{"Mutable":true,"Required":false,"Type":"number","Pattern":".*"}}},{"scheme":"http://schemas.ogf.org/occi/infrastructure/network/action#","term":"up","title":"Activate
169
+ network"},{"scheme":"http://schemas.ogf.org/occi/infrastructure/network/action#","term":"down","title":"Activate
170
+ network"}]}'
171
+ http_version:
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
333
+ recorded_with: VCR 2.4.0