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
@@ -0,0 +1,1716 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#",
5
+ "term": "start",
6
+ "title": "start compute instance"
7
+ },
8
+ {
9
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#",
10
+ "term": "stop",
11
+ "title": "stop compute instance"
12
+ },
13
+ {
14
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#",
15
+ "term": "restart",
16
+ "title": "restart compute instance"
17
+ },
18
+ {
19
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#",
20
+ "term": "suspend",
21
+ "title": "suspend compute instance"
22
+ },
23
+ {
24
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#",
25
+ "term": "save",
26
+ "title": "save compute instance"
27
+ },
28
+ {
29
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#",
30
+ "term": "online",
31
+ "title": "online storage instance"
32
+ },
33
+ {
34
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#",
35
+ "term": "offline",
36
+ "title": "offline storage instance"
37
+ },
38
+ {
39
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#",
40
+ "term": "backup",
41
+ "title": "backup storage instance"
42
+ },
43
+ {
44
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#",
45
+ "term": "snapshot",
46
+ "title": "snapshot storage instance"
47
+ },
48
+ {
49
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#",
50
+ "term": "resize",
51
+ "title": "resize storage instance"
52
+ },
53
+ {
54
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/network/action#",
55
+ "term": "up",
56
+ "title": "up network instance"
57
+ },
58
+ {
59
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/network/action#",
60
+ "term": "down",
61
+ "title": "down network instance"
62
+ }
63
+ ],
64
+ "kinds": [
65
+ {
66
+ "attributes": {
67
+ "occi.core.id": {
68
+ "description": "A unique identifier",
69
+ "mutable": false,
70
+ "required": false,
71
+ "type": "string"
72
+ },
73
+ "occi.core.title": {
74
+ "description": "The display name of the instance",
75
+ "mutable": true,
76
+ "required": false,
77
+ "type": "string"
78
+ }
79
+ },
80
+ "location": "/occi1.2/entity/",
81
+ "scheme": "http://schemas.ogf.org/occi/core#",
82
+ "term": "entity",
83
+ "title": "entity"
84
+ },
85
+ {
86
+ "attributes": {
87
+ "occi.core.id": {
88
+ "description": "A unique identifier",
89
+ "mutable": false,
90
+ "required": false,
91
+ "type": "string"
92
+ },
93
+ "occi.core.summary": {
94
+ "description": "A summarizing description of the resource instance.",
95
+ "mutable": true,
96
+ "required": false,
97
+ "type": "string"
98
+ },
99
+ "occi.core.title": {
100
+ "description": "The display name of the instance",
101
+ "mutable": true,
102
+ "required": false,
103
+ "type": "string"
104
+ }
105
+ },
106
+ "location": "/occi1.2/resource/",
107
+ "parent": "http://schemas.ogf.org/occi/core#entity",
108
+ "scheme": "http://schemas.ogf.org/occi/core#",
109
+ "term": "resource",
110
+ "title": "resource"
111
+ },
112
+ {
113
+ "attributes": {
114
+ "occi.core.id": {
115
+ "description": "A unique identifier",
116
+ "mutable": false,
117
+ "required": false,
118
+ "type": "string"
119
+ },
120
+ "occi.core.source": {
121
+ "description": "The Resource instance the link originates from",
122
+ "mutable": true,
123
+ "required": true,
124
+ "type": "string"
125
+ },
126
+ "occi.core.target": {
127
+ "description": "The unique identifier of an Object this Link instance points to",
128
+ "mutable": true,
129
+ "required": true,
130
+ "type": "string"
131
+ },
132
+ "occi.core.title": {
133
+ "description": "The display name of the instance",
134
+ "mutable": true,
135
+ "required": false,
136
+ "type": "string"
137
+ }
138
+ },
139
+ "location": "/occi1.2/link/",
140
+ "scheme": "http://schemas.ogf.org/occi/core#",
141
+ "term": "link",
142
+ "title": "link"
143
+ },
144
+ {
145
+ "actions": [
146
+ "http://schemas.ogf.org/occi/infrastructure/compute/action#start",
147
+ "http://schemas.ogf.org/occi/infrastructure/compute/action#stop",
148
+ "http://schemas.ogf.org/occi/infrastructure/compute/action#restart",
149
+ "http://schemas.ogf.org/occi/infrastructure/compute/action#suspend",
150
+ "http://schemas.ogf.org/occi/infrastructure/compute/action#save"
151
+ ],
152
+ "attributes": {
153
+ "occi.compute.architecture": {
154
+ "description": "CPU architecture of the instance",
155
+ "mutable": true,
156
+ "required": false,
157
+ "type": "string"
158
+ },
159
+ "occi.compute.cores": {
160
+ "description": "Number of virtual cores assigned to the instance",
161
+ "mutable": true,
162
+ "required": false,
163
+ "type": "number"
164
+ },
165
+ "occi.compute.hostname": {
166
+ "description": "Fully Qualified DNS hostname for the instance",
167
+ "mutable": true,
168
+ "required": false,
169
+ "type": "string"
170
+ },
171
+ "occi.compute.memory": {
172
+ "description": "Maximum RAM in gigabytes allocated to the instance",
173
+ "mutable": true,
174
+ "required": false,
175
+ "type": "number"
176
+ },
177
+ "occi.compute.share": {
178
+ "description": "Relative number of CPU shares for the instance",
179
+ "mutable": true,
180
+ "required": false,
181
+ "type": "number"
182
+ },
183
+ "occi.compute.state": {
184
+ "description": "Current state of the instance",
185
+ "mutable": false,
186
+ "required": false,
187
+ "type": "string"
188
+ },
189
+ "occi.compute.state.message": {
190
+ "description": "Human-readable explanation of the current instance state",
191
+ "mutable": false,
192
+ "required": false,
193
+ "type": "string"
194
+ },
195
+ "occi.core.id": {
196
+ "description": "A unique identifier",
197
+ "mutable": false,
198
+ "required": false,
199
+ "type": "string"
200
+ },
201
+ "occi.core.summary": {
202
+ "description": "A summarizing description of the resource instance.",
203
+ "mutable": true,
204
+ "required": false,
205
+ "type": "string"
206
+ },
207
+ "occi.core.title": {
208
+ "description": "The display name of the instance",
209
+ "mutable": true,
210
+ "required": false,
211
+ "type": "string"
212
+ }
213
+ },
214
+ "location": "/occi1.2/compute/",
215
+ "parent": "http://schemas.ogf.org/occi/core#resource",
216
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
217
+ "term": "compute",
218
+ "title": "compute resource"
219
+ },
220
+ {
221
+ "actions": [
222
+ "http://schemas.ogf.org/occi/infrastructure/storage/action#online",
223
+ "http://schemas.ogf.org/occi/infrastructure/storage/action#offline",
224
+ "http://schemas.ogf.org/occi/infrastructure/storage/action#backup",
225
+ "http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot",
226
+ "http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
227
+ ],
228
+ "attributes": {
229
+ "occi.core.id": {
230
+ "description": "A unique identifier",
231
+ "mutable": false,
232
+ "required": false,
233
+ "type": "string"
234
+ },
235
+ "occi.core.summary": {
236
+ "description": "A summarizing description of the resource instance.",
237
+ "mutable": true,
238
+ "required": false,
239
+ "type": "string"
240
+ },
241
+ "occi.core.title": {
242
+ "description": "The display name of the instance",
243
+ "mutable": true,
244
+ "required": false,
245
+ "type": "string"
246
+ },
247
+ "occi.storage.size": {
248
+ "description": "Storage size of the instance in gigabytes",
249
+ "mutable": true,
250
+ "required": true,
251
+ "type": "number"
252
+ },
253
+ "occi.storage.state": {
254
+ "description": "Current state of the instance",
255
+ "mutable": false,
256
+ "required": false,
257
+ "type": "string"
258
+ },
259
+ "occi.storage.state.message": {
260
+ "description": "Human-readable explanation of the current instance state",
261
+ "mutable": false,
262
+ "required": false,
263
+ "type": "string"
264
+ }
265
+ },
266
+ "location": "/occi1.2/storage/",
267
+ "parent": "http://schemas.ogf.org/occi/core#resource",
268
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
269
+ "term": "storage",
270
+ "title": "storage resource"
271
+ },
272
+ {
273
+ "attributes": {
274
+ "occi.core.id": {
275
+ "description": "A unique identifier",
276
+ "mutable": false,
277
+ "required": false,
278
+ "type": "string"
279
+ },
280
+ "occi.core.source": {
281
+ "description": "The Resource instance the link originates from",
282
+ "mutable": true,
283
+ "required": true,
284
+ "type": "string"
285
+ },
286
+ "occi.core.target": {
287
+ "description": "The unique identifier of an Object this Link instance points to",
288
+ "mutable": true,
289
+ "required": true,
290
+ "type": "string"
291
+ },
292
+ "occi.core.title": {
293
+ "description": "The display name of the instance",
294
+ "mutable": true,
295
+ "required": false,
296
+ "type": "string"
297
+ },
298
+ "occi.storagelink.deviceid": {
299
+ "description": "Device identifier as defined by the OCCI service provider",
300
+ "mutable": true,
301
+ "required": false,
302
+ "type": "string"
303
+ },
304
+ "occi.storagelink.mountpoint": {
305
+ "description": "Point to where the storage is mounted in the guest OS",
306
+ "mutable": true,
307
+ "required": false,
308
+ "type": "string"
309
+ },
310
+ "occi.storagelink.state": {
311
+ "description": "Current state of the instance",
312
+ "mutable": false,
313
+ "required": false,
314
+ "type": "string"
315
+ },
316
+ "occi.storagelink.state.message": {
317
+ "description": "Human-readable explanation of the current instance state",
318
+ "mutable": false,
319
+ "required": false,
320
+ "type": "string"
321
+ }
322
+ },
323
+ "location": "/occi1.2/storagelink/",
324
+ "parent": "http://schemas.ogf.org/occi/core#link",
325
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
326
+ "term": "storagelink",
327
+ "title": "storage link resource"
328
+ },
329
+ {
330
+ "actions": [
331
+ "http://schemas.ogf.org/occi/infrastructure/network/action#up",
332
+ "http://schemas.ogf.org/occi/infrastructure/network/action#down"
333
+ ],
334
+ "attributes": {
335
+ "occi.core.id": {
336
+ "description": "A unique identifier",
337
+ "mutable": false,
338
+ "required": false,
339
+ "type": "string"
340
+ },
341
+ "occi.core.summary": {
342
+ "description": "A summarizing description of the resource instance.",
343
+ "mutable": true,
344
+ "required": false,
345
+ "type": "string"
346
+ },
347
+ "occi.core.title": {
348
+ "description": "The display name of the instance",
349
+ "mutable": true,
350
+ "required": false,
351
+ "type": "string"
352
+ },
353
+ "occi.network.label": {
354
+ "description": "Tag based VLANs",
355
+ "mutable": true,
356
+ "required": false,
357
+ "type": "string"
358
+ },
359
+ "occi.network.state": {
360
+ "description": "Current state of the instance",
361
+ "mutable": false,
362
+ "required": false,
363
+ "type": "string"
364
+ },
365
+ "occi.network.state.message": {
366
+ "description": "Human-readable explanation of the current instance state",
367
+ "mutable": false,
368
+ "required": false,
369
+ "type": "string"
370
+ },
371
+ "occi.network.vlan": {
372
+ "description": "802.1q VLAN identifier",
373
+ "mutable": true,
374
+ "required": false,
375
+ "type": "string"
376
+ }
377
+ },
378
+ "location": "/occi1.2/network/",
379
+ "parent": "http://schemas.ogf.org/occi/core#resource",
380
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
381
+ "term": "network",
382
+ "title": "network resource"
383
+ },
384
+ {
385
+ "attributes": {
386
+ "occi.core.id": {
387
+ "description": "A unique identifier",
388
+ "mutable": false,
389
+ "required": false,
390
+ "type": "string"
391
+ },
392
+ "occi.core.source": {
393
+ "description": "The Resource instance the link originates from",
394
+ "mutable": true,
395
+ "required": true,
396
+ "type": "string"
397
+ },
398
+ "occi.core.target": {
399
+ "description": "The unique identifier of an Object this Link instance points to",
400
+ "mutable": true,
401
+ "required": true,
402
+ "type": "string"
403
+ },
404
+ "occi.core.title": {
405
+ "description": "The display name of the instance",
406
+ "mutable": true,
407
+ "required": false,
408
+ "type": "string"
409
+ },
410
+ "occi.networkinterface.interface": {
411
+ "description": "Identifier that relates the link to the link's device interface.",
412
+ "mutable": false,
413
+ "required": false,
414
+ "type": "string"
415
+ },
416
+ "occi.networkinterface.mac": {
417
+ "description": "MAC address associated with the link's device interface.",
418
+ "mutable": true,
419
+ "required": false,
420
+ "type": "string"
421
+ },
422
+ "occi.networkinterface.state": {
423
+ "description": "Current state of the instance",
424
+ "mutable": false,
425
+ "required": false,
426
+ "type": "string"
427
+ },
428
+ "occi.networkinterface.state.message": {
429
+ "description": "Human-readable explanation of the current instance state",
430
+ "mutable": false,
431
+ "required": false,
432
+ "type": "string"
433
+ }
434
+ },
435
+ "location": "/occi1.2/networklink/",
436
+ "parent": "http://schemas.ogf.org/occi/core#link",
437
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
438
+ "term": "networkinterface",
439
+ "title": "network link resource"
440
+ },
441
+ {
442
+ "attributes": {
443
+ "occi.core.id": {
444
+ "description": "A unique identifier",
445
+ "mutable": false,
446
+ "required": false,
447
+ "type": "string"
448
+ },
449
+ "occi.core.summary": {
450
+ "description": "A summarizing description of the resource instance.",
451
+ "mutable": true,
452
+ "required": false,
453
+ "type": "string"
454
+ },
455
+ "occi.core.title": {
456
+ "description": "The display name of the instance",
457
+ "mutable": true,
458
+ "required": false,
459
+ "type": "string"
460
+ },
461
+ "occi.ipreservation.address": {
462
+ "description": "Internet Protocol(IP) network address re-served for Compute instances linking with this IPReservation instance",
463
+ "mutable": true,
464
+ "required": false,
465
+ "type": "string"
466
+ },
467
+ "occi.ipreservation.state": {
468
+ "description": "Indicates the state of the resource.",
469
+ "mutable": false,
470
+ "required": false,
471
+ "type": "string"
472
+ },
473
+ "occi.ipreservation.used": {
474
+ "description": "Indication whether the reserved address is currently in use.",
475
+ "mutable": false,
476
+ "required": false,
477
+ "type": "boolean"
478
+ },
479
+ "occi.network.label": {
480
+ "description": "Tag based VLANs",
481
+ "mutable": true,
482
+ "required": false,
483
+ "type": "string"
484
+ },
485
+ "occi.network.state": {
486
+ "description": "Current state of the instance",
487
+ "mutable": false,
488
+ "required": false,
489
+ "type": "string"
490
+ },
491
+ "occi.network.state.message": {
492
+ "description": "Human-readable explanation of the current instance state",
493
+ "mutable": false,
494
+ "required": false,
495
+ "type": "string"
496
+ },
497
+ "occi.network.vlan": {
498
+ "description": "802.1q VLAN identifier",
499
+ "mutable": true,
500
+ "required": false,
501
+ "type": "string"
502
+ }
503
+ },
504
+ "location": "/occi1.2/ipreservation/",
505
+ "parent": "http://schemas.ogf.org/occi/infrastructure#network",
506
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
507
+ "term": "ipreservation",
508
+ "title": "IPReservation"
509
+ }
510
+ ],
511
+ "mixins": [
512
+ {
513
+ "applies": [
514
+ "http://schemas.ogf.org/occi/infrastructure#network"
515
+ ],
516
+ "attributes": {
517
+ "occi.network.address": {
518
+ "description": "Internet Protocol (IP) network address",
519
+ "mutable": true,
520
+ "required": false,
521
+ "type": "string"
522
+ },
523
+ "occi.network.allocation": {
524
+ "description": "Address allocation mechanism: dynamic, static",
525
+ "mutable": true,
526
+ "required": false,
527
+ "type": "string"
528
+ },
529
+ "occi.network.gateway": {
530
+ "description": "Internet Protocol (IP) network address",
531
+ "mutable": true,
532
+ "required": false,
533
+ "type": "string"
534
+ }
535
+ },
536
+ "location": "/occi1.2/ipnetwork/",
537
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/network#",
538
+ "term": "ipnetwork",
539
+ "title": "IP Networking Mixin"
540
+ },
541
+ {
542
+ "applies": [
543
+ "http://schemas.ogf.org/occi/infrastructure#networkinterface"
544
+ ],
545
+ "attributes": {
546
+ "occi.networkinterface.address": {
547
+ "description": "Internet Protocol (IP) network address of the link",
548
+ "mutable": true,
549
+ "required": false,
550
+ "type": "string"
551
+ },
552
+ "occi.networkinterface.allocation": {
553
+ "description": "Address allocation mechanism: dynamic, static",
554
+ "mutable": true,
555
+ "required": false,
556
+ "type": "string"
557
+ },
558
+ "occi.networkinterface.gateway": {
559
+ "description": "Internet Protocol (IP) network address",
560
+ "mutable": true,
561
+ "required": false,
562
+ "type": "string"
563
+ }
564
+ },
565
+ "location": "/occi1.2/ipnetworkinterface/",
566
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/networkinterface#",
567
+ "term": "ipnetworkinterface",
568
+ "title": "IP Network interface Mixin"
569
+ },
570
+ {
571
+ "location": "/occi1.2/os_tpl/",
572
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
573
+ "term": "os_tpl",
574
+ "title": "OCCI OS Template"
575
+ },
576
+ {
577
+ "location": "/occi1.2/resource_tpl/",
578
+ "scheme": "http://schemas.ogf.org/occi/infrastructure#",
579
+ "term": "resource_tpl",
580
+ "title": "OCCI Resource Template"
581
+ },
582
+ {
583
+ "attributes": {
584
+ "occi.compute.cores": {
585
+ "mutable": false,
586
+ "required": false,
587
+ "type": "number"
588
+ },
589
+ "occi.compute.memory": {
590
+ "mutable": false,
591
+ "required": false,
592
+ "type": "number"
593
+ },
594
+ "org.openstack.flavor.disk": {
595
+ "mutable": false,
596
+ "required": false,
597
+ "type": "number"
598
+ },
599
+ "org.openstack.flavor.ephemeral": {
600
+ "mutable": false,
601
+ "required": false,
602
+ "type": "number"
603
+ },
604
+ "org.openstack.flavor.name": {
605
+ "mutable": false,
606
+ "required": false,
607
+ "type": "string"
608
+ },
609
+ "org.openstack.flavor.swap": {
610
+ "mutable": false,
611
+ "required": false,
612
+ "type": "number"
613
+ }
614
+ },
615
+ "depends": [
616
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
617
+ ],
618
+ "location": "/occi1.2/resource_tpl/1",
619
+ "scheme": "http://schemas.openstack.org/template/resource#",
620
+ "term": "1",
621
+ "title": "Flavor: m1.tiny"
622
+ },
623
+ {
624
+ "attributes": {
625
+ "occi.compute.cores": {
626
+ "mutable": false,
627
+ "required": false,
628
+ "type": "number"
629
+ },
630
+ "occi.compute.memory": {
631
+ "mutable": false,
632
+ "required": false,
633
+ "type": "number"
634
+ },
635
+ "org.openstack.flavor.disk": {
636
+ "mutable": false,
637
+ "required": false,
638
+ "type": "number"
639
+ },
640
+ "org.openstack.flavor.ephemeral": {
641
+ "mutable": false,
642
+ "required": false,
643
+ "type": "number"
644
+ },
645
+ "org.openstack.flavor.name": {
646
+ "mutable": false,
647
+ "required": false,
648
+ "type": "string"
649
+ },
650
+ "org.openstack.flavor.swap": {
651
+ "mutable": false,
652
+ "required": false,
653
+ "type": "number"
654
+ }
655
+ },
656
+ "depends": [
657
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
658
+ ],
659
+ "location": "/occi1.2/resource_tpl/2",
660
+ "scheme": "http://schemas.openstack.org/template/resource#",
661
+ "term": "2",
662
+ "title": "Flavor: m1.small"
663
+ },
664
+ {
665
+ "attributes": {
666
+ "occi.compute.cores": {
667
+ "mutable": false,
668
+ "required": false,
669
+ "type": "number"
670
+ },
671
+ "occi.compute.memory": {
672
+ "mutable": false,
673
+ "required": false,
674
+ "type": "number"
675
+ },
676
+ "org.openstack.flavor.disk": {
677
+ "mutable": false,
678
+ "required": false,
679
+ "type": "number"
680
+ },
681
+ "org.openstack.flavor.ephemeral": {
682
+ "mutable": false,
683
+ "required": false,
684
+ "type": "number"
685
+ },
686
+ "org.openstack.flavor.name": {
687
+ "mutable": false,
688
+ "required": false,
689
+ "type": "string"
690
+ },
691
+ "org.openstack.flavor.swap": {
692
+ "mutable": false,
693
+ "required": false,
694
+ "type": "number"
695
+ }
696
+ },
697
+ "depends": [
698
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
699
+ ],
700
+ "location": "/occi1.2/resource_tpl/3",
701
+ "scheme": "http://schemas.openstack.org/template/resource#",
702
+ "term": "3",
703
+ "title": "Flavor: m1.medium"
704
+ },
705
+ {
706
+ "attributes": {
707
+ "occi.compute.cores": {
708
+ "mutable": false,
709
+ "required": false,
710
+ "type": "number"
711
+ },
712
+ "occi.compute.memory": {
713
+ "mutable": false,
714
+ "required": false,
715
+ "type": "number"
716
+ },
717
+ "org.openstack.flavor.disk": {
718
+ "mutable": false,
719
+ "required": false,
720
+ "type": "number"
721
+ },
722
+ "org.openstack.flavor.ephemeral": {
723
+ "mutable": false,
724
+ "required": false,
725
+ "type": "number"
726
+ },
727
+ "org.openstack.flavor.name": {
728
+ "mutable": false,
729
+ "required": false,
730
+ "type": "string"
731
+ },
732
+ "org.openstack.flavor.swap": {
733
+ "mutable": false,
734
+ "required": false,
735
+ "type": "number"
736
+ }
737
+ },
738
+ "depends": [
739
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
740
+ ],
741
+ "location": "/occi1.2/resource_tpl/3e880029-31a2-418a-8c69-f3330aaa3e96",
742
+ "scheme": "http://schemas.openstack.org/template/resource#",
743
+ "term": "3e880029-31a2-418a-8c69-f3330aaa3e96",
744
+ "title": "Flavor: cm4.xlarge"
745
+ },
746
+ {
747
+ "attributes": {
748
+ "occi.compute.cores": {
749
+ "mutable": false,
750
+ "required": false,
751
+ "type": "number"
752
+ },
753
+ "occi.compute.memory": {
754
+ "mutable": false,
755
+ "required": false,
756
+ "type": "number"
757
+ },
758
+ "org.openstack.flavor.disk": {
759
+ "mutable": false,
760
+ "required": false,
761
+ "type": "number"
762
+ },
763
+ "org.openstack.flavor.ephemeral": {
764
+ "mutable": false,
765
+ "required": false,
766
+ "type": "number"
767
+ },
768
+ "org.openstack.flavor.name": {
769
+ "mutable": false,
770
+ "required": false,
771
+ "type": "string"
772
+ },
773
+ "org.openstack.flavor.swap": {
774
+ "mutable": false,
775
+ "required": false,
776
+ "type": "number"
777
+ }
778
+ },
779
+ "depends": [
780
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
781
+ ],
782
+ "location": "/occi1.2/resource_tpl/4",
783
+ "scheme": "http://schemas.openstack.org/template/resource#",
784
+ "term": "4",
785
+ "title": "Flavor: m1.large"
786
+ },
787
+ {
788
+ "attributes": {
789
+ "occi.compute.cores": {
790
+ "mutable": false,
791
+ "required": false,
792
+ "type": "number"
793
+ },
794
+ "occi.compute.memory": {
795
+ "mutable": false,
796
+ "required": false,
797
+ "type": "number"
798
+ },
799
+ "org.openstack.flavor.disk": {
800
+ "mutable": false,
801
+ "required": false,
802
+ "type": "number"
803
+ },
804
+ "org.openstack.flavor.ephemeral": {
805
+ "mutable": false,
806
+ "required": false,
807
+ "type": "number"
808
+ },
809
+ "org.openstack.flavor.name": {
810
+ "mutable": false,
811
+ "required": false,
812
+ "type": "string"
813
+ },
814
+ "org.openstack.flavor.swap": {
815
+ "mutable": false,
816
+ "required": false,
817
+ "type": "number"
818
+ }
819
+ },
820
+ "depends": [
821
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
822
+ ],
823
+ "location": "/occi1.2/resource_tpl/5",
824
+ "scheme": "http://schemas.openstack.org/template/resource#",
825
+ "term": "5",
826
+ "title": "Flavor: m1.xlarge"
827
+ },
828
+ {
829
+ "attributes": {
830
+ "occi.compute.cores": {
831
+ "mutable": false,
832
+ "required": false,
833
+ "type": "number"
834
+ },
835
+ "occi.compute.memory": {
836
+ "mutable": false,
837
+ "required": false,
838
+ "type": "number"
839
+ },
840
+ "org.openstack.flavor.disk": {
841
+ "mutable": false,
842
+ "required": false,
843
+ "type": "number"
844
+ },
845
+ "org.openstack.flavor.ephemeral": {
846
+ "mutable": false,
847
+ "required": false,
848
+ "type": "number"
849
+ },
850
+ "org.openstack.flavor.name": {
851
+ "mutable": false,
852
+ "required": false,
853
+ "type": "string"
854
+ },
855
+ "org.openstack.flavor.swap": {
856
+ "mutable": false,
857
+ "required": false,
858
+ "type": "number"
859
+ }
860
+ },
861
+ "depends": [
862
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
863
+ ],
864
+ "location": "/occi1.2/resource_tpl/538066a6-a1c8-442c-96c5-93b6efdd204f",
865
+ "scheme": "http://schemas.openstack.org/template/resource#",
866
+ "term": "538066a6-a1c8-442c-96c5-93b6efdd204f",
867
+ "title": "Flavor: m2.6xlarge"
868
+ },
869
+ {
870
+ "attributes": {
871
+ "occi.compute.cores": {
872
+ "mutable": false,
873
+ "required": false,
874
+ "type": "number"
875
+ },
876
+ "occi.compute.memory": {
877
+ "mutable": false,
878
+ "required": false,
879
+ "type": "number"
880
+ },
881
+ "org.openstack.flavor.disk": {
882
+ "mutable": false,
883
+ "required": false,
884
+ "type": "number"
885
+ },
886
+ "org.openstack.flavor.ephemeral": {
887
+ "mutable": false,
888
+ "required": false,
889
+ "type": "number"
890
+ },
891
+ "org.openstack.flavor.name": {
892
+ "mutable": false,
893
+ "required": false,
894
+ "type": "string"
895
+ },
896
+ "org.openstack.flavor.swap": {
897
+ "mutable": false,
898
+ "required": false,
899
+ "type": "number"
900
+ }
901
+ },
902
+ "depends": [
903
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
904
+ ],
905
+ "location": "/occi1.2/resource_tpl/64664242-f791-4292-9b68-913b63163e58",
906
+ "scheme": "http://schemas.openstack.org/template/resource#",
907
+ "term": "64664242-f791-4292-9b68-913b63163e58",
908
+ "title": "Flavor: m2.3xlarge"
909
+ },
910
+ {
911
+ "attributes": {
912
+ "occi.compute.cores": {
913
+ "mutable": false,
914
+ "required": false,
915
+ "type": "number"
916
+ },
917
+ "occi.compute.memory": {
918
+ "mutable": false,
919
+ "required": false,
920
+ "type": "number"
921
+ },
922
+ "org.openstack.flavor.disk": {
923
+ "mutable": false,
924
+ "required": false,
925
+ "type": "number"
926
+ },
927
+ "org.openstack.flavor.ephemeral": {
928
+ "mutable": false,
929
+ "required": false,
930
+ "type": "number"
931
+ },
932
+ "org.openstack.flavor.name": {
933
+ "mutable": false,
934
+ "required": false,
935
+ "type": "string"
936
+ },
937
+ "org.openstack.flavor.swap": {
938
+ "mutable": false,
939
+ "required": false,
940
+ "type": "number"
941
+ }
942
+ },
943
+ "depends": [
944
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
945
+ ],
946
+ "location": "/occi1.2/resource_tpl/786e7ddc-e0a5-4c6a-b513-795bd1b5c54f",
947
+ "scheme": "http://schemas.openstack.org/template/resource#",
948
+ "term": "786e7ddc-e0a5-4c6a-b513-795bd1b5c54f",
949
+ "title": "Flavor: cm4.2xlarge"
950
+ },
951
+ {
952
+ "attributes": {
953
+ "occi.compute.cores": {
954
+ "mutable": false,
955
+ "required": false,
956
+ "type": "number"
957
+ },
958
+ "occi.compute.memory": {
959
+ "mutable": false,
960
+ "required": false,
961
+ "type": "number"
962
+ },
963
+ "org.openstack.flavor.disk": {
964
+ "mutable": false,
965
+ "required": false,
966
+ "type": "number"
967
+ },
968
+ "org.openstack.flavor.ephemeral": {
969
+ "mutable": false,
970
+ "required": false,
971
+ "type": "number"
972
+ },
973
+ "org.openstack.flavor.name": {
974
+ "mutable": false,
975
+ "required": false,
976
+ "type": "string"
977
+ },
978
+ "org.openstack.flavor.swap": {
979
+ "mutable": false,
980
+ "required": false,
981
+ "type": "number"
982
+ }
983
+ },
984
+ "depends": [
985
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
986
+ ],
987
+ "location": "/occi1.2/resource_tpl/9beb31e1-0796-4a2e-9d48-8b5f41a44d89",
988
+ "scheme": "http://schemas.openstack.org/template/resource#",
989
+ "term": "9beb31e1-0796-4a2e-9d48-8b5f41a44d89",
990
+ "title": "Flavor: cm4.4xlarge"
991
+ },
992
+ {
993
+ "attributes": {
994
+ "occi.compute.cores": {
995
+ "mutable": false,
996
+ "required": false,
997
+ "type": "number"
998
+ },
999
+ "occi.compute.memory": {
1000
+ "mutable": false,
1001
+ "required": false,
1002
+ "type": "number"
1003
+ },
1004
+ "org.openstack.flavor.disk": {
1005
+ "mutable": false,
1006
+ "required": false,
1007
+ "type": "number"
1008
+ },
1009
+ "org.openstack.flavor.ephemeral": {
1010
+ "mutable": false,
1011
+ "required": false,
1012
+ "type": "number"
1013
+ },
1014
+ "org.openstack.flavor.name": {
1015
+ "mutable": false,
1016
+ "required": false,
1017
+ "type": "string"
1018
+ },
1019
+ "org.openstack.flavor.swap": {
1020
+ "mutable": false,
1021
+ "required": false,
1022
+ "type": "number"
1023
+ }
1024
+ },
1025
+ "depends": [
1026
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
1027
+ ],
1028
+ "location": "/occi1.2/resource_tpl/a69a50a8-2ac6-44c4-9a5a-30e59e346222",
1029
+ "scheme": "http://schemas.openstack.org/template/resource#",
1030
+ "term": "a69a50a8-2ac6-44c4-9a5a-30e59e346222",
1031
+ "title": "Flavor: m2.xlarge"
1032
+ },
1033
+ {
1034
+ "attributes": {
1035
+ "occi.compute.cores": {
1036
+ "mutable": false,
1037
+ "required": false,
1038
+ "type": "number"
1039
+ },
1040
+ "occi.compute.memory": {
1041
+ "mutable": false,
1042
+ "required": false,
1043
+ "type": "number"
1044
+ },
1045
+ "org.openstack.flavor.disk": {
1046
+ "mutable": false,
1047
+ "required": false,
1048
+ "type": "number"
1049
+ },
1050
+ "org.openstack.flavor.ephemeral": {
1051
+ "mutable": false,
1052
+ "required": false,
1053
+ "type": "number"
1054
+ },
1055
+ "org.openstack.flavor.name": {
1056
+ "mutable": false,
1057
+ "required": false,
1058
+ "type": "string"
1059
+ },
1060
+ "org.openstack.flavor.swap": {
1061
+ "mutable": false,
1062
+ "required": false,
1063
+ "type": "number"
1064
+ }
1065
+ },
1066
+ "depends": [
1067
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
1068
+ ],
1069
+ "location": "/occi1.2/resource_tpl/c765383f-b144-4e90-8819-0cd00cabff67",
1070
+ "scheme": "http://schemas.openstack.org/template/resource#",
1071
+ "term": "c765383f-b144-4e90-8819-0cd00cabff67",
1072
+ "title": "Flavor: cm4.8xlarge"
1073
+ },
1074
+ {
1075
+ "attributes": {
1076
+ "occi.compute.cores": {
1077
+ "mutable": false,
1078
+ "required": false,
1079
+ "type": "number"
1080
+ },
1081
+ "occi.compute.memory": {
1082
+ "mutable": false,
1083
+ "required": false,
1084
+ "type": "number"
1085
+ },
1086
+ "org.openstack.flavor.disk": {
1087
+ "mutable": false,
1088
+ "required": false,
1089
+ "type": "number"
1090
+ },
1091
+ "org.openstack.flavor.ephemeral": {
1092
+ "mutable": false,
1093
+ "required": false,
1094
+ "type": "number"
1095
+ },
1096
+ "org.openstack.flavor.name": {
1097
+ "mutable": false,
1098
+ "required": false,
1099
+ "type": "string"
1100
+ },
1101
+ "org.openstack.flavor.swap": {
1102
+ "mutable": false,
1103
+ "required": false,
1104
+ "type": "number"
1105
+ }
1106
+ },
1107
+ "depends": [
1108
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
1109
+ ],
1110
+ "location": "/occi1.2/resource_tpl/cd775e27-af09-407b-ab34-fb999ba418bd",
1111
+ "scheme": "http://schemas.openstack.org/template/resource#",
1112
+ "term": "cd775e27-af09-407b-ab34-fb999ba418bd",
1113
+ "title": "Flavor: cm4.large"
1114
+ },
1115
+ {
1116
+ "attributes": {
1117
+ "occi.compute.cores": {
1118
+ "mutable": false,
1119
+ "required": false,
1120
+ "type": "number"
1121
+ },
1122
+ "occi.compute.memory": {
1123
+ "mutable": false,
1124
+ "required": false,
1125
+ "type": "number"
1126
+ },
1127
+ "org.openstack.flavor.disk": {
1128
+ "mutable": false,
1129
+ "required": false,
1130
+ "type": "number"
1131
+ },
1132
+ "org.openstack.flavor.ephemeral": {
1133
+ "mutable": false,
1134
+ "required": false,
1135
+ "type": "number"
1136
+ },
1137
+ "org.openstack.flavor.name": {
1138
+ "mutable": false,
1139
+ "required": false,
1140
+ "type": "string"
1141
+ },
1142
+ "org.openstack.flavor.swap": {
1143
+ "mutable": false,
1144
+ "required": false,
1145
+ "type": "number"
1146
+ }
1147
+ },
1148
+ "depends": [
1149
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
1150
+ ],
1151
+ "location": "/occi1.2/resource_tpl/d9c6ddc6-9854-401e-8f45-062bfa738d19",
1152
+ "scheme": "http://schemas.openstack.org/template/resource#",
1153
+ "term": "d9c6ddc6-9854-401e-8f45-062bfa738d19",
1154
+ "title": "Flavor: m2.12xlarge"
1155
+ },
1156
+ {
1157
+ "attributes": {
1158
+ "occi.compute.cores": {
1159
+ "mutable": false,
1160
+ "required": false,
1161
+ "type": "number"
1162
+ },
1163
+ "occi.compute.memory": {
1164
+ "mutable": false,
1165
+ "required": false,
1166
+ "type": "number"
1167
+ },
1168
+ "org.openstack.flavor.disk": {
1169
+ "mutable": false,
1170
+ "required": false,
1171
+ "type": "number"
1172
+ },
1173
+ "org.openstack.flavor.ephemeral": {
1174
+ "mutable": false,
1175
+ "required": false,
1176
+ "type": "number"
1177
+ },
1178
+ "org.openstack.flavor.name": {
1179
+ "mutable": false,
1180
+ "required": false,
1181
+ "type": "string"
1182
+ },
1183
+ "org.openstack.flavor.swap": {
1184
+ "mutable": false,
1185
+ "required": false,
1186
+ "type": "number"
1187
+ }
1188
+ },
1189
+ "depends": [
1190
+ "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
1191
+ ],
1192
+ "location": "/occi1.2/resource_tpl/e10a5b2c-2750-4129-aa28-3f6cf52eebad",
1193
+ "scheme": "http://schemas.openstack.org/template/resource#",
1194
+ "term": "e10a5b2c-2750-4129-aa28-3f6cf52eebad",
1195
+ "title": "Flavor: m2.large"
1196
+ },
1197
+ {
1198
+ "depends": [
1199
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1200
+ ],
1201
+ "location": "/occi1.2/os_tpl/f4a0adbd-df5c-4d8d-a106-b743b2ead86c",
1202
+ "scheme": "http://schemas.openstack.org/template/os#",
1203
+ "term": "f4a0adbd-df5c-4d8d-a106-b743b2ead86c",
1204
+ "title": "IFCA Ubuntu Server 16.04 + CUDA 8.0"
1205
+ },
1206
+ {
1207
+ "depends": [
1208
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1209
+ ],
1210
+ "location": "/occi1.2/os_tpl/c8ffe556-57b7-44c6-a4d3-4c6adae4d38f",
1211
+ "scheme": "http://schemas.openstack.org/template/os#",
1212
+ "term": "c8ffe556-57b7-44c6-a4d3-4c6adae4d38f",
1213
+ "title": "EGI FEDCLOUD Pymdsetup"
1214
+ },
1215
+ {
1216
+ "depends": [
1217
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1218
+ ],
1219
+ "location": "/occi1.2/os_tpl/9ba8ceb7-b979-4a55-83cf-b0dae48af65a",
1220
+ "scheme": "http://schemas.openstack.org/template/os#",
1221
+ "term": "9ba8ceb7-b979-4a55-83cf-b0dae48af65a",
1222
+ "title": "EGI FEDCLOUD Image for EGI Fedora 25 [Fedora/25/VirtualBox]"
1223
+ },
1224
+ {
1225
+ "depends": [
1226
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1227
+ ],
1228
+ "location": "/occi1.2/os_tpl/e65662b7-0bff-49aa-80a9-8b9f7154811b",
1229
+ "scheme": "http://schemas.openstack.org/template/os#",
1230
+ "term": "e65662b7-0bff-49aa-80a9-8b9f7154811b",
1231
+ "title": "EGI FEDCLOUD Image for EGI FedCloud Clients [Ubuntu/14.04/KVM]"
1232
+ },
1233
+ {
1234
+ "depends": [
1235
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1236
+ ],
1237
+ "location": "/occi1.2/os_tpl/cb2ba062-f144-47f2-945f-b9be7d0347f7",
1238
+ "scheme": "http://schemas.openstack.org/template/os#",
1239
+ "term": "cb2ba062-f144-47f2-945f-b9be7d0347f7",
1240
+ "title": "EGI FEDCLOUD Image for EGI CentOS 7 [CentOS/7/VirtualBox]"
1241
+ },
1242
+ {
1243
+ "depends": [
1244
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1245
+ ],
1246
+ "location": "/occi1.2/os_tpl/410a6064-200a-47a4-9f13-c7e788821f2e",
1247
+ "scheme": "http://schemas.openstack.org/template/os#",
1248
+ "term": "410a6064-200a-47a4-9f13-c7e788821f2e",
1249
+ "title": "EGI FEDCLOUD Image for EGI Centos 6 [CentOS/6/KVM]"
1250
+ },
1251
+ {
1252
+ "depends": [
1253
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1254
+ ],
1255
+ "location": "/occi1.2/os_tpl/f6319364-8e84-4eab-acdc-798764db54d7",
1256
+ "scheme": "http://schemas.openstack.org/template/os#",
1257
+ "term": "f6319364-8e84-4eab-acdc-798764db54d7",
1258
+ "title": "EGI FEDCLOUD Image for EGI Docker Ubuntu 16.04 [Ubuntu/16.04/VirtualBox]"
1259
+ },
1260
+ {
1261
+ "depends": [
1262
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1263
+ ],
1264
+ "location": "/occi1.2/os_tpl/66b7ba37-7cc7-46ed-936c-7886eb68b7dc",
1265
+ "scheme": "http://schemas.openstack.org/template/os#",
1266
+ "term": "66b7ba37-7cc7-46ed-936c-7886eb68b7dc",
1267
+ "title": "EGI FEDCLOUD Image for Docker Ubuntu 14.04 [Ubuntu/14.04/VirtualBox]"
1268
+ },
1269
+ {
1270
+ "depends": [
1271
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1272
+ ],
1273
+ "location": "/occi1.2/os_tpl/8e67cd05-6550-4f0b-9709-d84b79bd58b3",
1274
+ "scheme": "http://schemas.openstack.org/template/os#",
1275
+ "term": "8e67cd05-6550-4f0b-9709-d84b79bd58b3",
1276
+ "title": "EGI FEDCLOUD Image for EGI Ubuntu 14.04 [Ubuntu/14.04/VirtualBox]"
1277
+ },
1278
+ {
1279
+ "depends": [
1280
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1281
+ ],
1282
+ "location": "/occi1.2/os_tpl/024fb766-eaa8-4a4d-bb55-423873da778e",
1283
+ "scheme": "http://schemas.openstack.org/template/os#",
1284
+ "term": "024fb766-eaa8-4a4d-bb55-423873da778e",
1285
+ "title": "EGI FEDCLOUD Image for EGI Ubuntu 16.04 LTS [Ubuntu/16.04/VirtualBox]"
1286
+ },
1287
+ {
1288
+ "depends": [
1289
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1290
+ ],
1291
+ "location": "/occi1.2/os_tpl/55c49e5c-637d-4e92-8388-a1baa941fb81",
1292
+ "scheme": "http://schemas.openstack.org/template/os#",
1293
+ "term": "55c49e5c-637d-4e92-8388-a1baa941fb81",
1294
+ "title": "EGI FEDCLOUD Image for DataMiner [Ubuntu/14.04/VirtualBox]"
1295
+ },
1296
+ {
1297
+ "depends": [
1298
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1299
+ ],
1300
+ "location": "/occi1.2/os_tpl/de2dcef0-cfeb-47d7-8cc5-765a03a163b8",
1301
+ "scheme": "http://schemas.openstack.org/template/os#",
1302
+ "term": "de2dcef0-cfeb-47d7-8cc5-765a03a163b8",
1303
+ "title": "EGI FEDCLOUD Image for gCube Smart Executor [Ubuntu/14.04/VirtualBox]"
1304
+ },
1305
+ {
1306
+ "depends": [
1307
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1308
+ ],
1309
+ "location": "/occi1.2/os_tpl/80f45ce4-2c9a-4711-9383-7f39f5cdbc11",
1310
+ "scheme": "http://schemas.openstack.org/template/os#",
1311
+ "term": "80f45ce4-2c9a-4711-9383-7f39f5cdbc11",
1312
+ "title": "EGI FEDCLOUD Image for COMPSs Framework [Ubuntu/15.04/Kv]"
1313
+ },
1314
+ {
1315
+ "depends": [
1316
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1317
+ ],
1318
+ "location": "/occi1.2/os_tpl/49f2748f-e242-47fc-a8d4-e568498a18e1",
1319
+ "scheme": "http://schemas.openstack.org/template/os#",
1320
+ "term": "49f2748f-e242-47fc-a8d4-e568498a18e1",
1321
+ "title": "EGI FEDCLOUD Image for COMPSs_LOFAR [Debian/7/KVM]"
1322
+ },
1323
+ {
1324
+ "depends": [
1325
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1326
+ ],
1327
+ "location": "/occi1.2/os_tpl/f0452480-4152-467f-944f-d6eb20573754",
1328
+ "scheme": "http://schemas.openstack.org/template/os#",
1329
+ "term": "f0452480-4152-467f-944f-d6eb20573754",
1330
+ "title": "IFCA Ubuntu Server 16.04 JeOS"
1331
+ },
1332
+ {
1333
+ "depends": [
1334
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1335
+ ],
1336
+ "location": "/occi1.2/os_tpl/21f4b241-969b-4612-8516-ce57239c80af",
1337
+ "scheme": "http://schemas.openstack.org/template/os#",
1338
+ "term": "21f4b241-969b-4612-8516-ce57239c80af",
1339
+ "title": "EGI FEDCLOUD Image for APACHE HIVE [Ubuntu/14.04/VMWare]"
1340
+ },
1341
+ {
1342
+ "depends": [
1343
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1344
+ ],
1345
+ "location": "/occi1.2/os_tpl/444d3e75-f642-477f-86dd-40a23c68c085",
1346
+ "scheme": "http://schemas.openstack.org/template/os#",
1347
+ "term": "444d3e75-f642-477f-86dd-40a23c68c085",
1348
+ "title": "EGI FEDCLOUD Image for FutureGateway [Ubuntu/14.04/KVM]"
1349
+ },
1350
+ {
1351
+ "depends": [
1352
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1353
+ ],
1354
+ "location": "/occi1.2/os_tpl/6dba0cab-3824-425d-94b2-4a53d29ea4a1",
1355
+ "scheme": "http://schemas.openstack.org/template/os#",
1356
+ "term": "6dba0cab-3824-425d-94b2-4a53d29ea4a1",
1357
+ "title": "EGI FEDCLOUD Image for DCI-Bridge [Debian/7.0/KVM]"
1358
+ },
1359
+ {
1360
+ "depends": [
1361
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1362
+ ],
1363
+ "location": "/occi1.2/os_tpl/828e9263-3824-45f6-a7fb-d2b140176de0",
1364
+ "scheme": "http://schemas.openstack.org/template/os#",
1365
+ "term": "828e9263-3824-45f6-a7fb-d2b140176de0",
1366
+ "title": "EGI FEDCLOUD Image for Hadoop 2.7.1 [Ubuntu/14.04/VirtualBox]"
1367
+ },
1368
+ {
1369
+ "depends": [
1370
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1371
+ ],
1372
+ "location": "/occi1.2/os_tpl/299cfae2-1749-43b1-8c4c-9bd62bbad44b",
1373
+ "scheme": "http://schemas.openstack.org/template/os#",
1374
+ "term": "299cfae2-1749-43b1-8c4c-9bd62bbad44b",
1375
+ "title": "EGI FEDCLOUD OS Disk Image"
1376
+ },
1377
+ {
1378
+ "depends": [
1379
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1380
+ ],
1381
+ "location": "/occi1.2/os_tpl/1c0c8f4f-2815-4eb1-a9ee-f0eef168befb",
1382
+ "scheme": "http://schemas.openstack.org/template/os#",
1383
+ "term": "1c0c8f4f-2815-4eb1-a9ee-f0eef168befb",
1384
+ "title": "EGI FEDCLOUD Image for CernVM [Scientific Linux/6.0/KVM]"
1385
+ },
1386
+ {
1387
+ "depends": [
1388
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1389
+ ],
1390
+ "location": "/occi1.2/os_tpl/0ecd5774-cd41-4412-b368-0fff6202ecfb",
1391
+ "scheme": "http://schemas.openstack.org/template/os#",
1392
+ "term": "0ecd5774-cd41-4412-b368-0fff6202ecfb",
1393
+ "title": "IFCA Debian Jessie 64-bit JeOS"
1394
+ },
1395
+ {
1396
+ "depends": [
1397
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1398
+ ],
1399
+ "location": "/occi1.2/os_tpl/21711a1d-ab51-40b0-b990-6e196b60390b",
1400
+ "scheme": "http://schemas.openstack.org/template/os#",
1401
+ "term": "21711a1d-ab51-40b0-b990-6e196b60390b",
1402
+ "title": "IFCA CernVM 3.5.1"
1403
+ },
1404
+ {
1405
+ "depends": [
1406
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1407
+ ],
1408
+ "location": "/occi1.2/os_tpl/947a0ce5-f6a0-4661-8db2-016664e9a950",
1409
+ "scheme": "http://schemas.openstack.org/template/os#",
1410
+ "term": "947a0ce5-f6a0-4661-8db2-016664e9a950",
1411
+ "title": "IFCA CentOS 7"
1412
+ },
1413
+ {
1414
+ "depends": [
1415
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1416
+ ],
1417
+ "location": "/occi1.2/os_tpl/8f54e773-e7c7-48e5-b422-e72422d80436",
1418
+ "scheme": "http://schemas.openstack.org/template/os#",
1419
+ "term": "8f54e773-e7c7-48e5-b422-e72422d80436",
1420
+ "title": "IFCA Ubuntu Server 14.04 JeOS"
1421
+ },
1422
+ {
1423
+ "depends": [
1424
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1425
+ ],
1426
+ "location": "/occi1.2/os_tpl/226071fa-12f7-40f2-947b-aaafd0203f88",
1427
+ "scheme": "http://schemas.openstack.org/template/os#",
1428
+ "term": "226071fa-12f7-40f2-947b-aaafd0203f88",
1429
+ "title": "ubuntu-heat-cfntools"
1430
+ },
1431
+ {
1432
+ "depends": [
1433
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1434
+ ],
1435
+ "location": "/occi1.2/os_tpl/1414f242-d6d1-4a8c-8b26-8c0ada32f343",
1436
+ "scheme": "http://schemas.openstack.org/template/os#",
1437
+ "term": "1414f242-d6d1-4a8c-8b26-8c0ada32f343",
1438
+ "title": "IFCA Fedora Cloud 23"
1439
+ },
1440
+ {
1441
+ "depends": [
1442
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1443
+ ],
1444
+ "location": "/occi1.2/os_tpl/f3544cc8-421f-4d93-ac35-eba7fdc75329",
1445
+ "scheme": "http://schemas.openstack.org/template/os#",
1446
+ "term": "f3544cc8-421f-4d93-ac35-eba7fdc75329",
1447
+ "title": "IFCA CentOS 6"
1448
+ },
1449
+ {
1450
+ "depends": [
1451
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1452
+ ],
1453
+ "location": "/occi1.2/os_tpl/5c9aa402-b8e2-449b-b087-c93f99ad3ff8",
1454
+ "scheme": "http://schemas.openstack.org/template/os#",
1455
+ "term": "5c9aa402-b8e2-449b-b087-c93f99ad3ff8",
1456
+ "title": "IFCA CernVM 3 (prod-1.18-1)"
1457
+ },
1458
+ {
1459
+ "depends": [
1460
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1461
+ ],
1462
+ "location": "/occi1.2/os_tpl/3acb57cd-a6a4-4abb-b5ed-ffd619fd7d9c",
1463
+ "scheme": "http://schemas.openstack.org/template/os#",
1464
+ "term": "3acb57cd-a6a4-4abb-b5ed-ffd619fd7d9c",
1465
+ "title": "IFCA CernVM 3 (1.17-5 SL5)"
1466
+ },
1467
+ {
1468
+ "depends": [
1469
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1470
+ ],
1471
+ "location": "/occi1.2/os_tpl/f417ada4-3468-4e40-9ed2-3ce950f8ac14",
1472
+ "scheme": "http://schemas.openstack.org/template/os#",
1473
+ "term": "f417ada4-3468-4e40-9ed2-3ce950f8ac14",
1474
+ "title": "IFCA OpenSUSE 12.3 kernel 3.7.10-1.11-xen"
1475
+ },
1476
+ {
1477
+ "depends": [
1478
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1479
+ ],
1480
+ "location": "/occi1.2/os_tpl/5035d82b-9ac3-45b1-8ee3-8d5c335597e7",
1481
+ "scheme": "http://schemas.openstack.org/template/os#",
1482
+ "term": "5035d82b-9ac3-45b1-8ee3-8d5c335597e7",
1483
+ "title": "IFCA OpenSUSE 12.3 initrd 3.7.10-1.11-xen"
1484
+ },
1485
+ {
1486
+ "depends": [
1487
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1488
+ ],
1489
+ "location": "/occi1.2/os_tpl/75896bad-05d3-45f6-9958-5940f82d0048",
1490
+ "scheme": "http://schemas.openstack.org/template/os#",
1491
+ "term": "75896bad-05d3-45f6-9958-5940f82d0048",
1492
+ "title": "IFCA Scientific Linux 6.2 JeOS"
1493
+ },
1494
+ {
1495
+ "depends": [
1496
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1497
+ ],
1498
+ "location": "/occi1.2/os_tpl/daaed27e-6226-4295-8018-ad3b6b5210f6",
1499
+ "scheme": "http://schemas.openstack.org/template/os#",
1500
+ "term": "daaed27e-6226-4295-8018-ad3b6b5210f6",
1501
+ "title": "IFCA openSUSE 11.4 + Compilers + Mathematica"
1502
+ },
1503
+ {
1504
+ "depends": [
1505
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1506
+ ],
1507
+ "location": "/occi1.2/os_tpl/3ef6bb0c-6a17-47c9-a949-70256eb6651e",
1508
+ "scheme": "http://schemas.openstack.org/template/os#",
1509
+ "term": "3ef6bb0c-6a17-47c9-a949-70256eb6651e",
1510
+ "title": "IFCA openSUSE 11.4 + Compilers"
1511
+ },
1512
+ {
1513
+ "depends": [
1514
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1515
+ ],
1516
+ "location": "/occi1.2/os_tpl/29233856-ed8e-4b61-ac81-898eb5e7c263",
1517
+ "scheme": "http://schemas.openstack.org/template/os#",
1518
+ "term": "29233856-ed8e-4b61-ac81-898eb5e7c263",
1519
+ "title": "IFCA openSUSE 11.4 JeOS"
1520
+ },
1521
+ {
1522
+ "depends": [
1523
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1524
+ ],
1525
+ "location": "/occi1.2/os_tpl/cdbb6f8f-d10e-4e2b-879d-250d29fb9dbb",
1526
+ "scheme": "http://schemas.openstack.org/template/os#",
1527
+ "term": "cdbb6f8f-d10e-4e2b-879d-250d29fb9dbb",
1528
+ "title": "IFCA Scientific Linux 5.5 + PROOF v5.30.00"
1529
+ },
1530
+ {
1531
+ "depends": [
1532
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1533
+ ],
1534
+ "location": "/occi1.2/os_tpl/6857ee01-2ba9-4846-b788-9e826dd9aaba",
1535
+ "scheme": "http://schemas.openstack.org/template/os#",
1536
+ "term": "6857ee01-2ba9-4846-b788-9e826dd9aaba",
1537
+ "title": "IFCA Scientific Linux 5.5 + ROOT v5.30.00"
1538
+ },
1539
+ {
1540
+ "depends": [
1541
+ "http://schemas.ogf.org/occi/infrastructure#os_tpl"
1542
+ ],
1543
+ "location": "/occi1.2/os_tpl/18d99a06-c3e5-4157-a0e3-37ec34bdfc24",
1544
+ "scheme": "http://schemas.openstack.org/template/os#",
1545
+ "term": "18d99a06-c3e5-4157-a0e3-37ec34bdfc24",
1546
+ "title": "IFCA Scientific Linux 5.5 JeOS"
1547
+ },
1548
+ {
1549
+ "attributes": {
1550
+ "org.openstack.compute.user_data": {
1551
+ "mutable": false,
1552
+ "required": true,
1553
+ "type": "string"
1554
+ }
1555
+ },
1556
+ "location": "/occi1.2/user_data/",
1557
+ "scheme": "http://schemas.openstack.org/compute/instance#",
1558
+ "term": "user_data",
1559
+ "title": "Contextualization extension - user_data"
1560
+ },
1561
+ {
1562
+ "attributes": {
1563
+ "org.openstack.credentials.publickey.data": {
1564
+ "mutable": false,
1565
+ "required": true,
1566
+ "type": "string"
1567
+ },
1568
+ "org.openstack.credentials.publickey.name": {
1569
+ "mutable": false,
1570
+ "required": false,
1571
+ "type": "string"
1572
+ }
1573
+ },
1574
+ "location": "/occi1.2/public_key/",
1575
+ "scheme": "http://schemas.openstack.org/instance/credentials#",
1576
+ "term": "public_key",
1577
+ "title": "Contextualization extension - public_key"
1578
+ },
1579
+ {
1580
+ "applies": [
1581
+ "http://schemas.ogf.org/occi/infrastructure#compute"
1582
+ ],
1583
+ "attributes": {
1584
+ "occi.compute.userdata": {
1585
+ "description": "Contextualization data (e.g., script, executable) that the client supplies once and only once. It cannot be updated.",
1586
+ "mutable": true,
1587
+ "required": true,
1588
+ "type": "string"
1589
+ }
1590
+ },
1591
+ "location": "/occi1.2/user_data/",
1592
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/compute#",
1593
+ "term": "user_data",
1594
+ "title": "Contextualization mixin"
1595
+ },
1596
+ {
1597
+ "applies": [
1598
+ "http://schemas.ogf.org/occi/infrastructure#compute"
1599
+ ],
1600
+ "attributes": {
1601
+ "occi.crendentials.ssh.publickey": {
1602
+ "description": "The contents of the public key file to be injected into the Compute Resource",
1603
+ "mutable": true,
1604
+ "required": true,
1605
+ "type": "string"
1606
+ }
1607
+ },
1608
+ "location": "/occi1.2/ssh_key/",
1609
+ "scheme": "http://schemas.ogf.org/occi/infrastructure/credentials#",
1610
+ "term": "ssh_key",
1611
+ "title": "Credentials mixin"
1612
+ },
1613
+ {
1614
+ "location": "/occi1.2/cloudprv-01/",
1615
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1616
+ "term": "cloudprv-01",
1617
+ "title": "cloudprv-01"
1618
+ },
1619
+ {
1620
+ "location": "/occi1.2/cloudprv-02/",
1621
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1622
+ "term": "cloudprv-02",
1623
+ "title": "cloudprv-02"
1624
+ },
1625
+ {
1626
+ "location": "/occi1.2/cloudprv-03/",
1627
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1628
+ "term": "cloudprv-03",
1629
+ "title": "cloudprv-03"
1630
+ },
1631
+ {
1632
+ "location": "/occi1.2/cloudprv-04/",
1633
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1634
+ "term": "cloudprv-04",
1635
+ "title": "cloudprv-04"
1636
+ },
1637
+ {
1638
+ "location": "/occi1.2/cloudprv-05/",
1639
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1640
+ "term": "cloudprv-05",
1641
+ "title": "cloudprv-05"
1642
+ },
1643
+ {
1644
+ "location": "/occi1.2/cloudprv-06/",
1645
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1646
+ "term": "cloudprv-06",
1647
+ "title": "cloudprv-06"
1648
+ },
1649
+ {
1650
+ "location": "/occi1.2/cloudprv-07/",
1651
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1652
+ "term": "cloudprv-07",
1653
+ "title": "cloudprv-07"
1654
+ },
1655
+ {
1656
+ "location": "/occi1.2/cloudprv-08/",
1657
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1658
+ "term": "cloudprv-08",
1659
+ "title": "cloudprv-08"
1660
+ },
1661
+ {
1662
+ "location": "/occi1.2/cloudprv-09/",
1663
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1664
+ "term": "cloudprv-09",
1665
+ "title": "cloudprv-09"
1666
+ },
1667
+ {
1668
+ "location": "/occi1.2/cloudprv-10/",
1669
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1670
+ "term": "cloudprv-10",
1671
+ "title": "cloudprv-10"
1672
+ },
1673
+ {
1674
+ "location": "/occi1.2/cloudprv-11/",
1675
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1676
+ "term": "cloudprv-11",
1677
+ "title": "cloudprv-11"
1678
+ },
1679
+ {
1680
+ "location": "/occi1.2/cloudprv-12/",
1681
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1682
+ "term": "cloudprv-12",
1683
+ "title": "cloudprv-12"
1684
+ },
1685
+ {
1686
+ "location": "/occi1.2/cloudprv-13/",
1687
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1688
+ "term": "cloudprv-13",
1689
+ "title": "cloudprv-13"
1690
+ },
1691
+ {
1692
+ "location": "/occi1.2/cloudprv-14/",
1693
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1694
+ "term": "cloudprv-14",
1695
+ "title": "cloudprv-14"
1696
+ },
1697
+ {
1698
+ "location": "/occi1.2/cloudprv-15/",
1699
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1700
+ "term": "cloudprv-15",
1701
+ "title": "cloudprv-15"
1702
+ },
1703
+ {
1704
+ "location": "/occi1.2/cloudprv-16/",
1705
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1706
+ "term": "cloudprv-16",
1707
+ "title": "cloudprv-16"
1708
+ },
1709
+ {
1710
+ "location": "/occi1.2/nova/",
1711
+ "scheme": "http://schemas.openstack.org/network/floatingippool#",
1712
+ "term": "nova",
1713
+ "title": "nova"
1714
+ }
1715
+ ]
1716
+ }