occi 3.1.3 → 4.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. metadata +16 -448
  2. data/.gitignore +0 -15
  3. data/.rspec +0 -1
  4. data/.travis.yml +0 -35
  5. data/.yardopts +0 -1
  6. data/AUTHORS +0 -9
  7. data/Gemfile +0 -13
  8. data/LICENSE +0 -13
  9. data/README.md +0 -471
  10. data/Rakefile +0 -37
  11. data/bin/occi +0 -356
  12. data/config/warble.rb +0 -151
  13. data/doc/macosx.md +0 -27
  14. data/examples/dsl_example.rb +0 -167
  15. data/examples/x509auth_example.rb +0 -161
  16. data/ext/mkrf_conf.rb +0 -30
  17. data/features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  18. data/features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  19. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml +0 -333
  20. data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml +0 -529
  21. 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 +0 -288
  22. data/features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  23. data/features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  24. data/features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
  25. data/features/common/step_definitions/common_steps.rb +0 -32
  26. data/features/occi/core/create/create.feature +0 -18
  27. data/features/occi/core/create/step_definitions/create_steps.rb +0 -0
  28. data/features/occi/core/delete/delete.feature +0 -18
  29. data/features/occi/core/delete/step_definitions/delete_steps.rb +0 -0
  30. data/features/occi/core/discovery_interface/discovery_interface.feature +0 -37
  31. data/features/occi/core/discovery_interface/step_definitions/discovery_interface_steps.rb +0 -19
  32. data/features/occi/core/miscellaneous/miscellaneous.feature +0 -18
  33. data/features/occi/core/miscellaneous/step_definitions/miscellaneous_steps.rb +0 -0
  34. data/features/occi/core/read/read.feature +0 -18
  35. data/features/occi/core/read/step_definitions/read_steps.rb +0 -0
  36. data/features/occi/core/update/step_definitions/update_steps.rb +0 -0
  37. data/features/occi/core/update/update.feature +0 -18
  38. data/features/occi/infrastructure/create/create.feature +0 -18
  39. data/features/occi/infrastructure/create/step_definitions/create_steps.rb +0 -0
  40. data/features/support/env.rb +0 -16
  41. data/lib/occi.rb +0 -57
  42. data/lib/occi/api/client/client_amqp.rb +0 -767
  43. data/lib/occi/api/client/client_http.rb +0 -1100
  44. data/lib/occi/api/client/http/authn_utils.rb +0 -82
  45. data/lib/occi/api/client/http/httparty_fix.rb +0 -53
  46. data/lib/occi/api/client/http/net_http_fix.rb +0 -21
  47. data/lib/occi/api/dsl.rb +0 -146
  48. data/lib/occi/bin/helpers.rb +0 -149
  49. data/lib/occi/bin/occi_opts.rb +0 -384
  50. data/lib/occi/bin/resource_output_factory.rb +0 -97
  51. data/lib/occi/bin/templates/compute.erb +0 -18
  52. data/lib/occi/bin/templates/network.erb +0 -9
  53. data/lib/occi/bin/templates/os_tpl.erb +0 -7
  54. data/lib/occi/bin/templates/resource_tpl.erb +0 -7
  55. data/lib/occi/bin/templates/storage.erb +0 -8
  56. data/lib/occi/collection.rb +0 -186
  57. data/lib/occi/core.rb +0 -30
  58. data/lib/occi/core/action.rb +0 -32
  59. data/lib/occi/core/action_instance.rb +0 -24
  60. data/lib/occi/core/actions.rb +0 -22
  61. data/lib/occi/core/attribute_properties.rb +0 -52
  62. data/lib/occi/core/attributes.rb +0 -61
  63. data/lib/occi/core/categories.rb +0 -54
  64. data/lib/occi/core/category.rb +0 -149
  65. data/lib/occi/core/entities.rb +0 -50
  66. data/lib/occi/core/entity.rb +0 -246
  67. data/lib/occi/core/kind.rb +0 -58
  68. data/lib/occi/core/kinds.rb +0 -22
  69. data/lib/occi/core/link.rb +0 -100
  70. data/lib/occi/core/links.rb +0 -34
  71. data/lib/occi/core/mixin.rb +0 -55
  72. data/lib/occi/core/mixins.rb +0 -22
  73. data/lib/occi/core/related.rb +0 -20
  74. data/lib/occi/core/resource.rb +0 -76
  75. data/lib/occi/core/resources.rb +0 -14
  76. data/lib/occi/infrastructure.rb +0 -27
  77. data/lib/occi/infrastructure/compute.rb +0 -159
  78. data/lib/occi/infrastructure/network.rb +0 -131
  79. data/lib/occi/infrastructure/network/ipnetwork.rb +0 -34
  80. data/lib/occi/infrastructure/networkinterface.rb +0 -124
  81. data/lib/occi/infrastructure/networkinterface/ipnetworkinterface.rb +0 -34
  82. data/lib/occi/infrastructure/os_tpl.rb +0 -19
  83. data/lib/occi/infrastructure/resource_tpl.rb +0 -19
  84. data/lib/occi/infrastructure/storage.rb +0 -96
  85. data/lib/occi/infrastructure/storagelink.rb +0 -73
  86. data/lib/occi/log.rb +0 -66
  87. data/lib/occi/model.rb +0 -86
  88. data/lib/occi/parser.rb +0 -413
  89. data/lib/occi/version.rb +0 -3
  90. data/lib/occiantlr/.gitignore +0 -18
  91. data/lib/occiantlr/OCCIANTLR.g +0 -191
  92. data/lib/occiantlr/OCCIANTLR.tokens +0 -57
  93. data/lib/occiantlr/OCCIANTLRLexer.rb +0 -1868
  94. data/lib/occiantlr/OCCIANTLRParser.rb +0 -2906
  95. data/lib/occiantlr/README.md +0 -2
  96. data/occi.gemspec +0 -45
  97. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_compute_resource.yml +0 -266
  98. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_network_resource.yml +0 -266
  99. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/creates_a_new_storage_resource.yml +0 -266
  100. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_compute_resource.yml +0 -266
  101. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_network_resource.yml +0 -266
  102. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_storage_resource.yml +0 -266
  103. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deploys_an_instance_based_on_OVF_OVA_file.yml +0 -266
  104. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_all_available_mixins.yml +0 -266
  105. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_compute_resources.yml +0 -368
  106. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_network_resources.yml +0 -370
  107. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_os_tpl_mixins.yml +0 -266
  108. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_resource_tpl_mixins.yml +0 -266
  109. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_storage_resources.yml +0 -430
  110. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/establishes_connection.yml +0 -266
  111. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_identifier.yml +0 -266
  112. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_compute_resource_using_type_name.yml +0 -266
  113. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_identifier.yml +0 -266
  114. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_network_resource_using_type_name.yml +0 -266
  115. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_identifier.yml +0 -266
  116. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/instantiates_a_storage_resource_using_type_name.yml +0 -266
  117. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_type_identifiers.yml +0 -266
  118. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_entity_types.yml +0 -266
  119. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_type_identifiers.yml +0 -266
  120. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_link_types.yml +0 -266
  121. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_type_identifiers.yml +0 -266
  122. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixin_types.yml +0 -266
  123. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_mixins.yml +0 -266
  124. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_type_identifiers.yml +0 -266
  125. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_all_available_resource_types.yml +0 -266
  126. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_compute_resources.yml +0 -308
  127. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_network_resources.yml +0 -308
  128. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_os_tpl_mixins.yml +0 -266
  129. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_resource_tpl_mixins.yml +0 -266
  130. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml +0 -310
  131. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/refreshes_its_model.yml +0 -485
  132. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_compute_resource.yml +0 -266
  133. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_network_resource.yml +0 -266
  134. data/spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_storage_resource.yml +0 -266
  135. data/spec/occi/api/client/client_amqp_spec.rb +0 -159
  136. data/spec/occi/api/client/client_http_spec.rb +0 -253
  137. data/spec/occi/api/client/http/authn_utils_spec.rb +0 -55
  138. data/spec/occi/api/client/http/httparty_fix_spec.rb +0 -0
  139. data/spec/occi/api/client/http/net_http_fix_spec.rb +0 -0
  140. data/spec/occi/api/client/http/rocci-cred-cert.pem +0 -3
  141. data/spec/occi/api/client/http/rocci-cred-key-jruby.pem +0 -3
  142. data/spec/occi/api/client/http/rocci-cred-key.pem +0 -3
  143. data/spec/occi/api/client/http/rocci-cred.p12 +0 -0
  144. data/spec/occi/api/dsl_spec.rb +0 -22
  145. data/spec/occi/bin/helpers_spec.rb +0 -12
  146. data/spec/occi/bin/occi_opts_spec.rb +0 -60
  147. data/spec/occi/bin/resource_output_factory_spec.rb +0 -12
  148. data/spec/occi/collection_spec.rb +0 -41
  149. data/spec/occi/core/categories_spec.rb +0 -30
  150. data/spec/occi/core/category_spec.rb +0 -41
  151. data/spec/occi/core/entity_spec.rb +0 -52
  152. data/spec/occi/core/resource_spec.rb +0 -21
  153. data/spec/occi/infrastructure/compute_spec.rb +0 -32
  154. data/spec/occi/log_spec.rb +0 -17
  155. data/spec/occi/model_spec.rb +0 -51
  156. data/spec/occi/parser_spec.rb +0 -114
  157. data/spec/occi/test.json +0 -33
  158. data/spec/occi/test.ova +0 -0
  159. data/spec/occi/test.ovf +0 -198
  160. data/spec/occiantlr/parser_spec.rb +0 -82
  161. data/spec/spec_helper.rb +0 -43
@@ -1,485 +0,0 @@
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, 10 Jan 2013 17:44:39 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=ec9b4b21351052e5aPTUJs; domain=localhost; path=/;
31
- secure
32
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTIyZmM5ZmI2OTliY2JiZWQyMjYz%0AN2IyNTQ3NjMyMDkxYTFkNWVhOGIwYjVkYTNhYTllMTYyYjdkZTZiMzhkY0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--24c9906d0e0c02c6976b065151f161a7e299022a;
33
- path=/; HttpOnly
34
- Content-Length:
35
- - '294'
36
- Status:
37
- - '200'
38
- Vary:
39
- - Accept-Encoding
40
- Content-Type:
41
- - text/plain;charset=utf-8
42
- body:
43
- encoding: US-ASCII
44
- string: ''
45
- http_version:
46
- recorded_at: Thu, 10 Jan 2013 17:44:39 GMT
47
- - request:
48
- method: head
49
- uri: https://localhost:3300/
50
- body:
51
- encoding: US-ASCII
52
- string: ''
53
- headers:
54
- Accept:
55
- - text/plain,text/occi
56
- response:
57
- status:
58
- code: 200
59
- message: OK
60
- headers:
61
- Date:
62
- - Thu, 10 Jan 2013 17:45:43 GMT
63
- Server:
64
- - Apache/2.2.20 (Ubuntu)
65
- X-Powered-By:
66
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
67
- X-Frame-Options:
68
- - sameorigin
69
- X-Xss-Protection:
70
- - 1; mode=block
71
- Accept:
72
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
73
- Set-Cookie:
74
- - GRIDHTTP_PASSCODE=23378ddfc811a268qMhXlU; domain=localhost; path=/;
75
- secure
76
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZjViYTc3NzA5ZTI3Y2E5YzRiNjcx%0AZDgzNzY4MGFhZWFjNjE0NjBkY2M2MTY5YTMyMjNkYjY5NDc4ODE5MjhlZkki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--90bf7886587ebf007079f5df947e0ceb8a310569;
77
- path=/; HttpOnly
78
- Content-Length:
79
- - '294'
80
- Status:
81
- - '200'
82
- Vary:
83
- - Accept-Encoding
84
- Content-Type:
85
- - text/plain;charset=utf-8
86
- body:
87
- encoding: US-ASCII
88
- string: ''
89
- http_version:
90
- recorded_at: Thu, 10 Jan 2013 17:45:43 GMT
91
- - request:
92
- method: get
93
- uri: https://localhost:3300/-/
94
- body:
95
- encoding: US-ASCII
96
- string: ''
97
- headers:
98
- Accept:
99
- - text/plain,text/occi
100
- response:
101
- status:
102
- code: 200
103
- message: OK
104
- headers:
105
- Date:
106
- - Thu, 10 Jan 2013 17:45:43 GMT
107
- Server:
108
- - Apache/2.2.20 (Ubuntu)
109
- X-Powered-By:
110
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
111
- X-Frame-Options:
112
- - sameorigin
113
- X-Xss-Protection:
114
- - 1; mode=block
115
- Accept:
116
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
117
- Set-Cookie:
118
- - GRIDHTTP_PASSCODE=416d4de7a27bb847NmwMJR; domain=localhost; path=/;
119
- secure
120
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFNTVhZGFhMWIxNDAxMTA0MjI2OTNh%0AZjZmOWNiNWY0YjA5ZWMyM2I5MDlkMGNiOTE4YjE1YzJmMDg2NjQ1ZmYzM0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--25b8a7f39b71ca511baa01b7b561972809e56857;
121
- path=/; HttpOnly
122
- Content-Length:
123
- - '8975'
124
- Status:
125
- - '200'
126
- Vary:
127
- - Accept-Encoding
128
- Content-Type:
129
- - text/plain;charset=utf-8
130
- body:
131
- encoding: US-ASCII
132
- string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id
133
- occi.core.title"
134
-
135
- 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"
136
-
137
- 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
138
- occi.core.source"
139
-
140
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute
141
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture
142
- occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory
143
- occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
144
- http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
145
- http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
146
-
147
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
148
- Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
149
- occi.storagelink.mountpoint occi.storagelink.state"
150
-
151
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
152
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
153
- occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
154
- org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
155
- org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
156
- http://schemas.ogf.org/occi/infrastructure/network/action#down"
157
-
158
- Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
159
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
160
- occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
161
- org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
162
- org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
163
- http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
164
- http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
165
-
166
- 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
167
- occi.networkinterface.mac occi.networkinterface.state"
168
-
169
- Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
170
- to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
171
-
172
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
173
- System Template";location="/mixins/os_tpl/"
174
-
175
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
176
- Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
177
- occi.network.gateway occi.network.allocation occi.network.state"
178
-
179
- Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
180
- Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
181
- occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
182
-
183
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
184
- Template";location="/mixins/resource_tpl/"
185
-
186
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
187
- specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
188
- org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
189
- org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
190
-
191
- Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
192
- specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
193
- org.opennebula.storagelink.driver"
194
-
195
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
196
- specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
197
- org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
198
- org.opennebula.network.ip_start org.opennebula.network.ip_end"
199
-
200
- Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
201
- specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
202
- org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
203
- org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
204
-
205
- Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
206
- specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
207
- org.opennebula.networkinterface.script org.opennebula.networkinterface.model
208
- org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
209
- org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
210
- org.opennebula.networkinterface.icmp"
211
-
212
- Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
213
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
214
- occi.compute.cores occi.compute.speed occi.compute.memory"
215
-
216
- Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
217
- Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
218
- occi.compute.cores occi.compute.speed occi.compute.memory"
219
-
220
- Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
221
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
222
- occi.compute.cores occi.compute.speed occi.compute.memory"
223
-
224
- Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
225
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
226
- occi.compute.cores occi.compute.speed occi.compute.memory"
227
-
228
- 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/"
229
-
230
- Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
231
- Compute instance"
232
-
233
- Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop
234
- Compute instance";attributes="method"
235
-
236
- Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart
237
- Compute instance";attributes="method"
238
-
239
- Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
240
- Compute instance";attributes="method"
241
-
242
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
243
- network"
244
-
245
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#up";class="action";title="Activate
246
- network"
247
-
248
- Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
249
- Storage"
250
-
251
- Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate
252
- Storage"
253
-
254
- Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup
255
- Storage"
256
-
257
- Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot
258
- Storage"
259
-
260
- Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
261
- Storage";attributes="size"
262
-
263
- '
264
- http_version:
265
- recorded_at: Thu, 10 Jan 2013 17:45:43 GMT
266
- - request:
267
- method: head
268
- uri: https://localhost:3300/
269
- body:
270
- encoding: US-ASCII
271
- string: ''
272
- headers:
273
- Accept:
274
- - text/plain,text/occi;q=0.2
275
- response:
276
- status:
277
- code: 200
278
- message: OK
279
- headers:
280
- Date:
281
- - Thu, 10 Jan 2013 17:44:39 GMT
282
- Server:
283
- - Apache/2.2.20 (Ubuntu)
284
- X-Powered-By:
285
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
286
- X-Frame-Options:
287
- - sameorigin
288
- X-Xss-Protection:
289
- - 1; mode=block
290
- Accept:
291
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
292
- Set-Cookie:
293
- - GRIDHTTP_PASSCODE=ec9b4b21351052e5aPTUJs; domain=localhost; path=/;
294
- secure
295
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFZTIyZmM5ZmI2OTliY2JiZWQyMjYz%0AN2IyNTQ3NjMyMDkxYTFkNWVhOGIwYjVkYTNhYTllMTYyYjdkZTZiMzhkY0ki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--24c9906d0e0c02c6976b065151f161a7e299022a;
296
- path=/; HttpOnly
297
- Content-Length:
298
- - '294'
299
- Status:
300
- - '200'
301
- Vary:
302
- - Accept-Encoding
303
- Content-Type:
304
- - text/plain;charset=utf-8
305
- body:
306
- encoding: US-ASCII
307
- string: ''
308
- http_version:
309
- recorded_at: Thu, 10 Jan 2013 17:44:39 GMT
310
- - request:
311
- method: get
312
- uri: https://localhost:3300/-/
313
- body:
314
- encoding: US-ASCII
315
- string: ''
316
- headers:
317
- Accept:
318
- - text/plain,text/occi
319
- response:
320
- status:
321
- code: 200
322
- message: OK
323
- headers:
324
- Date:
325
- - Thu, 10 Jan 2013 17:45:44 GMT
326
- Server:
327
- - Apache/2.2.20 (Ubuntu)
328
- X-Powered-By:
329
- - Phusion Passenger (mod_rails/mod_rack) 3.0.12
330
- X-Frame-Options:
331
- - sameorigin
332
- X-Xss-Protection:
333
- - 1; mode=block
334
- Accept:
335
- - application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml,text/occi
336
- Set-Cookie:
337
- - GRIDHTTP_PASSCODE=a6fae8178008ce22N1w4CG; domain=localhost; path=/;
338
- secure
339
- - rack.session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiJFNWExZDg2ZGI2MTBiN2E5Zjc1OTYy%0AMzkyYmE0MDZkZjliMzAwNDY5ODY3MWZiNjFhOWUyNjI5YWYwMmZmN2Q3MUki%0ADXRyYWNraW5nBjsARnsISSIUSFRUUF9VU0VSX0FHRU5UBjsARiItZGEzOWEz%0AZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUND%0ARVBUX0VOQ09ESU5HBjsARiItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2%0AMDE4OTBhZmQ4MDcwOUkiGUhUVFBfQUNDRVBUX0xBTkdVQUdFBjsARiItZGEz%0AOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ%3D%3D%0A--4129ed877cba9333f2f61d5de80461680579fe90;
340
- path=/; HttpOnly
341
- Content-Length:
342
- - '8975'
343
- Status:
344
- - '200'
345
- Vary:
346
- - Accept-Encoding
347
- Content-Type:
348
- - text/plain;charset=utf-8
349
- body:
350
- encoding: US-ASCII
351
- string: ! 'Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id
352
- occi.core.title"
353
-
354
- Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.summary"
355
-
356
- Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.target
357
- occi.core.source"
358
-
359
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute
360
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture
361
- occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory
362
- occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#start
363
- http://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restart
364
- http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
365
-
366
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
367
- Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid
368
- occi.storagelink.mountpoint occi.storagelink.state"
369
-
370
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network
371
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan
372
- occi.network.label occi.network.state org.opennebula.network.id org.opennebula.network.bridge
373
- org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start
374
- org.opennebula.network.ip_end";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up
375
- http://schemas.ogf.org/occi/infrastructure/network/action#down"
376
-
377
- Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage
378
- Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size
379
- occi.storage.state org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.persistent
380
- org.opennebula.storage.dev_prefix org.opennebula.storage.bus org.opennebula.storage.driver
381
- org.opennebula.storage.fstype";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online
382
- http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup
383
- http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
384
-
385
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="occi.networkinterface.interface
386
- occi.networkinterface.mac occi.networkinterface.state"
387
-
388
- Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link
389
- to the VM''s console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
390
-
391
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating
392
- System Template";location="/mixins/os_tpl/"
393
-
394
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP
395
- Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address
396
- occi.network.gateway occi.network.allocation occi.network.state"
397
-
398
- Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP
399
- Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address
400
- occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
401
-
402
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource
403
- Template";location="/mixins/resource_tpl/"
404
-
405
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
406
- specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu
407
- org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root
408
- org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
409
-
410
- Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
411
- specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus
412
- org.opennebula.storagelink.driver"
413
-
414
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
415
- specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id
416
- org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev
417
- org.opennebula.network.ip_start org.opennebula.network.ip_end"
418
-
419
- Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
420
- specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.id
421
- org.opennebula.storage.type org.opennebula.storage.persistent org.opennebula.storage.dev_prefix
422
- org.opennebula.storage.bus org.opennebula.storage.driver org.opennebula.storage.fstype"
423
-
424
- Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula
425
- specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge
426
- org.opennebula.networkinterface.script org.opennebula.networkinterface.model
427
- org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp
428
- org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp
429
- org.opennebula.networkinterface.icmp"
430
-
431
- Category: large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Large
432
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture
433
- occi.compute.cores occi.compute.speed occi.compute.memory"
434
-
435
- Category: extra_large;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Extra
436
- Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture
437
- occi.compute.cores occi.compute.speed occi.compute.memory"
438
-
439
- Category: medium;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Medium
440
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture
441
- occi.compute.cores occi.compute.speed occi.compute.memory"
442
-
443
- Category: small;scheme="http://occi.localhost:3300/occi/infrastructure/resource_tpl#";class="mixin";title="Small
444
- Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture
445
- occi.compute.cores occi.compute.speed occi.compute.memory"
446
-
447
- Category: mytesttemplate;scheme="http://occi.localhost:3300/occi/infrastructure/os_tpl#";class="mixin";title="MyTestTemplate";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/mytesttemplate/"
448
-
449
- Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start
450
- Compute instance"
451
-
452
- Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop
453
- Compute instance";attributes="method"
454
-
455
- Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart
456
- Compute instance";attributes="method"
457
-
458
- Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend
459
- Compute instance";attributes="method"
460
-
461
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate
462
- network"
463
-
464
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#up";class="action";title="Activate
465
- network"
466
-
467
- Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate
468
- Storage"
469
-
470
- Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate
471
- Storage"
472
-
473
- Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup
474
- Storage"
475
-
476
- Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot
477
- Storage"
478
-
479
- Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize
480
- Storage";attributes="size"
481
-
482
- '
483
- http_version:
484
- recorded_at: Thu, 10 Jan 2013 17:45:44 GMT
485
- recorded_with: VCR 2.4.0