occi-core 4.3.6 → 5.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. checksums.yaml +4 -4
  2. data/.fasterer.yml +3 -0
  3. data/.gitignore +9 -16
  4. data/.rspec +1 -1
  5. data/.rubocop.yml +69 -0
  6. data/.travis.yml +27 -0
  7. data/AUTHORS +8 -6
  8. data/CHANGELOG.md +0 -0
  9. data/Gemfile +1 -1
  10. data/LICENSE +1 -1
  11. data/README.md +25 -170
  12. data/Rakefile +25 -17
  13. data/examples/initialize_model.rb +10 -0
  14. data/examples/parse_action_instance_json.rb +15 -0
  15. data/examples/parse_action_instance_text.rb +15 -0
  16. data/examples/parse_categories_json.rb +15 -0
  17. data/examples/parse_categories_text.rb +15 -0
  18. data/examples/parse_instance_json.rb +15 -0
  19. data/examples/parse_instance_text.rb +15 -0
  20. data/examples/parse_model_json.rb +9 -0
  21. data/examples/parse_model_text.rb +9 -0
  22. data/examples/render_action_instance_json.rb +17 -0
  23. data/examples/render_action_instance_text.rb +17 -0
  24. data/examples/render_instance_json.rb +20 -0
  25. data/examples/render_instance_text.rb +20 -0
  26. data/examples/render_model_json.rb +12 -0
  27. data/examples/render_model_text.rb +12 -0
  28. data/examples/rendering/action_instance.json +6 -0
  29. data/examples/rendering/action_instance.txt +2 -0
  30. data/examples/rendering/categories.json +78 -0
  31. data/examples/rendering/categories.txt +4 -0
  32. data/examples/rendering/instance.json +70 -0
  33. data/examples/rendering/instance.txt +12 -0
  34. data/examples/rendering/model.alt.json +1716 -0
  35. data/examples/rendering/model.json +785 -0
  36. data/examples/rendering/model.txt +68 -0
  37. data/lib/occi/core/action.rb +12 -26
  38. data/lib/occi/core/action_instance.rb +109 -65
  39. data/lib/occi/core/attribute.rb +136 -0
  40. data/lib/occi/core/attribute_definition.rb +269 -0
  41. data/lib/occi/core/category.rb +110 -83
  42. data/lib/occi/core/collection.rb +255 -0
  43. data/lib/occi/core/constants.rb +14 -0
  44. data/lib/occi/core/entity.rb +301 -195
  45. data/lib/occi/core/errors/.gitkeep +0 -0
  46. data/lib/occi/core/errors/attribute_definition_error.rb +11 -0
  47. data/lib/occi/core/errors/attribute_validation_error.rb +13 -0
  48. data/lib/occi/core/errors/category_validation_error.rb +13 -0
  49. data/lib/occi/core/errors/collection_lookup_error.rb +11 -0
  50. data/lib/occi/core/errors/instance_validation_error.rb +13 -0
  51. data/lib/occi/core/errors/mandatory_argument_error.rb +11 -0
  52. data/lib/occi/core/errors/model_lookup_error.rb +11 -0
  53. data/lib/occi/core/errors/parser_error.rb +11 -0
  54. data/lib/occi/core/errors/parsing_error.rb +11 -0
  55. data/lib/occi/core/errors/renderer_error.rb +11 -0
  56. data/lib/occi/core/errors/rendering_error.rb +11 -0
  57. data/lib/occi/core/errors/validation_error.rb +11 -0
  58. data/lib/occi/core/errors.rb +9 -0
  59. data/lib/occi/core/helpers/.gitkeep +0 -0
  60. data/lib/occi/core/helpers/argument_validator.rb +27 -0
  61. data/lib/occi/core/helpers/attributes_accessor.rb +22 -0
  62. data/lib/occi/core/helpers/error_handler.rb +29 -0
  63. data/lib/occi/core/helpers/hash_dereferencer.rb +149 -0
  64. data/lib/occi/core/helpers/identifier_validator.rb +135 -0
  65. data/lib/occi/core/helpers/instance_attribute_resetter.rb +131 -0
  66. data/lib/occi/core/helpers/instance_attributes_accessor.rb +30 -0
  67. data/lib/occi/core/helpers/locatable.rb +40 -0
  68. data/lib/occi/core/helpers/parser_dereferencer.rb +96 -0
  69. data/lib/occi/core/helpers/raw_json_parser.rb +18 -0
  70. data/lib/occi/core/helpers/renderable.rb +93 -0
  71. data/lib/occi/core/helpers/yaml_summoner.rb +44 -0
  72. data/lib/occi/core/helpers.rb +13 -0
  73. data/lib/occi/core/instance_builder.rb +162 -0
  74. data/lib/occi/core/kind.rb +100 -132
  75. data/lib/occi/core/link.rb +47 -72
  76. data/lib/occi/core/mixin.rb +76 -61
  77. data/lib/occi/core/model.rb +341 -0
  78. data/lib/occi/core/parsers/.gitkeep +0 -0
  79. data/lib/occi/core/parsers/base_parser.rb +168 -0
  80. data/lib/occi/core/parsers/json/.gitkeep +0 -0
  81. data/lib/occi/core/parsers/json/action_instance.rb +36 -0
  82. data/lib/occi/core/parsers/json/category.rb +113 -0
  83. data/lib/occi/core/parsers/json/entity.rb +156 -0
  84. data/lib/occi/core/parsers/json/validator/.gitkeep +0 -0
  85. data/lib/occi/core/parsers/json/validator/action-instance.json +3 -0
  86. data/lib/occi/core/parsers/json/validator/entity-collection.json +3 -0
  87. data/lib/occi/core/parsers/json/validator/link-collection.json +3 -0
  88. data/lib/occi/core/parsers/json/validator/link.json +3 -0
  89. data/lib/occi/core/parsers/json/validator/locations.json +3 -0
  90. data/lib/occi/core/parsers/json/validator/mixin-collection.json +3 -0
  91. data/lib/occi/core/parsers/json/validator/model.json +3 -0
  92. data/lib/occi/core/parsers/json/validator/occi-schema.json +277 -0
  93. data/lib/occi/core/parsers/json/validator/resource-collection.json +3 -0
  94. data/lib/occi/core/parsers/json/validator/resource.json +3 -0
  95. data/lib/occi/core/parsers/json/validator.rb +87 -0
  96. data/lib/occi/core/parsers/json_parser.rb +128 -0
  97. data/lib/occi/core/parsers/text/.gitkeep +0 -0
  98. data/lib/occi/core/parsers/text/category.rb +183 -0
  99. data/lib/occi/core/parsers/text/constants.rb +89 -0
  100. data/lib/occi/core/parsers/text/entity.rb +257 -0
  101. data/lib/occi/core/parsers/text/location.rb +48 -0
  102. data/lib/occi/core/parsers/text_parser.rb +257 -0
  103. data/lib/occi/core/parsers.rb +18 -0
  104. data/lib/occi/core/renderer_factory.rb +213 -0
  105. data/lib/occi/core/renderers/.gitkeep +0 -0
  106. data/lib/occi/core/renderers/base_renderer.rb +81 -0
  107. data/lib/occi/core/renderers/json/.gitkeep +0 -0
  108. data/lib/occi/core/renderers/json/action_instance.rb +24 -0
  109. data/lib/occi/core/renderers/json/attributes.rb +50 -0
  110. data/lib/occi/core/renderers/json/base.rb +46 -0
  111. data/lib/occi/core/renderers/json/category.rb +85 -0
  112. data/lib/occi/core/renderers/json/collection.rb +52 -0
  113. data/lib/occi/core/renderers/json/instance.rb +39 -0
  114. data/lib/occi/core/renderers/json/link.rb +48 -0
  115. data/lib/occi/core/renderers/json/model.rb +26 -0
  116. data/lib/occi/core/renderers/json/resource.rb +27 -0
  117. data/lib/occi/core/renderers/json_renderer.rb +72 -0
  118. data/lib/occi/core/renderers/text/.gitkeep +0 -0
  119. data/lib/occi/core/renderers/text/action_instance.rb +36 -0
  120. data/lib/occi/core/renderers/text/attributes.rb +87 -0
  121. data/lib/occi/core/renderers/text/base.rb +82 -0
  122. data/lib/occi/core/renderers/text/category.rb +183 -0
  123. data/lib/occi/core/renderers/text/collection.rb +65 -0
  124. data/lib/occi/core/renderers/text/instance.rb +44 -0
  125. data/lib/occi/core/renderers/text/link.rb +40 -0
  126. data/lib/occi/core/renderers/text/model.rb +41 -0
  127. data/lib/occi/core/renderers/text/resource.rb +109 -0
  128. data/lib/occi/core/renderers/text_renderer.rb +72 -0
  129. data/lib/occi/core/renderers.rb +20 -0
  130. data/lib/occi/core/resource.rb +93 -57
  131. data/lib/occi/core/utils/.gitkeep +0 -0
  132. data/lib/occi/core/version.rb +17 -0
  133. data/lib/occi/core/warehouse/actions/.gitkeep +0 -0
  134. data/lib/occi/core/warehouse/actions/attributes/.gitkeep +0 -0
  135. data/lib/occi/core/warehouse/kinds/.gitkeep +0 -0
  136. data/lib/occi/core/warehouse/kinds/attributes/.gitkeep +0 -0
  137. data/lib/occi/core/warehouse/kinds/attributes/occi.core.id.yml +7 -0
  138. data/lib/occi/core/warehouse/kinds/attributes/occi.core.source.yml +7 -0
  139. data/lib/occi/core/warehouse/kinds/attributes/occi.core.summary.yml +7 -0
  140. data/lib/occi/core/warehouse/kinds/attributes/occi.core.target.yml +7 -0
  141. data/lib/occi/core/warehouse/kinds/attributes/occi.core.title.yml +7 -0
  142. data/lib/occi/core/warehouse/kinds/entity.yml +10 -0
  143. data/lib/occi/core/warehouse/kinds/link.yml +10 -0
  144. data/lib/occi/core/warehouse/kinds/resource.yml +9 -0
  145. data/lib/occi/core/warehouse/mixins/.gitkeep +0 -0
  146. data/lib/occi/core/warehouse/mixins/attributes/.gitkeep +0 -0
  147. data/lib/occi/core/warehouse.rb +115 -0
  148. data/lib/occi/core.rb +59 -23
  149. data/lib/occi/infrastructure/compute.rb +5 -122
  150. data/lib/occi/infrastructure/constants.rb +25 -0
  151. data/lib/occi/infrastructure/instance_builder.rb +24 -0
  152. data/lib/occi/infrastructure/mixins/.gitkeep +0 -0
  153. data/lib/occi/infrastructure/mixins/os_tpl.rb +19 -0
  154. data/lib/occi/infrastructure/mixins/resource_tpl.rb +19 -0
  155. data/lib/occi/infrastructure/mixins.rb +12 -0
  156. data/lib/occi/infrastructure/model.rb +27 -0
  157. data/lib/occi/infrastructure/network.rb +5 -104
  158. data/lib/occi/infrastructure/networkinterface.rb +5 -100
  159. data/lib/occi/infrastructure/storage.rb +5 -59
  160. data/lib/occi/infrastructure/storagelink.rb +5 -54
  161. data/lib/occi/infrastructure/version.rb +5 -0
  162. data/lib/occi/infrastructure/warehouse/actions/.gitkeep +0 -0
  163. data/lib/occi/infrastructure/warehouse/actions/attributes/.gitkeep +0 -0
  164. data/lib/occi/infrastructure/warehouse/actions/compute_restart.yml +12 -0
  165. data/lib/occi/infrastructure/warehouse/actions/compute_save.yml +19 -0
  166. data/lib/occi/infrastructure/warehouse/actions/compute_start.yml +4 -0
  167. data/lib/occi/infrastructure/warehouse/actions/compute_stop.yml +12 -0
  168. data/lib/occi/infrastructure/warehouse/actions/compute_suspend.yml +12 -0
  169. data/lib/occi/infrastructure/warehouse/actions/network_down.yml +4 -0
  170. data/lib/occi/infrastructure/warehouse/actions/network_up.yml +4 -0
  171. data/lib/occi/infrastructure/warehouse/actions/networkinterface_down.yml +4 -0
  172. data/lib/occi/infrastructure/warehouse/actions/networkinterface_up.yml +4 -0
  173. data/lib/occi/infrastructure/warehouse/actions/storage_backup.yml +4 -0
  174. data/lib/occi/infrastructure/warehouse/actions/storage_offline.yml +4 -0
  175. data/lib/occi/infrastructure/warehouse/actions/storage_online.yml +4 -0
  176. data/lib/occi/infrastructure/warehouse/actions/storage_resize.yml +12 -0
  177. data/lib/occi/infrastructure/warehouse/actions/storage_snapshot.yml +4 -0
  178. data/lib/occi/infrastructure/warehouse/actions/storagelink_offline.yml +4 -0
  179. data/lib/occi/infrastructure/warehouse/actions/storagelink_online.yml +4 -0
  180. data/lib/occi/infrastructure/warehouse/kinds/.gitkeep +0 -0
  181. data/lib/occi/infrastructure/warehouse/kinds/attributes/.gitkeep +0 -0
  182. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.architecture.yml +7 -0
  183. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.cores.yml +7 -0
  184. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.hostname.yml +7 -0
  185. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.memory.yml +7 -0
  186. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.speed.yml +7 -0
  187. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.compute.state.yml +7 -0
  188. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.network.label.yml +7 -0
  189. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.network.state.yml +7 -0
  190. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.network.vlan.yml +7 -0
  191. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.networkinterface.interface.yml +7 -0
  192. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.networkinterface.mac.yml +7 -0
  193. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.networkinterface.state.yml +7 -0
  194. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.storage.size.yml +7 -0
  195. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.storage.state.yml +7 -0
  196. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.storagelink.deviceid.yml +7 -0
  197. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.storagelink.mountpoint.yml +7 -0
  198. data/lib/occi/infrastructure/warehouse/kinds/attributes/occi.storagelink.state.yml +7 -0
  199. data/lib/occi/infrastructure/warehouse/kinds/compute.yml +19 -0
  200. data/lib/occi/infrastructure/warehouse/kinds/network.yml +13 -0
  201. data/lib/occi/infrastructure/warehouse/kinds/networkinterface.yml +13 -0
  202. data/lib/occi/infrastructure/warehouse/kinds/storage.yml +15 -0
  203. data/lib/occi/infrastructure/warehouse/kinds/storagelink.yml +13 -0
  204. data/lib/occi/infrastructure/warehouse/mixins/.gitkeep +0 -0
  205. data/lib/occi/infrastructure/warehouse/mixins/attributes/.gitkeep +0 -0
  206. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.address.yml +7 -0
  207. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.allocation.yml +7 -0
  208. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.gateway.yml +7 -0
  209. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.networkinterface.address.yml +7 -0
  210. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.networkinterface.allocation.yml +7 -0
  211. data/lib/occi/infrastructure/warehouse/mixins/attributes/occi.networkinterface.gateway.yml +7 -0
  212. data/lib/occi/infrastructure/warehouse/mixins/ipnetwork.yml +11 -0
  213. data/lib/occi/infrastructure/warehouse/mixins/ipnetworkinterface.yml +11 -0
  214. data/lib/occi/infrastructure/warehouse.rb +20 -0
  215. data/lib/occi/infrastructure-ext.rb +35 -0
  216. data/lib/occi/infrastructure.rb +34 -19
  217. data/lib/occi/infrastructure_ext/constants.rb +20 -0
  218. data/lib/occi/infrastructure_ext/instance_builder.rb +22 -0
  219. data/lib/occi/infrastructure_ext/ipreservation.rb +9 -0
  220. data/lib/occi/infrastructure_ext/mixins/.gitkeep +0 -0
  221. data/lib/occi/infrastructure_ext/mixins/availability_zone.rb +19 -0
  222. data/lib/occi/infrastructure_ext/mixins.rb +12 -0
  223. data/lib/occi/infrastructure_ext/model.rb +26 -0
  224. data/lib/occi/infrastructure_ext/securitygroup.rb +9 -0
  225. data/lib/occi/infrastructure_ext/securitygrouplink.rb +9 -0
  226. data/lib/occi/infrastructure_ext/version.rb +5 -0
  227. data/lib/occi/infrastructure_ext/warehouse/actions/.gitkeep +0 -0
  228. data/lib/occi/infrastructure_ext/warehouse/actions/attributes/.gitkeep +0 -0
  229. data/lib/occi/infrastructure_ext/warehouse/actions/ipreservation_down.yml +4 -0
  230. data/lib/occi/infrastructure_ext/warehouse/actions/ipreservation_up.yml +4 -0
  231. data/lib/occi/infrastructure_ext/warehouse/kinds/.gitkeep +0 -0
  232. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/.gitkeep +0 -0
  233. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.ipreservation.address.yml +7 -0
  234. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.ipreservation.state.yml +7 -0
  235. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.ipreservation.used.yml +7 -0
  236. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.securitygroup.rules.yml +7 -0
  237. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.securitygroup.state.yml +7 -0
  238. data/lib/occi/infrastructure_ext/warehouse/kinds/attributes/occi.securitygrouplink.state.yml +7 -0
  239. data/lib/occi/infrastructure_ext/warehouse/kinds/ipreservation.yml +13 -0
  240. data/lib/occi/infrastructure_ext/warehouse/kinds/securitygroup.yml +9 -0
  241. data/lib/occi/infrastructure_ext/warehouse/kinds/securitygrouplink.yml +8 -0
  242. data/lib/occi/infrastructure_ext/warehouse/mixins/.gitkeep +0 -0
  243. data/lib/occi/infrastructure_ext/warehouse/mixins/attributes/.gitkeep +0 -0
  244. data/lib/occi/infrastructure_ext/warehouse.rb +20 -0
  245. data/lib/occi/monkey_island/boolean.rb +6 -0
  246. data/lib/occi/monkey_island/hash.rb +4 -0
  247. data/occi-core.gemspec +26 -26
  248. metadata +312 -243
  249. data/.yardopts +0 -1
  250. data/config/occi.yml +0 -4
  251. data/lib/occi/collection.rb +0 -265
  252. data/lib/occi/core/actions.rb +0 -21
  253. data/lib/occi/core/attributes.rb +0 -411
  254. data/lib/occi/core/categories.rb +0 -64
  255. data/lib/occi/core/dependencies.rb +0 -7
  256. data/lib/occi/core/entities.rb +0 -48
  257. data/lib/occi/core/kinds.rb +0 -22
  258. data/lib/occi/core/links.rb +0 -37
  259. data/lib/occi/core/mixins.rb +0 -37
  260. data/lib/occi/core/properties.rb +0 -108
  261. data/lib/occi/core/resources.rb +0 -14
  262. data/lib/occi/errors/attribute_definitions_converted_error.rb +0 -5
  263. data/lib/occi/errors/attribute_missing_error.rb +0 -5
  264. data/lib/occi/errors/attribute_name_invalid_error.rb +0 -5
  265. data/lib/occi/errors/attribute_not_defined_error.rb +0 -5
  266. data/lib/occi/errors/attribute_property_type_error.rb +0 -5
  267. data/lib/occi/errors/attribute_type_error.rb +0 -5
  268. data/lib/occi/errors/category_not_defined_error.rb +0 -5
  269. data/lib/occi/errors/kind_not_defined_error.rb +0 -5
  270. data/lib/occi/errors/parser_input_error.rb +0 -5
  271. data/lib/occi/errors/parser_type_error.rb +0 -5
  272. data/lib/occi/errors.rb +0 -1
  273. data/lib/occi/extensions/hashie.rb +0 -25
  274. data/lib/occi/helpers/comparators/action_instance.rb +0 -22
  275. data/lib/occi/helpers/comparators/attributes.rb +0 -22
  276. data/lib/occi/helpers/comparators/categories.rb +0 -22
  277. data/lib/occi/helpers/comparators/category.rb +0 -22
  278. data/lib/occi/helpers/comparators/collection.rb +0 -40
  279. data/lib/occi/helpers/comparators/entities.rb +0 -22
  280. data/lib/occi/helpers/comparators/entity.rb +0 -22
  281. data/lib/occi/helpers/comparators/properties.rb +0 -26
  282. data/lib/occi/helpers/comparators.rb +0 -1
  283. data/lib/occi/helpers/inspect.rb +0 -12
  284. data/lib/occi/infrastructure/network/ipnetwork.rb +0 -28
  285. data/lib/occi/infrastructure/networkinterface/ipnetworkinterface.rb +0 -28
  286. data/lib/occi/infrastructure/os_tpl.rb +0 -20
  287. data/lib/occi/infrastructure/resource_tpl.rb +0 -20
  288. data/lib/occi/log.rb +0 -71
  289. data/lib/occi/model.rb +0 -87
  290. data/lib/occi/parser/json.rb +0 -38
  291. data/lib/occi/parser/text/constants.rb +0 -89
  292. data/lib/occi/parser/text.rb +0 -280
  293. data/lib/occi/parser.rb +0 -144
  294. data/lib/occi/settings.rb +0 -10
  295. data/lib/occi/version.rb +0 -3
  296. data/lib/occi-core.rb +0 -53
  297. data/spec/helpers/to_plain.rb +0 -39
  298. data/spec/helpers/yaml_hash.rb +0 -32
  299. data/spec/occi/collection_samples/collection1.json +0 -1
  300. data/spec/occi/collection_samples/directory2/collection2.json +0 -1
  301. data/spec/occi/collection_spec.rb +0 -1003
  302. data/spec/occi/core/action_instance_spec.rb +0 -317
  303. data/spec/occi/core/action_spec.rb +0 -71
  304. data/spec/occi/core/attributes_spec.rb +0 -665
  305. data/spec/occi/core/categories_spec.rb +0 -28
  306. data/spec/occi/core/category_spec.rb +0 -216
  307. data/spec/occi/core/entities_spec.rb +0 -160
  308. data/spec/occi/core/entity_spec.rb +0 -374
  309. data/spec/occi/core/kind_spec.rb +0 -182
  310. data/spec/occi/core/link_spec.rb +0 -52
  311. data/spec/occi/core/links_spec.rb +0 -132
  312. data/spec/occi/core/mixin_spec.rb +0 -38
  313. data/spec/occi/core/mixins_spec.rb +0 -107
  314. data/spec/occi/core/properties_spec.rb +0 -171
  315. data/spec/occi/core/resource_spec.rb +0 -42
  316. data/spec/occi/core_spec.rb +0 -12
  317. data/spec/occi/infrastructure/compute_spec.rb +0 -229
  318. data/spec/occi/infrastructure/network_spec.rb +0 -96
  319. data/spec/occi/infrastructure/networkinterface_spec.rb +0 -96
  320. data/spec/occi/infrastructure/storage_spec.rb +0 -33
  321. data/spec/occi/infrastructure/storagelink_spec.rb +0 -45
  322. data/spec/occi/log_spec.rb +0 -117
  323. data/spec/occi/model_spec.rb +0 -256
  324. data/spec/occi/parser/json_samples/test.json +0 -49
  325. data/spec/occi/parser/text_samples/occi_categories.body_plain.expected +0 -2
  326. data/spec/occi/parser/text_samples/occi_categories.expected +0 -2
  327. data/spec/occi/parser/text_samples/occi_categories.parse_headers.expected +0 -2
  328. data/spec/occi/parser/text_samples/occi_categories.text +0 -2
  329. data/spec/occi/parser/text_samples/occi_compute_rocci_server.expected +0 -11
  330. data/spec/occi/parser/text_samples/occi_compute_rocci_server.text +0 -10
  331. data/spec/occi/parser/text_samples/occi_link_resource_instance.body_plain.expected +0 -7
  332. data/spec/occi/parser/text_samples/occi_link_resource_instance.expected +0 -7
  333. data/spec/occi/parser/text_samples/occi_link_resource_instance.parse.expected +0 -7
  334. data/spec/occi/parser/text_samples/occi_link_resource_instance.text +0 -7
  335. data/spec/occi/parser/text_samples/occi_link_simple.expected +0 -7
  336. data/spec/occi/parser/text_samples/occi_link_simple.text +0 -1
  337. data/spec/occi/parser/text_samples/occi_link_w_attributes.expected +0 -7
  338. data/spec/occi/parser/text_samples/occi_link_w_attributes.text +0 -7
  339. data/spec/occi/parser/text_samples/occi_link_w_category.expected +0 -7
  340. data/spec/occi/parser/text_samples/occi_link_w_category.text +0 -3
  341. data/spec/occi/parser/text_samples/occi_model_categories.expected +0 -3
  342. data/spec/occi/parser/text_samples/occi_model_rocci_server.text +0 -51
  343. data/spec/occi/parser/text_samples/occi_network_rocci_server.body_plain.expected +0 -11
  344. data/spec/occi/parser/text_samples/occi_network_rocci_server.expected +0 -11
  345. data/spec/occi/parser/text_samples/occi_network_rocci_server.resource.header.expected +0 -9
  346. data/spec/occi/parser/text_samples/occi_network_rocci_server.resource.rack.expected +0 -9
  347. data/spec/occi/parser/text_samples/occi_network_rocci_server.text +0 -11
  348. data/spec/occi/parser/text_samples/occi_resource_custom_class_w_attributes.parse.expected +0 -15
  349. data/spec/occi/parser/text_samples/occi_resource_custom_class_w_attributes.text +0 -15
  350. data/spec/occi/parser/text_samples/occi_resource_w_attributes.text +0 -11
  351. data/spec/occi/parser/text_samples/occi_resource_w_inline_links.expected +0 -1
  352. data/spec/occi/parser/text_samples/occi_resource_w_inline_links.text +0 -16
  353. data/spec/occi/parser/text_samples/occi_resource_w_inline_links_only.text +0 -13
  354. data/spec/occi/parser/text_samples/occi_storage_rocci_server.expected +0 -9
  355. data/spec/occi/parser/text_samples/occi_storage_rocci_server.text +0 -9
  356. data/spec/occi/parser/text_spec.rb +0 -320
  357. data/spec/occi/parser_spec.rb +0 -259
  358. data/spec/occi-core_spec.rb +0 -31
  359. data/spec/spec_helper.rb +0 -18
@@ -1,256 +0,0 @@
1
- module Occi
2
- describe "Model" do
3
-
4
- context '#get_by_id' do
5
-
6
- context 'Core model' do
7
- let(:model){ Occi::Model.new }
8
- it 'returns correct kind for entity' do
9
- expect(model.get_by_id('http://schemas.ogf.org/occi/core#entity')).to be_kind_of Occi::Core::Kind
10
- end
11
-
12
- it 'returns correct kind for resource' do
13
- expect(model.get_by_id('http://schemas.ogf.org/occi/core#resource')).to be_kind_of Occi::Core::Kind
14
- end
15
-
16
- it 'returns correct kind for resource' do
17
- expect(model.get_by_id('http://schemas.ogf.org/occi/core#link')).to be_kind_of Occi::Core::Kind
18
- end
19
- end
20
-
21
- context 'Infrastructure model' do
22
- let(:model){ model = Occi::Model.new
23
- model.register_infrastructure
24
- model
25
- }
26
-
27
- it 'returns correct kind for compute' do
28
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#compute')).to be_kind_of Occi::Core::Kind
29
- end
30
-
31
- it 'returns correct kind for os_tpl' do
32
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#os_tpl')).to be_kind_of Occi::Core::Mixin
33
- end
34
-
35
- it 'returns correct kind for resource_tpl' do
36
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#resource_tpl')).to be_kind_of Occi::Core::Mixin
37
- end
38
-
39
- it 'returns correct kind for network' do
40
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#network')).to be_kind_of Occi::Core::Kind
41
- end
42
-
43
- it 'returns correct kind for ipnetwork' do
44
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure/network#ipnetwork')).to be_kind_of Occi::Core::Mixin
45
- end
46
-
47
- it 'returns correct kind for networkinterface' do
48
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#networkinterface')).to be_kind_of Occi::Core::Kind
49
- end
50
-
51
- it 'returns correct kind for ipnetworkinterface' do
52
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure/networkinterface#ipnetworkinterface')).to be_kind_of Occi::Core::Mixin
53
- end
54
-
55
- it 'returns correct kind for storage' do
56
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#storage')).to be_kind_of Occi::Core::Kind
57
- end
58
-
59
- it 'returns correct kind for storagelink' do
60
- expect(model.get_by_id('http://schemas.ogf.org/occi/infrastructure#storagelink')).to be_kind_of Occi::Core::Kind
61
- end
62
-
63
- end
64
- end
65
-
66
- context '#get' do
67
- it "returns all registered categories" do
68
- model = Occi::Model.new
69
- collection = model.get
70
- expected = File.open("spec/occi/parser/text_samples/occi_model_categories.expected", "rt").read
71
- expect(collection.to_text).to eql expected
72
- end
73
-
74
- context "for categories with filter" do
75
- model = Occi::Model.new
76
- model.register_infrastructure
77
- network = Occi::Infrastructure::Network.kind
78
- collection = model.get(network)
79
-
80
- it 'returns the right kind' do
81
- expect(collection).to be_kind_of Occi::Collection
82
- end
83
-
84
- it 'returns the right number of kinds' do
85
- expect(collection.kinds.count).to eql 1
86
- end
87
-
88
- it 'starts with a network kind' do
89
- expect(collection.kinds.first).to eql network
90
- end
91
-
92
- it 'has empty mixins' do
93
- expect(collection.mixins).to be_empty
94
- end
95
-
96
- it 'has empty actions' do
97
- expect(collection.actions).to be_empty
98
- end
99
-
100
- it 'has empty resources' do
101
- expect(collection.resources).to be_empty
102
- end
103
-
104
- it 'has empty links' do
105
- expect(collection.links).to be_empty
106
- end
107
- end
108
- end
109
-
110
- context '#register' do
111
- let(:kind){ Occi::Core::Kind.new }
112
- let(:mixin){ Occi::Core::Mixin.new }
113
- let(:action){ Occi::Core::Action.new }
114
- let(:model){ model = Occi::Model.new
115
- model.register(kind)
116
- model.register(mixin)
117
- model.register(action)
118
- model
119
- }
120
-
121
- it 'registers a kind' do
122
- expect(model.kinds.include?(kind)).to eql true
123
- end
124
-
125
- it 'registers a mixin' do
126
- expect(model.mixins.include?(mixin)).to eql true
127
- end
128
-
129
- it 'registers an action' do
130
- expect(model.actions.include?(action)).to eql true
131
- end
132
- end
133
-
134
- context '#unregister' do
135
- let(:kind){ Occi::Core::Kind.new }
136
- let(:mixin){ Occi::Core::Mixin.new }
137
- let(:action){ Occi::Core::Action.new }
138
- let(:model){ model = Occi::Model.new
139
- model.register(kind)
140
- model.register(mixin)
141
- model.register(action)
142
- model
143
- }
144
-
145
- it 'unregisters a kind' do
146
- model.unregister(kind)
147
- expect(model.kinds.include?(kind)).to eql false
148
- end
149
-
150
- it 'unregisters a mixin' do
151
- model.unregister(mixin)
152
- expect(model.mixins.include?(mixin)).to eql false
153
- end
154
-
155
- it 'unregisters an action' do
156
- model.unregister(action)
157
- expect(model.actions.include?(action)).to eql false
158
- end
159
- end
160
-
161
- context '#register_collection' do
162
- let(:kind){ Occi::Core::Kind.new }
163
- let(:mixin){ Occi::Core::Mixin.new }
164
- let(:action){ Occi::Core::Action.new }
165
- let(:collection) { collection = Occi::Collection.new
166
- collection << kind
167
- collection << mixin
168
- collection << action
169
- collection
170
- }
171
- let(:model){ model = Occi::Model.new
172
- model.register_collection(collection)
173
- model
174
- }
175
-
176
- it 'registers a kind' do
177
- expect(model.kinds.include?(kind)).to eql true
178
- end
179
-
180
- it 'registers a mixin' do
181
- expect(model.mixins.include?(mixin)).to eql true
182
- end
183
-
184
- it 'registers an action' do
185
- expect(model.actions.include?(action)).to eql true
186
- end
187
- end
188
-
189
- context '#reset' do
190
- let(:entity){ Occi::Core::Entity.new 'http://example.org/test/schema#testentity' }
191
- let(:kind){ kind = Occi::Core::Kind.new
192
- kind.entities << entity
193
- kind }
194
- let(:mixin){ mixin = Occi::Core::Mixin.new
195
- mixin.entities << entity
196
- mixin }
197
- let(:action){ Occi::Core::Action.new }
198
- let(:model){ model = Occi::Model.new
199
- model.register(kind)
200
- model.register(mixin)
201
- model.register(action)
202
- model
203
- }
204
-
205
- before(:each){ model.reset }
206
-
207
- it 'unregisters entities from kinds' do
208
- found = false
209
- model.kinds.each { |kind| found = true if kind.entities.include?(entity) }
210
- expect(found).to eql false
211
- end
212
-
213
- it 'unregisters entities from mixins' do
214
- found = false
215
- model.mixins.each { |mixin| found = true if mixin.entities.include?(entity) }
216
- expect(found).to eql false
217
- end
218
- end
219
-
220
- context '#register_files' do
221
- context 'for correct and existing files' do
222
- let(:model){ model = Occi::Model.new
223
- model.register_files('spec/occi/collection_samples')
224
- model
225
- }
226
-
227
- it 'read the right number of mixins' do
228
- expect(model.mixins.count).to eql 2
229
- end
230
-
231
- it 'read the right number of actions' do
232
- expect(model.actions.count).to eql 2
233
- end
234
-
235
- it 'read the right number of resources' do
236
- expect(model.resources.count).to eql 2
237
- end
238
-
239
- it 'read the right number of links' do
240
- expect(model.links.count).to eql 2
241
- end
242
-
243
- it 'read the action' do
244
- expect(model.action.blank?).to eql false
245
- end
246
- end
247
-
248
- context 'for nonexistent directory' do
249
- it 'fails gracefully' do
250
- model = Occi::Model.new
251
- expect{ model.register_files('this/directory/does/not/exist') }.to raise_exception(ArgumentError)
252
- end
253
- end
254
- end
255
- end
256
- end
@@ -1,49 +0,0 @@
1
- {
2
- "resources":[
3
- {
4
- "kind":"http://schemas.ogf.org/occi/infrastructure#compute",
5
- "attributes":{
6
- "occi":{
7
- "core":{
8
- "id": "34c88188-d31a-11e1-a11a-a4b197fffef4",
9
- "summary":""
10
- },
11
- "compute":{
12
- "cores":1,
13
- "memory":256
14
- }
15
- }
16
- },
17
- "links":[
18
- {
19
- "kind":"http://schemas.ogf.org/occi/infrastructure#storagelink",
20
- "attributes":{
21
- "occi":{
22
- "core":{
23
- "id":"urn:uuid:34cbb948-d31a-11e1-a11a-a4b197fffef3",
24
- "title":"Harddisk 1",
25
- "source": "/compute/34c88188-d31a-11e1-a11a-a4b197fffef4",
26
- "target":"/storage/34c88188-d31a-11e1-a11a-a4b197fffef3"
27
- }
28
- }
29
- }
30
- }
31
- ]
32
- }
33
- ],
34
- "links":[
35
- {
36
- "kind":"http://schemas.ogf.org/occi/infrastructure#storagelink",
37
- "attributes":{
38
- "occi":{
39
- "core":{
40
- "id":"urn:uuid:34cbb948-d31a-11e1-a11a-a4b197fffef3",
41
- "title":"Harddisk 1",
42
- "source": "/compute/34c88188-d31a-11e1-a11a-a4b197fffef4",
43
- "target":"/storage/34c88188-d31a-11e1-a11a-a4b197fffef3"
44
- }
45
- }
46
- }
47
- }
48
- ]
49
- }
@@ -1,2 +0,0 @@
1
- Category: a_a1-_;scheme="http://a.a/a#";class="kind";title="aA1!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a1-A/";attributes="a_1-_.a1-_a a-1.a.b";actions="http://a.a/a1#a1 http://a.b1/b1#b2"
2
- Category: a_a2-_;scheme="http://a.a/a#";class="kind";title="aA2!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a2-A/";attributes="a_2-_.a2-_a a-2.a.b";actions="http://a.a/a2#a2 http://a.b2/b2#b2"
@@ -1,2 +0,0 @@
1
- Category: a_a1-_;scheme="http://a.a/a#";class="kind";title="aA1!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a1-A/";attributes="a_1-_.a1-_a a-1.a.b";actions="http://a.a/a1#a1 http://a.b1/b1#b2"
2
- Category: a_a2-_;scheme="http://a.a/a#";class="kind";title="aA2!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a2-A/";attributes="a_2-_.a2-_a a-2.a.b";actions="http://a.a/a2#a2 http://a.b2/b2#b2"
@@ -1,2 +0,0 @@
1
- Category: a_a1-_;scheme="http://a.a/a#";class="kind";title="aA1!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a1-A/";attributes="a_1-_.a1-_a a-1.a.b";actions="http://a.a/a1#a1 http://a.b1/b1#b2"
2
- Category: a_a2-_;scheme="http://a.a/a#";class="kind";title="aA2!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a2-A/";attributes="a_2-_.a2-_a a-2.a.b";actions="http://a.a/a2#a2 http://a.b2/b2#b2"
@@ -1,2 +0,0 @@
1
- Category: a_a1-_;scheme="http://a.a/a#";class="kind";title="aA1!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a1-A/";attributes="a_1-_.a1-_a a-1.a.b";actions="http://a.a/a1#a1 http://a.b1/b1#b2"
2
- Category: a_a2-_;scheme="http://a.a/a#";class="kind";title="aA2!§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a2-A/";attributes="a_2-_.a2-_a a-2.a.b";actions="http://a.a/a2#a2 http://a.b2/b2#b2"
@@ -1,11 +0,0 @@
1
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/compute/";title=nil
2
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";location="/mixin/compute/";title=""
3
- X-OCCI-Attribute: occi.core.id="4ddbfeae-22d7-5e50-8f85-ba18589e876b"
4
- X-OCCI-Attribute: occi.core.title="MonTest1"
5
- X-OCCI-Attribute: occi.compute.cores=1
6
- X-OCCI-Attribute: occi.compute.memory=0.256
7
- X-OCCI-Attribute: occi.compute.state="active"
8
- X-OCCI-Attribute: org.opennebula.compute.cpu=1.0
9
- Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef";occi.core.title="monitoring";occi.storagelink.deviceid="xvda";occi.storagelink.state="inactive";org.opennebula.storagelink.bus="ide";org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
10
- Link: </network/e4bd81c4-adda-5626-840d-39bb7959db97>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/networkinterface/e75ab249-9325-511c-82b8-a7e4430381e3";category="http://schemas.ogf.org/occi/infrastructure#networkinterface";occi.core.id="e75ab249-9325-511c-82b8-a7e4430381e3";occi.core.title="monitoring";occi.networkinterface.address="192.168.254.1";occi.networkinterface.mac="02:00:c0:a8:fe:01";occi.networkinterface.state="inactive";org.opennebula.networkinterface.bridge="xenbr0"Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef";occi.core.title="monitoring";occi.storagelink.deviceid="xvda";occi.storagelink.state="inactive";org.opennebula.storagelink.bus="ide";org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
11
- Link: </network/e4bd81c4-adda-5626-840d-39bb7959db97>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/networkinterface/e75ab249-9325-511c-82b8-a7e4430381e3";category="http://schemas.ogf.org/occi/infrastructure#networkinterface";occi.core.id="e75ab249-9325-511c-82b8-a7e4430381e3";occi.core.title="monitoring";occi.networkinterface.address="192.168.254.1";occi.networkinterface.mac="02:00:c0:a8:fe:01";occi.networkinterface.state="inactive";org.opennebula.networkinterface.bridge="xenbr0"
@@ -1,10 +0,0 @@
1
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
2
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
3
- X-OCCI-Attribute: occi.core.id="4ddbfeae-22d7-5e50-8f85-ba18589e876b"
4
- X-OCCI-Attribute: occi.core.title="MonTest1"
5
- X-OCCI-Attribute: occi.compute.cores=1
6
- X-OCCI-Attribute: occi.compute.memory=0.256
7
- X-OCCI-Attribute: occi.compute.state="active"
8
- X-OCCI-Attribute: org.opennebula.compute.cpu=1.0
9
- Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef" occi.core.title="monitoring" occi.storagelink.deviceid="xvda" occi.storagelink.state="inactive" org.opennebula.storagelink.bus="ide" org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
10
- Link: </network/e4bd81c4-adda-5626-840d-39bb7959db97>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/networkinterface/e75ab249-9325-511c-82b8-a7e4430381e3";category="http://schemas.ogf.org/occi/infrastructure#networkinterface";occi.core.id="e75ab249-9325-511c-82b8-a7e4430381e3" occi.core.title="monitoring" occi.networkinterface.address="192.168.254.1" occi.networkinterface.mac="02:00:c0:a8:fe:01" occi.networkinterface.state="inactive" org.opennebula.networkinterface.bridge="xenbr0"
@@ -1,7 +0,0 @@
1
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/networkinterface/";title=nil
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.target="/network/123"
4
- X-OCCI-Attribute: occi.core.source="/vms/foo/vm1"
5
- X-OCCI-Attribute: occi.networkinterface.interface="eth0"
6
- X-OCCI-Attribute: occi.networkinterface.mac="00:11:22:33:44:55"
7
- X-OCCI-Attribute: occi.networkinterface.state="active"
@@ -1,7 +0,0 @@
1
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/networkinterface/";title=nil
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.target="/network/123"
4
- X-OCCI-Attribute: occi.core.source="/vms/foo/vm1"
5
- X-OCCI-Attribute: occi.networkinterface.interface="eth0"
6
- X-OCCI-Attribute: occi.networkinterface.mac="00:11:22:33:44:55"
7
- X-OCCI-Attribute: occi.networkinterface.state="active"
@@ -1,7 +0,0 @@
1
- Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/networkinterface/";title=nil
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.target="/network/123"
4
- X-OCCI-Attribute: occi.core.source="/vms/foo/vm1"
5
- X-OCCI-Attribute: occi.networkinterface.interface="eth0"
6
- X-OCCI-Attribute: occi.networkinterface.mac="00:11:22:33:44:55"
7
- X-OCCI-Attribute: occi.networkinterface.state="active"
@@ -1,7 +0,0 @@
1
- Category: networkinterface; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind";
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef";
3
- X-OCCI-Attribute: occi.networkinterface.interface="eth0";
4
- X-OCCI-Attribute: occi.networkinterface.mac="00:11:22:33:44:55";
5
- X-OCCI-Attribute: occi.networkinterface.state="active";
6
- X-OCCI-Attribute: occi.core.source="/vms/foo/vm1"
7
- X-OCCI-Attribute: occi.core.target="/network/123"
@@ -1,7 +0,0 @@
1
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/link/storagelink/";title="storage link"
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.title="monitoring"
4
- X-OCCI-Attribute: occi.storagelink.deviceid="xvda"
5
- X-OCCI-Attribute: occi.storagelink.state="inactive"
6
- X-OCCI-Attribute: org.opennebula.storagelink.bus="ide"
7
- X-OCCI-Attribute: org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
@@ -1 +0,0 @@
1
- Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef" occi.core.title="monitoring" occi.storagelink.deviceid="xvda" occi.storagelink.state="inactive" org.opennebula.storagelink.bus="ide" org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
@@ -1,7 +0,0 @@
1
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/link/storagelink/";title="storage link"
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.title="monitoring"
4
- X-OCCI-Attribute: occi.storagelink.deviceid="xvda"
5
- X-OCCI-Attribute: occi.storagelink.state="inactive"
6
- X-OCCI-Attribute: org.opennebula.storagelink.bus="ide"
7
- X-OCCI-Attribute: org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
@@ -1,7 +0,0 @@
1
- Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef" occi.core.title="monitoring" occi.storagelink.deviceid="xvda" occi.storagelink.state="inactive" org.opennebula.storagelink.bus="ide" org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
2
- X-OCCI-Attribute: occi.storage.state="online"
3
- X-OCCI-Attribute: org.opennebula.storage.id="116"
4
- X-OCCI-Attribute: org.opennebula.storage.dev_prefix="xvd"
5
- X-OCCI-Attribute: org.opennebula.storage.driver="tap2:tapdisk:aio:"
6
- X-OCCI-Attribute: org.opennebula.storage.persistent="NO"
7
-
@@ -1,7 +0,0 @@
1
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/link/storagelink/";title="storage link"
2
- X-OCCI-Attribute: occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef"
3
- X-OCCI-Attribute: occi.core.title="monitoring"
4
- X-OCCI-Attribute: occi.storagelink.deviceid="xvda"
5
- X-OCCI-Attribute: occi.storagelink.state="inactive"
6
- X-OCCI-Attribute: org.opennebula.storagelink.bus="ide"
7
- X-OCCI-Attribute: org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
@@ -1,3 +0,0 @@
1
- Link: </storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/b2f7f1de-c60c-5b08-879c-81f52429c4ef";category="http://schemas.ogf.org/occi/infrastructure#storagelink";occi.core.id="b2f7f1de-c60c-5b08-879c-81f52429c4ef" occi.core.title="monitoring" occi.storagelink.deviceid="xvda" occi.storagelink.state="inactive" org.opennebula.storagelink.bus="ide" org.opennebula.storagelink.driver="tap2:tapdisk:aio:"
2
- Category: a_a1-_;scheme="http://a.a/a#";class="kind";title="aA1!\"§$%&/()=?`´ß+*#-_.:,;<>";rel="http://a.a/b#a";location="/a1-A/";attributes="a_1-_.a1-_a a-1.a.b";actions="http://a.a/a1#a1 http://a.b1/b1#b2"
3
-
@@ -1,3 +0,0 @@
1
- Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="entity";location="/entity/";attributes="occi.core.id{immutable required} occi.core.title string_attribute"
2
- Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="resource";rel="http://schemas.ogf.org/occi/core#entity";location="/new_location/";attributes="occi.core.id{immutable required} occi.core.title occi.core.summary"
3
- Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.id{required} occi.core.title occi.core.target occi.core.source{required} stringtype{required} stringtypeoptional"
@@ -1,51 +0,0 @@
1
- Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.id occi.core.title"
2
- 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"
3
- 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 occi.core.source"
4
- Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="occi.compute.architecture occi.compute.cores occi.compute.hostname occi.compute.speed occi.compute.memory occi.compute.state";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"
5
- Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="occi.storagelink.deviceid occi.storagelink.mountpoint occi.storagelink.state"
6
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="occi.network.vlan occi.network.label occi.network.state";actions="http://schemas.ogf.org/occi/infrastructure/network/action#up http://schemas.ogf.org/occi/infrastructure/network/action#down"
7
- Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="occi.storage.size occi.storage.state";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"
8
- 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 occi.networkinterface.mac occi.networkinterface.state"
9
- Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link to the VM's console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
10
- Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating System Template";location="/mixins/os_tpl/"
11
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address occi.network.gateway occi.network.allocation occi.network.state"
12
- Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address occi.networkinterface.gateway occi.networkinterface.allocation occi.networkinterface.state"
13
- Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource Template";location="/mixins/resource_tpl/"
14
- Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.cpu org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root org.opennebula.compute.kernel_cmd org.opennebula.compute.bootloader org.opennebula.compute.boot"
15
- Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus org.opennebula.storagelink.driver"
16
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.id org.opennebula.network.bridge org.opennebula.network.vlan org.opennebula.network.phydev org.opennebula.network.ip_start org.opennebula.network.ip_end"
17
- Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage"
18
- Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.bridge org.opennebula.networkinterface.script org.opennebula.networkinterface.model org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.black_ports_tcp org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.black_ports_udp org.opennebula.networkinterface.icmp"
19
- Category: large;scheme="https://occi.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Large Instance - 2 cores and 7.5 GB of RAM";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.architecture occi.compute.cores occi.compute.speed occi.compute.memory"
20
- Category: extra_large;scheme="https://occi.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Extra Large Instance - 4 cores and 15 GB of RAM";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.architecture occi.compute.cores occi.compute.speed occi.compute.memory"
21
- Category: larger;scheme="https://occi.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Larger Instance - 4 cores and 10 GB of RAM";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/larger/";attributes="occi.compute.architecture occi.compute.cores occi.compute.speed occi.compute.memory"
22
- Category: medium;scheme="https://occi.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Medium Instance - 2 cores and 3.75 GB of RAM";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.architecture occi.compute.cores occi.compute.speed occi.compute.memory"
23
- Category: small;scheme="https://occi.localhost/occi/infrastructure/resource_tpl#";class="mixin";title="Small Instance - 1 core and 1.7 GB of RAM";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.architecture occi.compute.cores occi.compute.speed occi.compute.memory"
24
- Category: monitoring;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="monitoring";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/monitoring/"
25
- Category: debianvm;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="debianvm";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/debianvm/"
26
- Category: egicf2012_demo;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="egicf2012-demo";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/egicf2012_demo/"
27
- Category: oxfordcorpusserver;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="OxfordCorpusServer";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/oxfordcorpusserver/"
28
- Category: omserver;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="OMServer";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/omserver/"
29
- Category: wenmr_demo_cesnet;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="WeNMR-Demo-CESNET";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/wenmr_demo_cesnet/"
30
- Category: egi_sl6goldenimage_cesnet;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="EGI-SL6GoldenImage-CESNET";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/egi_sl6goldenimage_cesnet/"
31
- Category: hadoop;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="hadoop";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/hadoop/"
32
- Category: clever_unime;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="clever-unime";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/clever_unime/"
33
- Category: generic_vm;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="generic_vm";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/generic_vm/"
34
- Category: octave;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="octave";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/octave/"
35
- Category: r;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="r";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/r/"
36
- Category: egi_compss_cesnet;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="EGI-COMPSs-CESNET";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/egi_compss_cesnet/"
37
- Category: esa_sl64_cesnet;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="ESA-SL64-CESNET";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/esa_sl64_cesnet/"
38
- Category: generic_www;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="generic_www";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/generic_www/"
39
- Category: egi_compss;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="EGI-COMPSs";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/egi_compss/"
40
- Category: debianvm_private;scheme="https://occi.localhost/occi/infrastructure/os_tpl#";class="mixin";title="debianvm_private";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/debianvm_private/"
41
- Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start Compute instance"
42
- Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop Compute instance";attributes="method"
43
- Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart Compute instance";attributes="method"
44
- Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend Compute instance";attributes="method"
45
- Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate network"
46
- Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#up";class="action";title="Activate network"
47
- Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate Storage"
48
- Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate Storage"
49
- Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup Storage"
50
- Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot Storage"
51
- Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize Storage";attributes="size"
@@ -1,11 +0,0 @@
1
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/network/";title=nil
2
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";location="/mixin/network/";title=""
3
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";location="/mixin/ipnetwork/";title=""
4
- X-OCCI-Attribute: occi.core.id="e4bd81c4-adda-5626-840d-39bb7959db97"
5
- X-OCCI-Attribute: occi.core.title="monitoring"
6
- X-OCCI-Attribute: occi.network.state="active"
7
- X-OCCI-Attribute: occi.network.address="192.168.254.0"
8
- X-OCCI-Attribute: occi.network.allocation="dynamic"
9
- X-OCCI-Attribute: org.opennebula.network.id="6"
10
- X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
11
- X-OCCI-Attribute: org.opennebula.network.vlan="NO"
@@ -1,11 +0,0 @@
1
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/network/";title=nil
2
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";location="/mixin/network/";title=""
3
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";location="/mixin/ipnetwork/";title=""
4
- X-OCCI-Attribute: occi.core.id="e4bd81c4-adda-5626-840d-39bb7959db97"
5
- X-OCCI-Attribute: occi.core.title="monitoring"
6
- X-OCCI-Attribute: occi.network.state="active"
7
- X-OCCI-Attribute: occi.network.address="192.168.254.0"
8
- X-OCCI-Attribute: occi.network.allocation="dynamic"
9
- X-OCCI-Attribute: org.opennebula.network.id="6"
10
- X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
11
- X-OCCI-Attribute: org.opennebula.network.vlan="NO"
@@ -1,9 +0,0 @@
1
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/network/";title=nil
2
- X-OCCI-Attribute: occi.core.id="e4bd81c4-adda-5626-840d-39bb7959db97"
3
- X-OCCI-Attribute: occi.core.title="monitoring"
4
- X-OCCI-Attribute: occi.network.state="active"
5
- X-OCCI-Attribute: occi.network.address="192.168.254.0"
6
- X-OCCI-Attribute: occi.network.allocation="dynamic"
7
- X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
8
- X-OCCI-Attribute: org.opennebula.network.id="6"
9
- X-OCCI-Attribute: org.opennebula.network.vlan="NO"
@@ -1,9 +0,0 @@
1
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";location="/network/";title=nil
2
- X-OCCI-Attribute: occi.core.id="e4bd81c4-adda-5626-840d-39bb7959db97"
3
- X-OCCI-Attribute: occi.core.title="monitoring"
4
- X-OCCI-Attribute: occi.network.state="active"
5
- X-OCCI-Attribute: occi.network.address="192.168.254.0"
6
- X-OCCI-Attribute: occi.network.allocation="dynamic"
7
- X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
8
- X-OCCI-Attribute: org.opennebula.network.id="6"
9
- X-OCCI-Attribute: org.opennebula.network.vlan="NO"
@@ -1,11 +0,0 @@
1
- Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind"
2
- Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin"
3
- Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin"
4
- X-OCCI-Attribute: occi.core.id="e4bd81c4-adda-5626-840d-39bb7959db97"
5
- X-OCCI-Attribute: occi.core.title="monitoring"
6
- X-OCCI-Attribute: occi.network.address="192.168.254.0"
7
- X-OCCI-Attribute: occi.network.allocation="dynamic"
8
- X-OCCI-Attribute: occi.network.state="active"
9
- X-OCCI-Attribute: org.opennebula.network.id="6"
10
- X-OCCI-Attribute: org.opennebula.network.bridge="xenbr0"
11
- X-OCCI-Attribute: org.opennebula.network.vlan="NO"
@@ -1,15 +0,0 @@
1
- Category: fogbow_request;scheme="http://schemas.fogbowcloud.org/request#";class="kind";location="/fogbow_request/";title="Request new Instances"
2
- Category: fogbow_small;scheme="http://schemas.fogbowcloud.org/template/resource#";class="mixin";location="/fogbow_small/";title="Small Flavor"
3
- Category: fogbow-linux-x86;scheme="http://schemas.fogbowcloud.org/template/os#";class="mixin";location="/fogbow-linux-x86/";title="fogbow-linux-x86 image"
4
- Category: fogbow_userdata;scheme="http://schemas.fogbowcloud.org/request#";class="mixin";location="/fogbow_userdata/";title=""
5
- X-OCCI-Attribute: occi.core.id="e076376a-a0d3-448b-b065-d1b63e729f6a"
6
- X-OCCI-Attribute: occi.core.title="my test"
7
- X-OCCI-Attribute: org.fogbowcloud.request.ssh-public-address="150.165.15.81:40000"
8
- X-OCCI-Attribute: org.fogbowcloud.request.user-data="IyEvYmluL3NoCi91c3IvYmluL3NzaCAteSAtTiAtZiAtUiAwLjAuMC4wOjQwMDAwOmxvY2FsaG9zdDoyMiBmb2d0ZXN0QDEwLjEuMC40MyAtcCAyMgo"
9
- X-OCCI-Attribute: org.fogbowcloud.request.type="one-time"
10
- X-OCCI-Attribute: org.fogbowcloud.request.ssh-address="10.1.0.43:40000"
11
- X-OCCI-Attribute: org.fogbowcloud.request.instance-count="1"
12
- X-OCCI-Attribute: org.fogbowcloud.request.valid-from="Not defined"
13
- X-OCCI-Attribute: org.fogbowcloud.request.valid-until="Not defined"
14
- X-OCCI-Attribute: org.fogbowcloud.request.state="failed"
15
- X-OCCI-Attribute: org.fogbowcloud.request.instance-id="null"
@@ -1,15 +0,0 @@
1
- Category: fogbow_request; scheme="http://schemas.fogbowcloud.org/request#"; class="kind"; title="Request new Instances"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://localhost:8182/fogbow_request/"; attributes="org.fogbowcloud.request.instance-count org.fogbowcloud.request.type org.fogbowcloud.request.valid-until org.fogbowcloud.request.valid-from org.fogbowcloud.request.state org.fogbowcloud.request.instance-id"
2
- Category: fogbow_small; scheme="http://schemas.fogbowcloud.org/template/resource#"; class="mixin"; title="Small Flavor"; rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl"; location="http://localhost:8182/fogbow_small/"
3
- Category: fogbow-linux-x86; scheme="http://schemas.fogbowcloud.org/template/os#"; class="mixin"; title="fogbow-linux-x86 image"; rel="http://schemas.ogf.org/occi/infrastructure#os_tpl"; location="http://localhost:8182/fogbow-linux-x86/"
4
- Category: fogbow_userdata; scheme="http://schemas.fogbowcloud.org/request#"; class="mixin"; location="http://localhost:8182/fogbow_userdata/"
5
- X-OCCI-Attribute: occi.core.id="e076376a-a0d3-448b-b065-d1b63e729f6a"
6
- X-OCCI-Attribute: occi.core.title="my test"
7
- X-OCCI-Attribute: org.fogbowcloud.request.ssh-public-address="150.165.15.81:40000"
8
- X-OCCI-Attribute: org.fogbowcloud.request.user-data="IyEvYmluL3NoCi91c3IvYmluL3NzaCAteSAtTiAtZiAtUiAwLjAuMC4wOjQwMDAwOmxvY2FsaG9zdDoyMiBmb2d0ZXN0QDEwLjEuMC40MyAtcCAyMgo"
9
- X-OCCI-Attribute: org.fogbowcloud.request.type="one-time"
10
- X-OCCI-Attribute: org.fogbowcloud.request.ssh-address="10.1.0.43:40000"
11
- X-OCCI-Attribute: org.fogbowcloud.request.instance-count="1"
12
- X-OCCI-Attribute: org.fogbowcloud.request.valid-from="Not defined"
13
- X-OCCI-Attribute: org.fogbowcloud.request.valid-until="Not defined"
14
- X-OCCI-Attribute: org.fogbowcloud.request.state="failed"
15
- X-OCCI-Attribute: org.fogbowcloud.request.instance-id="null"