deltacloud-core 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (294) hide show
  1. data/NOTICE +1 -1
  2. data/Rakefile +63 -21
  3. data/bin/deltacloudd +10 -6
  4. data/config.ru +62 -6
  5. data/config/drivers/ec2.yaml +8 -0
  6. data/config/drivers/fgcp.yaml +13 -0
  7. data/deltacloud-core.gemspec +10 -2
  8. data/lib/cimi/collections.rb +58 -0
  9. data/lib/cimi/collections/address_templates.rb +49 -0
  10. data/lib/cimi/collections/addresses.rb +74 -0
  11. data/lib/cimi/collections/cloud_entry_point.rb +37 -0
  12. data/lib/{deltacloud/helpers/conversion_helper.rb → cimi/collections/entity_metadata.rb} +24 -16
  13. data/lib/cimi/collections/machine_admins.rb +74 -0
  14. data/lib/cimi/collections/machine_configurations.rb +49 -0
  15. data/lib/cimi/collections/machine_images.rb +50 -0
  16. data/lib/cimi/collections/machines.rb +157 -0
  17. data/lib/cimi/collections/network_configurations.rb +47 -0
  18. data/lib/cimi/collections/network_templates.rb +48 -0
  19. data/lib/cimi/collections/networks.rb +125 -0
  20. data/lib/cimi/collections/routing_group_templates.rb +47 -0
  21. data/lib/cimi/collections/routing_groups.rb +48 -0
  22. data/lib/cimi/collections/volume_configurations.rb +48 -0
  23. data/lib/cimi/collections/volume_images.rb +50 -0
  24. data/lib/cimi/collections/volumes.rb +80 -0
  25. data/lib/cimi/collections/vsp_configurations.rb +48 -0
  26. data/lib/cimi/collections/vsp_templates.rb +50 -0
  27. data/lib/cimi/collections/vsps.rb +108 -0
  28. data/lib/cimi/dependencies.rb +1 -0
  29. data/lib/cimi/helpers.rb +116 -0
  30. data/lib/cimi/helpers/cimi_helper.rb +6 -2
  31. data/lib/cimi/models.rb +72 -0
  32. data/lib/cimi/{model → models}/action.rb +1 -1
  33. data/lib/cimi/models/address.rb +72 -0
  34. data/lib/cimi/models/address_collection.rb +34 -0
  35. data/lib/cimi/models/address_template.rb +54 -0
  36. data/lib/cimi/models/address_template_collection.rb +34 -0
  37. data/lib/cimi/{model → models}/base.rb +2 -2
  38. data/lib/cimi/{model → models}/cloud_entry_point.rb +3 -5
  39. data/lib/cimi/{model → models}/entity_metadata.rb +7 -6
  40. data/lib/cimi/{model → models}/entity_metadata_collection.rb +2 -2
  41. data/lib/cimi/{model → models}/errors.rb +8 -0
  42. data/lib/cimi/{model → models}/machine.rb +10 -10
  43. data/lib/cimi/{model → models}/machine_admin.rb +1 -1
  44. data/lib/cimi/{model → models}/machine_admin_collection.rb +2 -2
  45. data/lib/cimi/{model → models}/machine_collection.rb +2 -2
  46. data/lib/cimi/{model → models}/machine_configuration.rb +9 -6
  47. data/lib/cimi/{model → models}/machine_configuration_collection.rb +2 -2
  48. data/lib/cimi/{model → models}/machine_image.rb +1 -1
  49. data/lib/cimi/{model → models}/machine_image_collection.rb +2 -2
  50. data/lib/cimi/{model → models}/machine_template.rb +0 -0
  51. data/lib/cimi/{model → models}/machine_template_collection.rb +2 -2
  52. data/lib/cimi/models/network.rb +109 -0
  53. data/lib/cimi/{model → models}/network_collection.rb +2 -2
  54. data/lib/cimi/{model → models}/network_configuration.rb +3 -4
  55. data/lib/cimi/{model → models}/network_configuration_collection.rb +2 -2
  56. data/lib/cimi/models/network_template.rb +36 -0
  57. data/lib/cimi/models/network_template_collection.rb +35 -0
  58. data/lib/cimi/models/routing_group.rb +34 -0
  59. data/lib/cimi/models/routing_group_collection.rb +34 -0
  60. data/lib/cimi/models/routing_group_template.rb +34 -0
  61. data/lib/cimi/models/routing_group_template_collection.rb +35 -0
  62. data/lib/cimi/{model → models}/schema.rb +0 -0
  63. data/lib/cimi/{model → models}/volume.rb +4 -4
  64. data/lib/cimi/{model → models}/volume_collection.rb +2 -2
  65. data/lib/cimi/{model → models}/volume_configuration.rb +1 -1
  66. data/lib/cimi/{model → models}/volume_configuration_collection.rb +2 -2
  67. data/lib/cimi/{model → models}/volume_image.rb +1 -1
  68. data/lib/cimi/{model → models}/volume_image_collection.rb +2 -2
  69. data/lib/cimi/{model → models}/volume_template.rb +0 -0
  70. data/lib/cimi/{model → models}/volume_template_collection.rb +2 -2
  71. data/lib/cimi/models/vsp.rb +102 -0
  72. data/lib/cimi/models/vsp_collection.rb +34 -0
  73. data/lib/cimi/models/vsp_configuration.rb +40 -0
  74. data/lib/cimi/models/vsp_configuration_collection.rb +34 -0
  75. data/lib/cimi/models/vsp_template.rb +34 -0
  76. data/lib/cimi/models/vsp_template_collection.rb +34 -0
  77. data/lib/cimi/server.rb +27 -549
  78. data/lib/deltacloud/api.rb +79 -0
  79. data/lib/deltacloud/collections.rb +54 -0
  80. data/lib/deltacloud/collections/addresses.rb +91 -0
  81. data/lib/deltacloud/collections/buckets.rb +273 -0
  82. data/lib/deltacloud/collections/drivers.rb +51 -0
  83. data/lib/deltacloud/collections/firewalls.rb +116 -0
  84. data/lib/deltacloud/collections/hardware_profiles.rb +29 -0
  85. data/lib/deltacloud/collections/images.rb +73 -0
  86. data/lib/deltacloud/collections/instance_states.rb +59 -0
  87. data/lib/deltacloud/collections/instances.rb +113 -0
  88. data/lib/deltacloud/collections/keys.rb +61 -0
  89. data/lib/deltacloud/collections/load_balancers.rb +102 -0
  90. data/lib/deltacloud/collections/metrics.rb +28 -0
  91. data/lib/deltacloud/collections/realms.rb +28 -0
  92. data/lib/deltacloud/collections/storage_snapshots.rb +51 -0
  93. data/lib/deltacloud/collections/storage_volumes.rb +99 -0
  94. data/lib/deltacloud/core_ext.rb +14 -6
  95. data/lib/deltacloud/core_ext/string.rb +17 -5
  96. data/lib/deltacloud/drivers.rb +6 -42
  97. data/lib/deltacloud/drivers/azure/azure_driver.rb +0 -4
  98. data/lib/deltacloud/{base_driver → drivers}/base_driver.rb +56 -18
  99. data/lib/deltacloud/drivers/condor/condor_driver.rb +1 -8
  100. data/lib/deltacloud/drivers/ec2/ec2_driver.rb +142 -33
  101. data/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb +2 -6
  102. data/lib/deltacloud/{base_driver → drivers}/exceptions.rb +25 -2
  103. data/lib/deltacloud/drivers/features.rb +154 -0
  104. data/lib/deltacloud/drivers/fgcp/fgcp_client.rb +387 -0
  105. data/lib/deltacloud/drivers/fgcp/fgcp_driver.rb +1435 -0
  106. data/lib/deltacloud/drivers/gogrid/gogrid_driver.rb +8 -11
  107. data/lib/deltacloud/drivers/google/google_driver.rb +2 -5
  108. data/lib/deltacloud/drivers/mock/data/keys/test-key.yml +28 -0
  109. data/lib/deltacloud/drivers/mock/mock_client.rb +2 -2
  110. data/lib/deltacloud/drivers/mock/mock_driver.rb +58 -40
  111. data/lib/deltacloud/drivers/mock/mock_driver_cimi_methods.rb +145 -0
  112. data/lib/deltacloud/drivers/opennebula/cloud_client.rb +107 -73
  113. data/lib/deltacloud/drivers/opennebula/occi_client.rb +285 -145
  114. data/lib/deltacloud/drivers/opennebula/opennebula_driver.rb +189 -126
  115. data/lib/deltacloud/drivers/openstack/openstack_driver.rb +427 -8
  116. data/lib/deltacloud/drivers/rackspace/rackspace_driver.rb +7 -9
  117. data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +48 -66
  118. data/lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb +44 -51
  119. data/lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb +7 -8
  120. data/lib/deltacloud/drivers/sbc/sbc_client.rb +1 -1
  121. data/lib/deltacloud/drivers/sbc/sbc_driver.rb +3 -3
  122. data/lib/deltacloud/drivers/terremark/terremark_driver.rb +8 -8
  123. data/lib/deltacloud/drivers/vsphere/vsphere_driver.rb +39 -13
  124. data/lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb +1 -0
  125. data/lib/deltacloud/helpers.rb +79 -7
  126. data/lib/{sinatra/lazy_auth.rb → deltacloud/helpers/auth_helper.rb} +5 -9
  127. data/lib/deltacloud/helpers/{blob_stream.rb → blob_stream_helper.rb} +7 -7
  128. data/lib/deltacloud/helpers/deltacloud_helper.rb +286 -0
  129. data/lib/deltacloud/helpers/driver_helper.rb +58 -0
  130. data/lib/deltacloud/helpers/rabbit_helper.rb +34 -0
  131. data/lib/{sinatra/url_for.rb → deltacloud/helpers/url_helper.rb} +31 -9
  132. data/lib/deltacloud/models.rb +19 -17
  133. data/lib/deltacloud/models/bucket.rb +4 -0
  134. data/lib/deltacloud/{hardware_profile.rb → models/hardware_profile.rb} +4 -2
  135. data/lib/deltacloud/models/image.rb +1 -0
  136. data/lib/deltacloud/models/instance.rb +4 -2
  137. data/lib/deltacloud/models/instance_address.rb +4 -0
  138. data/lib/deltacloud/models/key.rb +4 -0
  139. data/lib/deltacloud/models/metric.rb +40 -0
  140. data/lib/deltacloud/{state_machine.rb → models/state_machine.rb} +18 -1
  141. data/lib/deltacloud/server.rb +41 -1222
  142. data/lib/deltacloud_rack.rb +79 -0
  143. data/lib/{cimi/model/network_template.rb → ec2/helpers.rb} +7 -10
  144. data/lib/{deltacloud/backend_capability.rb → ec2/helpers/errors.rb} +24 -29
  145. data/lib/ec2/helpers/result.rb +31 -0
  146. data/lib/ec2/query_parser.rb +152 -0
  147. data/lib/ec2/server.rb +70 -0
  148. data/lib/{deltacloud.rb → sinatra.rb} +7 -12
  149. data/lib/sinatra/rack_accept.rb +13 -7
  150. data/lib/sinatra/rack_driver_select.rb +1 -1
  151. data/lib/sinatra/rack_matrix_params.rb +1 -3
  152. data/public/images/metric.png +0 -0
  153. data/public/javascripts/jquery.mobile-1.0.1.min.js +177 -0
  154. data/public/stylesheets/jquery.mobile-1.0.1.min.css +2 -0
  155. data/public/stylesheets/new.css +10 -0
  156. data/support/fedora/deltacloud-core.spec +1 -1
  157. data/tests/api/common.rb +1 -0
  158. data/tests/api/driver_test.rb +79 -0
  159. data/tests/api/library_test.rb +48 -0
  160. data/tests/cimi/features/step_definitions/common_steps.rb +2 -2
  161. data/tests/cimi/features/step_definitions/machines_steps.rb +5 -4
  162. data/tests/cimi/features/step_definitions/volumes_steps.rb +8 -8
  163. data/tests/cimi/features/support/env.rb +33 -11
  164. data/tests/common.rb +7 -8
  165. data/tests/drivers/ec2/api_test.rb +19 -0
  166. data/tests/drivers/ec2/common.rb +23 -0
  167. data/tests/drivers/ec2/drivers_test.rb +120 -0
  168. data/tests/drivers/ec2/hardware_profiles_test.rb +224 -0
  169. data/tests/drivers/ec2/images_test.rb +230 -0
  170. data/tests/drivers/ec2/instances_test.rb +356 -0
  171. data/tests/drivers/ec2/keys_test.rb +181 -0
  172. data/tests/drivers/ec2/realms_test.rb +146 -0
  173. data/tests/drivers/fgcp/api_test.rb +47 -0
  174. data/tests/drivers/fgcp/hardware_profiles_test.rb +54 -0
  175. data/tests/drivers/fgcp/realms_test.rb +42 -0
  176. data/tests/drivers/{rackspace → fgcp}/setup.rb +5 -6
  177. data/tests/drivers/google/api_test.rb +10 -26
  178. data/tests/drivers/google/buckets_test.rb +79 -95
  179. data/tests/drivers/google/common.rb +54 -0
  180. data/tests/drivers/mock/api_test.rb +4 -127
  181. data/tests/drivers/mock/buckets_test.rb +195 -0
  182. data/tests/drivers/mock/common.rb +7 -0
  183. data/tests/drivers/mock/drivers_test.rb +123 -0
  184. data/tests/drivers/mock/hardware_profiles_test.rb +190 -100
  185. data/tests/drivers/mock/images_test.rb +162 -103
  186. data/tests/drivers/mock/instances_test.rb +310 -220
  187. data/tests/drivers/mock/keys_test.rb +161 -0
  188. data/tests/drivers/mock/realms_test.rb +109 -70
  189. data/tests/drivers/mock/storage_snapshots_test.rb +114 -0
  190. data/tests/drivers/mock/storage_volumes_test.rb +122 -0
  191. data/tests/drivers/openstack/api_test.rb +8 -3
  192. data/tests/drivers/openstack/common.rb +21 -0
  193. data/tests/drivers/openstack/hardware_profiles_test.rb +20 -9
  194. data/tests/drivers/openstack/images_test.rb +11 -5
  195. data/tests/drivers/openstack/instances_test.rb +61 -16
  196. data/tests/drivers/openstack/realms_test.rb +11 -7
  197. data/tests/drivers/rackspace/api_test.rb +7 -2
  198. data/tests/drivers/rackspace/buckets_test.rb +7 -2
  199. data/tests/drivers/rackspace/common.rb +16 -0
  200. data/tests/drivers/rackspace/hardware_profiles_test.rb +7 -2
  201. data/tests/drivers/rackspace/images_test.rb +7 -2
  202. data/tests/drivers/rackspace/instances_test.rb +10 -5
  203. data/tests/drivers/rackspace/realms_test.rb +7 -2
  204. data/tests/drivers/rhevm/api_test.rb +12 -6
  205. data/tests/drivers/rhevm/{setup.rb → common.rb} +8 -1
  206. data/tests/drivers/rhevm/hardware_profiles_test.rb +7 -2
  207. data/tests/drivers/rhevm/images_test.rb +8 -2
  208. data/tests/drivers/rhevm/instances_test.rb +7 -2
  209. data/tests/drivers/rhevm/realms_test.rb +7 -2
  210. data/tests/minitest_common.rb +58 -0
  211. data/tests/minitest_common_api_test.rb +115 -0
  212. data/views/addresses/associate.html.haml +1 -1
  213. data/views/addresses/index.html.haml +1 -1
  214. data/views/addresses/show.html.haml +2 -3
  215. data/views/api/show.html.haml +22 -9
  216. data/views/api/show.xml.haml +8 -7
  217. data/views/blobs/show.xml.haml +7 -4
  218. data/views/buckets/new.html.haml +2 -2
  219. data/views/cimi/errors/401.xml.haml +1 -1
  220. data/views/error.html.haml +3 -3
  221. data/views/errors/400.html.haml +1 -1
  222. data/views/errors/400.xml.haml +1 -2
  223. data/views/errors/401.html.haml +8 -7
  224. data/views/errors/401.xml.haml +1 -1
  225. data/views/errors/404.xml.haml +1 -0
  226. data/views/errors/500.xml.haml +4 -2
  227. data/views/{cimi/errors/403.html.haml → errors/501.html.haml} +4 -2
  228. data/views/errors/501.xml.haml +1 -0
  229. data/views/errors/502.xml.haml +1 -7
  230. data/views/{cimi/errors/500.html.haml → errors/504.html.haml} +0 -0
  231. data/views/errors/504.xml.haml +1 -0
  232. data/views/firewalls/new.html.haml +2 -2
  233. data/views/firewalls/new_rule.html.haml +1 -1
  234. data/views/firewalls/show.html.haml +1 -1
  235. data/views/hardware_profiles/index.html.haml +3 -1
  236. data/views/hardware_profiles/index.xml.haml +2 -2
  237. data/views/hardware_profiles/show.html.haml +3 -3
  238. data/views/hardware_profiles/show.xml.haml +3 -3
  239. data/views/images/show.html.haml +5 -0
  240. data/views/images/show.xml.haml +6 -1
  241. data/views/instance_states/show.html.haml +1 -1
  242. data/views/instances/index.html.haml +1 -1
  243. data/views/instances/new.html.haml +54 -39
  244. data/views/instances/run_command.html.haml +24 -15
  245. data/views/instances/show.html.haml +7 -3
  246. data/views/instances/show.xml.haml +2 -2
  247. data/views/keys/show.xml.haml +1 -0
  248. data/views/layout.html.haml +5 -9
  249. data/views/load_balancers/show.html.haml +12 -6
  250. data/views/metrics/index.html.haml +13 -0
  251. data/views/metrics/index.xml.haml +5 -0
  252. data/views/metrics/show.html.haml +23 -0
  253. data/views/metrics/show.xml.haml +9 -0
  254. data/views/realms/show.xml.haml +2 -1
  255. data/views/root/index.html.haml +1 -1
  256. data/views/storage_snapshots/show.html.haml +1 -1
  257. data/views/storage_snapshots/show.xml.haml +1 -0
  258. data/views/storage_volumes/attach.html.haml +1 -2
  259. data/views/storage_volumes/index.html.haml +1 -1
  260. data/views/storage_volumes/new.html.haml +22 -16
  261. data/views/storage_volumes/show.html.haml +10 -4
  262. data/views/storage_volumes/show.xml.haml +3 -4
  263. metadata +547 -519
  264. data/DISCLAIMER +0 -8
  265. data/lib/cimi/model.rb +0 -52
  266. data/lib/cimi/model/network.rb +0 -69
  267. data/lib/deltacloud/base_driver.rb +0 -18
  268. data/lib/deltacloud/base_driver/features.rb +0 -262
  269. data/lib/deltacloud/base_driver/mock_driver.rb +0 -78
  270. data/lib/deltacloud/drivers/ec2/ec2_mock_driver.rb +0 -186
  271. data/lib/deltacloud/drivers/rhevm/rhevm_client.rb +0 -521
  272. data/lib/deltacloud/helpers/application_helper.rb +0 -267
  273. data/lib/deltacloud/helpers/hardware_profiles_helper.rb +0 -50
  274. data/lib/deltacloud/helpers/json_helper.rb +0 -31
  275. data/lib/deltacloud/method_serializer.rb +0 -83
  276. data/lib/deltacloud/validation.rb +0 -107
  277. data/lib/sinatra/rabbit.rb +0 -441
  278. data/lib/sinatra/rack_runtime.rb +0 -47
  279. data/lib/sinatra/rack_syslog.rb +0 -86
  280. data/lib/sinatra/sinatra_verbose.rb +0 -73
  281. data/lib/sinatra/static_assets.rb +0 -99
  282. data/public/javascripts/jquery.mobile-1.0rc1.min.js +0 -170
  283. data/public/stylesheets/jquery.mobile-1.0rc1.min.css +0 -12
  284. data/tests/drivers/google/setup.rb +0 -38
  285. data/tests/drivers/mock/instance_states_test.rb +0 -71
  286. data/tests/drivers/mock/setup.rb +0 -3
  287. data/tests/drivers/mock/url_for_test.rb +0 -67
  288. data/tests/drivers/openstack/setup.rb +0 -20
  289. data/views/cimi/errors/400.html.haml +0 -41
  290. data/views/cimi/errors/401.html.haml +0 -41
  291. data/views/cimi/errors/404.html.haml +0 -29
  292. data/views/cimi/errors/405.html.haml +0 -29
  293. data/views/cimi/errors/502.html.haml +0 -43
  294. data/views/cimi/errors/backend_capability_failure.html.haml +0 -29
@@ -1,16 +1,25 @@
1
- %h1
2
- Run command on
3
- = @instance.id
1
+ =header "Run a command on #{@instance.name}"
2
+ =subheader "#{@instance.id}"
4
3
 
5
- %form{ :action => run_instance_url(@instance.id), :method => :post }
6
- %p
7
- %label{ :for => :cmd } Desired command:
8
- %input{ :name => :cmd, :value => "", :type => :text}
9
- %p
10
- %label{ :for => :private_key } Private key:
11
- %p
12
- %small Leave private key blank if using password authentication method
13
- %p
14
- %textarea{ :name => :private_key, :cols => 65, :rows => 20 }
15
- %p
16
- %input{ :type => :submit, :value => "Execute" }
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'}
5
+ %form{ :action => api_url_for('/instances/%s/run' % @instance.id), :method => :post }
6
+ %p
7
+ %label{ :for => :cmd } Desired command:
8
+ %input{ :name => :cmd, :value => "", :type => :text}
9
+ %p
10
+ %fieldset{ :'data-role' => :fieldcontain}
11
+ %legend Target instance IP address:
12
+ - (@instance.public_addresses | @instance.private_addresses).each_with_index do |ip, idx|
13
+ %label{ :for => ip.address }= "#{ip.address}"
14
+ %input{ :name => :ip, :value => ip.address, :id => ip.address, :type => :radio, :'data-theme' => 'b', :checked => idx == 0 || nil}/
15
+ %p
16
+ %label{ :for => :port } Target port:
17
+ %input{ :name => "port", :size => 5, :value => "22", :type => :text}
18
+ %p
19
+ %label{ :for => :private_key } Private key:
20
+ %p
21
+ %small Leave private key blank if using password authentication method
22
+ %p
23
+ %textarea{ :name => :private_key, :cols => 65, :rows => 20 }
24
+ %p
25
+ %input{ :type => :submit, :value => "Execute" }
@@ -19,7 +19,7 @@
19
19
  %li
20
20
  - prof = @instance.instance_profile
21
21
  %a{ :href => hardware_profile_url(prof.name), :'data-ajax' => 'false'}
22
- =[prof.name, format_instance_profile(prof)].join(', ')
22
+ =[prof.name, format_instance_profile(prof)].compact.join(', ')
23
23
  %li{ :'data-role' => 'list-divider'} Realm
24
24
  %li
25
25
  - if @instance.realm_id
@@ -45,16 +45,20 @@
45
45
  %a{ :href => key_url(@instance.keyname), :'data-ajax' => 'false'}=@instance.keyname
46
46
  - if @instance.firewalls
47
47
  %li{ :'data-role' => 'list-divider'} Firewalls
48
- %li=@instance.firewalls.join(", ")
48
+ - @instance.firewalls.each do |firewall|
49
+ %li
50
+ %a{ :href => firewall_url(firewall), :'data-ajax' => 'false'}=firewall
49
51
  - if @instance.storage_volumes
50
52
  %li{ :'data-role' => 'list-divider'} Attached Storage Volumes
51
53
  -@instance.storage_volumes.each do |vol|
52
54
  %li
53
- %p{ :'data-role' => 'fieldcontain'}="#{vol.keys.first} <---> #{vol.values.first}"
55
+ %a{ :href => storage_volume_url("#{vol.keys.first}"), :'data-ajax' => 'false'}=["#{vol.keys.first}", "#{vol.values.first}"].compact.reject{ |e| e.empty? }.join(' <---> ')
54
56
  %li{ :'data-role' => 'list-divider'} Actions
55
57
  %li
56
58
  %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
57
59
  - @instance.actions.each do |action|
58
60
  =link_to_action action, self.send(:"#{action}_instance_url", @instance.id), instance_action_method(action)
61
+ - if @instance.state=="RUNNING" and driver.respond_to?(:run_on_instance)
62
+ =link_to_action 'run command', api_url_for('instances/%s/run' % @instance.id), :get
59
63
  - if @instance.can_create_image?
60
64
  =link_to_action 'Create Image', api_url_for("images/new?instance_id=#{@instance.id}"), :get
@@ -45,8 +45,8 @@
45
45
  %storage_volumes<
46
46
  - @instance.storage_volumes.each do |volume|
47
47
  %storage_volume{:href=> storage_volume_url(volume.keys.first), :id => volume.keys.first, :device => volume.values.first}
48
- - if driver_has_auth_features?
49
- %authentication{ :type => driver_auth_feature_name }
48
+ - if driver.class.has_feature?(:instances, :authentication_key) or driver.class.has_feature?(:instances, :authentication_password)
49
+ %authentication{ :type => auth_feature_name }
50
50
  - if @instance.authn_feature_failed?
51
51
  %error #{@instance.authn_error}
52
52
  - else
@@ -1,6 +1,7 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
3
  %key{ :href => key_url(@key.id), :id => @key.id, :type => "#{@key.credential_type}" }
4
+ %name=@key.name
4
5
  %actions
5
6
  - if driver.respond_to?(:destroy_key)
6
7
  %link{ :rel => "destroy", :method => "delete", :href => destroy_key_url(@key.id)}
@@ -2,19 +2,15 @@
2
2
  %html
3
3
  %head
4
4
  %title Deltacloud API #{settings.version}
5
- = stylesheet_link_tag '/stylesheets/jquery.mobile-1.0rc1.min.css'
6
- = stylesheet_link_tag '/stylesheets/new.css'
5
+ %link{ :charset => "utf-8", :href => "/stylesheets/jquery.mobile-1.0.1.min.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
6
+ %link{ :charset => "utf-8", :href => "/stylesheets/new.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
7
7
  %script{:type => "text/javascript", :src => "/javascripts/jquery.min.js" }
8
8
  %script{:type => "text/javascript", :src => "/javascripts/application.js" }
9
- %script{:type => "text/javascript", :src => "/javascripts/jquery.mobile-1.0rc1.min.js" }
9
+ %script{:type => "text/javascript", :src => "/javascripts/jquery.mobile-1.0.1.min.js" }
10
10
  :javascript
11
- $(document).ready(function() {
12
- $(document).bind("mobileinit", function(){
13
- $.mobile.ajaxEnabled = false;
11
+ $(document).bind("mobileinit", function(){
14
12
  $.mobile.hashListeningEnabled = false;
15
- });
16
13
  })
17
-
18
14
  %body
19
15
  %div{ 'data-role' => :page }
20
16
  = yield
@@ -22,7 +18,7 @@
22
18
  %div{ 'data-role' => :navbar}
23
19
  %ul
24
20
  %li
25
- %a{ :'data-icon' => 'home', :href => api_url_for(''), :'data-ajax' => 'false'} Home
21
+ %a{ :'data-icon' => 'home', :href => "#{api_url_for('').chomp("/")}", :'data-ajax' => 'false'} Home
26
22
  %li=link_to_format(:xml)
27
23
  %li=link_to_format(:json)
28
24
  %div{ 'data-role' => :header, 'data-theme' => 'a' }
@@ -15,14 +15,21 @@
15
15
  %li
16
16
  %a{ :href => realm_url(realm.id), :'data-ajax' => 'false'}
17
17
  %h3=realm.name
18
- %li{ :'data-role' => 'list-divider'} Instances
19
- - @load_balancer.instances.each do |instance|
18
+ %li{ :'data-role' => 'list-divider'} Registered Instances
19
+ - @registered_instances.each do |instance|
20
20
  %li
21
- %a{ :href => instance_url(instance.id), :'data-ajax' => 'false'}
22
- %h3=instance.name
21
+ %a{ :href => instance_url(instance[:id]), :'data-ajax' => 'false'}
22
+ %h3=instance[:name]
23
+ =link_to_action "UnRegister", api_url_for("load_balancers/#{@load_balancer.id}/unregister?instance_id=#{instance[:id]}"), :post
24
+ %li{ :'data-role' => 'list-divider'} UnRegistered Instances
25
+ - @unregistered_instances.each do |instance|
26
+ %li
27
+ %a{:href => instance_url(instance[:id]), :'data-ajax' => 'false'}
28
+ %h3=instance[:name]
29
+ =link_to_action "Register", api_url_for("load_balancers/#{@load_balancer.id}/register?instance_id=#{instance[:id]}"), :post
23
30
  %li{ :'data-role' => 'list-divider'} Actions
24
31
  %li
25
- =link_to_action "Destroy", destroy_load_balancer_url(@load_balancer.id), :delete
32
+ =link_to_action "Destroy", api_url_for("load_balancers/#{@load_balancer.id}"), :delete
26
33
 
27
34
  =header "Listeners", :back => 'false'
28
35
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
@@ -33,4 +40,3 @@
33
40
  %li{ :'data-role' => 'list-divider'} Instance port
34
41
  %li
35
42
  %p{ :'data-role' => 'fieldcontain'}=listener.instance_port
36
-
@@ -0,0 +1,13 @@
1
+ =header "Metrics"
2
+ =subheader "#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}"
3
+
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
6
+ %li{ :'data-role' => 'list-divider'}=driver_symbol
7
+ - @metrics.each do |metric|
8
+ %li
9
+ %a{ :href => metric_url(metric.id), :'data-ajax' => 'false'}
10
+ %img{ :class => 'ui-link-thumb', :src => '/images/metric.png'}
11
+ %h3= metric.id
12
+ %p
13
+ = metric.properties.map { |p| p.name }.join(', ')
@@ -0,0 +1,5 @@
1
+ - unless defined?(partial)
2
+ !!!XML
3
+ %metrics
4
+ - @elements.each do |c|
5
+ = haml :'metrics/show', :locals => { :@metric => c, :partial => true}
@@ -0,0 +1,23 @@
1
+ =header Metric
2
+ =subheader @metric.id
3
+
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
+ %div{ :'data-role' => :'collapsible-set'}
6
+ - @metric.properties.each do |p|
7
+ %div{ :'data-role' => :'collapsible', :'data-collapse' => 'true'}
8
+ %h3=p.name
9
+ %table{ :summary => "#{p.name} values"}
10
+ %caption Statistics for last 60 minutes
11
+ %tr
12
+ %th Time
13
+ %th Minumum
14
+ %th Maximum
15
+ %th Average
16
+ %th Units
17
+ - p.values.each do |v|
18
+ %tr
19
+ %td=v[:timestamp]
20
+ %td=v[:minimum]
21
+ %td=v[:maximum]
22
+ %td=v[:average]
23
+ %td=v[:unit]
@@ -0,0 +1,9 @@
1
+ - unless defined?(partial)
2
+ !!! XML
3
+ %metric{:href => metric_url(@metric.id), :id => @metric.id}
4
+ -haml_tag(:entity, :<) do
5
+ -haml_concat @metric.send(:id)
6
+ %properties
7
+ -@metric.properties.each do |prop|
8
+ -haml_tag(prop.name, :<) do
9
+ - haml_concat prop.values
@@ -7,4 +7,5 @@
7
7
  =@realm.state
8
8
  - unless @realm.limit.eql?(:unlimited)
9
9
  %limit<
10
- =@realm.limit
10
+ =cdata do
11
+ =@realm.limit
@@ -1,4 +1,4 @@
1
1
  %h1
2
2
  Deltacloud:
3
3
  = DRIVER.to_s.titlecase
4
- = link_to 'API', api_url
4
+ %a{ :href => api_url} API
@@ -19,4 +19,4 @@
19
19
  %li
20
20
  %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
21
21
  - if driver.respond_to?(:destroy_storage_snapshot)
22
- =link_to_action "Delete", destroy_storage_snapshot_url(@storage_snapshot.id), :delete
22
+ =link_to_action "Delete", api_url_for("storage_snapshots/#{@storage_snapshot.id}"), :delete
@@ -1,6 +1,7 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
3
  %storage_snapshot{:href => storage_snapshot_url(@storage_snapshot.id), :id => @storage_snapshot.id }
4
+ %name=@storage_snapshot.id
4
5
  %created<
5
6
  =@storage_snapshot.created
6
7
  %storage_volume{:href => storage_volume_url(@storage_snapshot.storage_volume_id), :id => @storage_snapshot.storage_volume_id}
@@ -16,5 +16,4 @@
16
16
  Device name:
17
17
  %input{ :name => "device", :size => 10, :value => "/dev/sdc"}
18
18
  %p
19
- %input{ :type => :hidden, :name => :id, :value => params[:id]}
20
- %input{ :type => :submit, :name => "commit", :value => "create" }/
19
+ %input{ :type => :submit, :name => "commit", :value => "attach" }/
@@ -8,6 +8,6 @@
8
8
  %li
9
9
  %a{ :href => storage_volume_url(volume.id), :'data-ajax' => 'false'}
10
10
  %img{ :class => 'ui-link-thumb', :src => '/images/volume.png'}
11
- %h3= volume.id
11
+ %h3= volume.name ? volume.name : volume.id
12
12
  %p=[volume.realm_id, volume.capacity].join(', ')
13
13
  %span{ :class => 'ui-li-count'}=volume.state
@@ -1,17 +1,23 @@
1
- %h1 Create new storage volume
1
+ =header "Create new Storage Volume"
2
2
 
3
- %form{ :action => storage_volumes_url, :method => :post }
4
- %p
5
- %label
6
- Snapshot ID:
7
- %input{ :name => 'snapshot_id', :size => 30 } (optional)
8
- %p
9
- %label
10
- Capacity (in GB):
11
- %input{ :name => "capacity", :size => 3, :value => "1"}
12
- %p
13
- %label
14
- Realm ID:
15
- %input{ :name => "realm_id", :size => 10, :value => driver.realms(credentials).first.id}
16
- %p
17
- %input{ :type => :submit, :name => "commit", :value => "create" }/
3
+
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'}
5
+ %form{ :action => storage_volumes_url, :method => :post }
6
+ %p
7
+ %label
8
+ Name:
9
+ %input{ :name => 'name', :size => 30 } (optional)
10
+ %p
11
+ %label
12
+ Snapshot ID:
13
+ %input{ :name => 'snapshot_id', :size => 30 } (optional)
14
+ %p
15
+ %label
16
+ Capacity (in GB):
17
+ %input{ :name => "capacity", :size => 3, :value => "1"}
18
+ %p
19
+ %label
20
+ Realm ID:
21
+ %input{ :name => "realm_id", :size => 10, :value => driver.realms(credentials).first.id}
22
+ %p
23
+ %input{ :type => :submit, :name => "commit", :value => "create" }/
@@ -4,8 +4,9 @@
4
4
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
5
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
6
6
  %li{ :'data-role' => 'list-divider'} Name
7
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.id
7
8
  %li
8
- %p{ :'data-role' => 'fieldcontain'}=@storage_volume.id
9
+ %p{ :'data-role' => 'fieldcontain'}=(@storage_volume.name ? @storage_volume.name : @storage_volume.id)
9
10
  %li{ :'data-role' => 'list-divider'} Created
10
11
  %li
11
12
  %p{ :'data-role' => 'fieldcontain'}=@storage_volume.created
@@ -20,8 +21,13 @@
20
21
  %p{ :'data-role' => 'fieldcontain'}=@storage_volume.state
21
22
  %li{ :'data-role' => 'list-divider'} Attached to
22
23
  %li
23
- %a{ :href => instance_url( @storage_volume.instance_id)}
24
- = @storage_volume.instance_id || 'unknown'
24
+ - if @storage_volume.instance_id
25
+ %a{ :href => instance_url( @storage_volume.instance_id)}
26
+ = @storage_volume.instance_id
27
+ - elsif @storage_volume.state == "AVAILABLE"
28
+ %p{ :'data-role' => 'fieldcontain'}= 'none (detached)'
29
+ -else
30
+ %p{ :'data-role' => 'fieldcontain'}= 'unknown'
25
31
  %li{ :'data-role' => 'list-divider'} Device
26
32
  %li
27
33
  %p{ :'data-role' => 'fieldcontain'}= @storage_volume.device
@@ -31,7 +37,7 @@
31
37
  - if ["AVAILABLE", "IN-USE"].include?(@storage_volume.state)
32
38
  =link_to_action "Snapshot", api_url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
33
39
  - unless @storage_volume.instance_id
34
- =link_to_action "Delete", destroy_storage_volume_url(@storage_volume.id), :delete
40
+ =link_to_action "Delete", api_url_for("storage_volumes/#{@storage_volume.id}"), :delete
35
41
  =link_to_action "Attach", api_url_for("storage_volumes/#{@storage_volume.id}/attach_instance"), :get
36
42
  - if @storage_volume.instance_id
37
43
  =link_to_action "Detach", detach_storage_volume_url(@storage_volume.id), :post
@@ -9,9 +9,8 @@
9
9
  - if @storage_volume.kind
10
10
  %kind<
11
11
  = @storage_volume.kind
12
- - if @storage_volume.name
13
- %name<
14
- = @storage_volume.name
12
+ %name<
13
+ = @storage_volume.name || @storage_volume.id
15
14
  - if @storage_volume.device
16
15
  %device<
17
16
  = @storage_volume.device
@@ -31,4 +30,4 @@
31
30
  - if @storage_volume.actions
32
31
  %actions
33
32
  - @storage_volume.actions.each do |action|
34
- %link{:rel => action, :method => action_method(action, :storage_volumes), :href => self.send("#{action}_storage_volume_url", @storage_volume.id)}
33
+ %link{:rel => action, :method => :post, :href => self.send("#{action}_storage_volume_url", @storage_volume.id)}
metadata CHANGED
@@ -1,708 +1,736 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: deltacloud-core
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 5
9
- - 0
10
- version: 0.5.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Red Hat, Inc.
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-01-30 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70157624619940 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 49
29
- segments:
30
- - 0
31
- - 8
32
- - 7
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 0.8.7
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: haml
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70157624619940
25
+ - !ruby/object:Gem::Dependency
26
+ name: haml
27
+ requirement: &70157624619160 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 37
45
- segments:
46
- - 2
47
- - 2
48
- - 17
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
49
32
  version: 2.2.17
50
33
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: sinatra
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70157624619160
36
+ - !ruby/object:Gem::Dependency
37
+ name: sinatra
38
+ requirement: &70157624618340 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 51
61
- segments:
62
- - 0
63
- - 9
64
- - 4
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
65
43
  version: 0.9.4
66
44
  type: :runtime
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rack
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70157624618340
47
+ - !ruby/object:Gem::Dependency
48
+ name: sinatra-rabbit
49
+ requirement: &70157624617620 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 23
77
- segments:
78
- - 1
79
- - 0
80
- - 0
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.5
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70157624617620
58
+ - !ruby/object:Gem::Dependency
59
+ name: crack
60
+ requirement: &70157624617080 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70157624617080
69
+ - !ruby/object:Gem::Dependency
70
+ name: rack
71
+ requirement: &70157624615840 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
81
76
  version: 1.0.0
82
77
  type: :runtime
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
- name: rack-accept
86
78
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
79
+ version_requirements: *70157624615840
80
+ - !ruby/object:Gem::Dependency
81
+ name: rack-accept
82
+ requirement: &70157624527000 !ruby/object:Gem::Requirement
88
83
  none: false
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 0
95
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
96
88
  type: :runtime
97
- version_requirements: *id005
98
- - !ruby/object:Gem::Dependency
99
- name: json
100
89
  prerelease: false
101
- requirement: &id006 !ruby/object:Gem::Requirement
90
+ version_requirements: *70157624527000
91
+ - !ruby/object:Gem::Dependency
92
+ name: json
93
+ requirement: &70157624526240 !ruby/object:Gem::Requirement
102
94
  none: false
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 1
107
- segments:
108
- - 1
109
- - 1
110
- - 9
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
111
98
  version: 1.1.9
112
99
  type: :runtime
113
- version_requirements: *id006
114
- - !ruby/object:Gem::Dependency
115
- name: net-ssh
116
100
  prerelease: false
117
- requirement: &id007 !ruby/object:Gem::Requirement
101
+ version_requirements: *70157624526240
102
+ - !ruby/object:Gem::Dependency
103
+ name: net-ssh
104
+ requirement: &70157624525560 !ruby/object:Gem::Requirement
118
105
  none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- hash: 15
123
- segments:
124
- - 2
125
- - 0
126
- - 0
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
127
109
  version: 2.0.0
128
110
  type: :runtime
129
- version_requirements: *id007
130
- - !ruby/object:Gem::Dependency
131
- name: thin
132
111
  prerelease: false
133
- requirement: &id008 !ruby/object:Gem::Requirement
112
+ version_requirements: *70157624525560
113
+ - !ruby/object:Gem::Dependency
114
+ name: thin
115
+ requirement: &70157624525080 !ruby/object:Gem::Requirement
134
116
  none: false
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- hash: 21
139
- segments:
140
- - 1
141
- - 2
142
- - 5
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
143
120
  version: 1.2.5
144
121
  type: :runtime
145
- version_requirements: *id008
146
- - !ruby/object:Gem::Dependency
147
- name: nokogiri
148
122
  prerelease: false
149
- requirement: &id009 !ruby/object:Gem::Requirement
123
+ version_requirements: *70157624525080
124
+ - !ruby/object:Gem::Dependency
125
+ name: nokogiri
126
+ requirement: &70157624524440 !ruby/object:Gem::Requirement
150
127
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 1
155
- segments:
156
- - 1
157
- - 4
158
- - 3
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
159
131
  version: 1.4.3
160
132
  type: :runtime
161
- version_requirements: *id009
162
- - !ruby/object:Gem::Dependency
163
- name: aws
164
133
  prerelease: false
165
- requirement: &id010 !ruby/object:Gem::Requirement
134
+ version_requirements: *70157624524440
135
+ - !ruby/object:Gem::Dependency
136
+ name: rbovirt
137
+ requirement: &70157624523940 !ruby/object:Gem::Requirement
166
138
  none: false
167
- requirements:
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 19
171
- segments:
172
- - 2
173
- - 5
174
- - 4
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 0.0.6
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: *70157624523940
146
+ - !ruby/object:Gem::Dependency
147
+ name: aws
148
+ requirement: &70157624523240 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
175
153
  version: 2.5.4
176
154
  type: :runtime
177
- version_requirements: *id010
178
- - !ruby/object:Gem::Dependency
179
- name: waz-storage
180
155
  prerelease: false
181
- requirement: &id011 !ruby/object:Gem::Requirement
156
+ version_requirements: *70157624523240
157
+ - !ruby/object:Gem::Dependency
158
+ name: waz-storage
159
+ requirement: &70157624522720 !ruby/object:Gem::Requirement
182
160
  none: false
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- hash: 19
187
- segments:
188
- - 1
189
- - 1
190
- - 0
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
191
164
  version: 1.1.0
192
165
  type: :runtime
193
- version_requirements: *id011
194
- - !ruby/object:Gem::Dependency
195
- name: cloudservers
196
166
  prerelease: false
197
- requirement: &id012 !ruby/object:Gem::Requirement
167
+ version_requirements: *70157624522720
168
+ - !ruby/object:Gem::Dependency
169
+ name: cloudservers
170
+ requirement: &70157624522200 !ruby/object:Gem::Requirement
198
171
  none: false
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- hash: 3
203
- segments:
204
- - 0
205
- version: "0"
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
206
176
  type: :runtime
207
- version_requirements: *id012
208
- - !ruby/object:Gem::Dependency
209
- name: cloudfiles
210
177
  prerelease: false
211
- requirement: &id013 !ruby/object:Gem::Requirement
178
+ version_requirements: *70157624522200
179
+ - !ruby/object:Gem::Dependency
180
+ name: cloudfiles
181
+ requirement: &70157624521720 !ruby/object:Gem::Requirement
212
182
  none: false
213
- requirements:
214
- - - ">="
215
- - !ruby/object:Gem::Version
216
- hash: 3
217
- segments:
218
- - 0
219
- version: "0"
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
220
187
  type: :runtime
221
- version_requirements: *id013
222
- - !ruby/object:Gem::Dependency
223
- name: fog
224
188
  prerelease: false
225
- requirement: &id014 !ruby/object:Gem::Requirement
189
+ version_requirements: *70157624521720
190
+ - !ruby/object:Gem::Dependency
191
+ name: fog
192
+ requirement: &70157624521160 !ruby/object:Gem::Requirement
226
193
  none: false
227
- requirements:
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- hash: 3
231
- segments:
232
- - 0
233
- version: "0"
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
234
198
  type: :runtime
235
- version_requirements: *id014
236
- - !ruby/object:Gem::Dependency
237
- name: excon
238
199
  prerelease: false
239
- requirement: &id015 !ruby/object:Gem::Requirement
200
+ version_requirements: *70157624521160
201
+ - !ruby/object:Gem::Dependency
202
+ name: excon
203
+ requirement: &70157624520740 !ruby/object:Gem::Requirement
240
204
  none: false
241
- requirements:
242
- - - ">="
243
- - !ruby/object:Gem::Version
244
- hash: 3
245
- segments:
246
- - 0
247
- version: "0"
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
248
209
  type: :runtime
249
- version_requirements: *id015
250
- - !ruby/object:Gem::Dependency
251
- name: rest-client
252
210
  prerelease: false
253
- requirement: &id016 !ruby/object:Gem::Requirement
211
+ version_requirements: *70157624520740
212
+ - !ruby/object:Gem::Dependency
213
+ name: rest-client
214
+ requirement: &70157624520120 !ruby/object:Gem::Requirement
254
215
  none: false
255
- requirements:
256
- - - ">="
257
- - !ruby/object:Gem::Version
258
- hash: 3
259
- segments:
260
- - 0
261
- version: "0"
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
262
220
  type: :runtime
263
- version_requirements: *id016
264
- - !ruby/object:Gem::Dependency
265
- name: uuidtools
266
221
  prerelease: false
267
- requirement: &id017 !ruby/object:Gem::Requirement
222
+ version_requirements: *70157624520120
223
+ - !ruby/object:Gem::Dependency
224
+ name: uuidtools
225
+ requirement: &70157624519560 !ruby/object:Gem::Requirement
268
226
  none: false
269
- requirements:
270
- - - ">="
271
- - !ruby/object:Gem::Version
272
- hash: 9
273
- segments:
274
- - 2
275
- - 1
276
- - 1
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
277
230
  version: 2.1.1
278
231
  type: :runtime
279
- version_requirements: *id017
280
- description: " The Deltacloud API is built as a service-based REST API.\n You do not directly link a Deltacloud library into your program to use it.\n Instead, a client speaks the Deltacloud API over HTTP to a server\n which implements the REST interface.\n"
232
+ prerelease: false
233
+ version_requirements: *70157624519560
234
+ - !ruby/object:Gem::Dependency
235
+ name: openstack
236
+ requirement: &70157628608820 !ruby/object:Gem::Requirement
237
+ none: false
238
+ requirements:
239
+ - - ! '>='
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ type: :runtime
243
+ prerelease: false
244
+ version_requirements: *70157628608820
245
+ description: ! " The Deltacloud API is built as a service-based REST API.\n You
246
+ do not directly link a Deltacloud library into your program to use it.\n Instead,
247
+ a client speaks the Deltacloud API over HTTP to a server\n which implements the
248
+ REST interface.\n"
281
249
  email: deltacloud-users@lists.fedorahosted.org
282
- executables:
250
+ executables:
283
251
  - deltacloudd
284
252
  extensions: []
285
-
286
- extra_rdoc_files:
253
+ extra_rdoc_files:
287
254
  - LICENSE
288
- - DISCLAIMER
289
255
  - NOTICE
290
- files:
256
+ files:
291
257
  - Rakefile
292
258
  - deltacloud-core.gemspec
293
259
  - config.ru
294
- - config/drivers/rhevm.yaml
295
- - config/drivers/terremark.yaml
296
- - config/drivers/rackspace.yaml
260
+ - config/drivers/azure.yaml
261
+ - config/drivers/condor.yaml
297
262
  - config/drivers/ec2.yaml
298
- - config/drivers/sbc.yaml
299
- - config/drivers/google.yaml
300
- - config/drivers/opennebula.yaml
301
- - config/drivers/vsphere.yaml
302
263
  - config/drivers/eucalyptus.yaml
303
- - config/drivers/condor.yaml
304
- - config/drivers/mock.yaml
264
+ - config/drivers/fgcp.yaml
305
265
  - config/drivers/gogrid.yaml
266
+ - config/drivers/google.yaml
267
+ - config/drivers/mock.yaml
268
+ - config/drivers/opennebula.yaml
306
269
  - config/drivers/openstack.yaml
307
- - config/drivers/azure.yaml
270
+ - config/drivers/rackspace.yaml
271
+ - config/drivers/rhevm.yaml
308
272
  - config/drivers/rimuhosting.yaml
273
+ - config/drivers/sbc.yaml
274
+ - config/drivers/terremark.yaml
275
+ - config/drivers/vsphere.yaml
309
276
  - config/condor.yaml
310
277
  - config/addresses.xml
311
278
  - support/fedora/deltacloud-core-config
312
279
  - support/fedora/deltacloud-core.init
313
280
  - support/fedora/deltacloud-core.spec
314
281
  - support/fedora/deltacloudd-fedora
315
- - support/condor/bash/cloud_functions
316
- - support/condor/bash/libvirt_cloud_script.sh
317
282
  - support/condor/bash/cached_images.sh
318
- - support/condor/bash/cloud_prepare_hook.sh
319
283
  - support/condor/bash/cloud_exit_hook.sh
320
- - support/condor/config/condor_config.local
321
- - support/condor/config/condor-cloud
322
- - support/condor/config/50condor_cloud_node.config
284
+ - support/condor/bash/cloud_functions
285
+ - support/condor/bash/cloud_prepare_hook.sh
286
+ - support/condor/bash/libvirt_cloud_script.sh
323
287
  - support/condor/config/50condor_cloud.config
324
- - lib/cimi/model.rb
325
- - lib/cimi/helpers/cimi_helper.rb
288
+ - support/condor/config/50condor_cloud_node.config
289
+ - support/condor/config/condor-cloud
290
+ - support/condor/config/condor_config.local
291
+ - lib/cimi/collections/address_templates.rb
292
+ - lib/cimi/collections/addresses.rb
293
+ - lib/cimi/collections/cloud_entry_point.rb
294
+ - lib/cimi/collections/entity_metadata.rb
295
+ - lib/cimi/collections/machine_admins.rb
296
+ - lib/cimi/collections/machine_configurations.rb
297
+ - lib/cimi/collections/machine_images.rb
298
+ - lib/cimi/collections/machines.rb
299
+ - lib/cimi/collections/network_configurations.rb
300
+ - lib/cimi/collections/network_templates.rb
301
+ - lib/cimi/collections/networks.rb
302
+ - lib/cimi/collections/routing_group_templates.rb
303
+ - lib/cimi/collections/routing_groups.rb
304
+ - lib/cimi/collections/volume_configurations.rb
305
+ - lib/cimi/collections/volume_images.rb
306
+ - lib/cimi/collections/volumes.rb
307
+ - lib/cimi/collections/vsp_configurations.rb
308
+ - lib/cimi/collections/vsp_templates.rb
309
+ - lib/cimi/collections/vsps.rb
310
+ - lib/cimi/collections.rb
326
311
  - lib/cimi/dependencies.rb
312
+ - lib/cimi/helpers/cimi_helper.rb
313
+ - lib/cimi/helpers.rb
314
+ - lib/cimi/models/action.rb
315
+ - lib/cimi/models/address.rb
316
+ - lib/cimi/models/address_collection.rb
317
+ - lib/cimi/models/address_template.rb
318
+ - lib/cimi/models/address_template_collection.rb
319
+ - lib/cimi/models/base.rb
320
+ - lib/cimi/models/cloud_entry_point.rb
321
+ - lib/cimi/models/entity_metadata.rb
322
+ - lib/cimi/models/entity_metadata_collection.rb
323
+ - lib/cimi/models/errors.rb
324
+ - lib/cimi/models/machine.rb
325
+ - lib/cimi/models/machine_admin.rb
326
+ - lib/cimi/models/machine_admin_collection.rb
327
+ - lib/cimi/models/machine_collection.rb
328
+ - lib/cimi/models/machine_configuration.rb
329
+ - lib/cimi/models/machine_configuration_collection.rb
330
+ - lib/cimi/models/machine_image.rb
331
+ - lib/cimi/models/machine_image_collection.rb
332
+ - lib/cimi/models/machine_template.rb
333
+ - lib/cimi/models/machine_template_collection.rb
334
+ - lib/cimi/models/network.rb
335
+ - lib/cimi/models/network_collection.rb
336
+ - lib/cimi/models/network_configuration.rb
337
+ - lib/cimi/models/network_configuration_collection.rb
338
+ - lib/cimi/models/network_template.rb
339
+ - lib/cimi/models/network_template_collection.rb
340
+ - lib/cimi/models/routing_group.rb
341
+ - lib/cimi/models/routing_group_collection.rb
342
+ - lib/cimi/models/routing_group_template.rb
343
+ - lib/cimi/models/routing_group_template_collection.rb
344
+ - lib/cimi/models/schema.rb
345
+ - lib/cimi/models/volume.rb
346
+ - lib/cimi/models/volume_collection.rb
347
+ - lib/cimi/models/volume_configuration.rb
348
+ - lib/cimi/models/volume_configuration_collection.rb
349
+ - lib/cimi/models/volume_image.rb
350
+ - lib/cimi/models/volume_image_collection.rb
351
+ - lib/cimi/models/volume_template.rb
352
+ - lib/cimi/models/volume_template_collection.rb
353
+ - lib/cimi/models/vsp.rb
354
+ - lib/cimi/models/vsp_collection.rb
355
+ - lib/cimi/models/vsp_configuration.rb
356
+ - lib/cimi/models/vsp_configuration_collection.rb
357
+ - lib/cimi/models/vsp_template.rb
358
+ - lib/cimi/models/vsp_template_collection.rb
359
+ - lib/cimi/models.rb
327
360
  - lib/cimi/server.rb
328
- - lib/cimi/model/base.rb
329
- - lib/cimi/model/machine_template.rb
330
- - lib/cimi/model/machine_image.rb
331
- - lib/cimi/model/volume_template_collection.rb
332
- - lib/cimi/model/machine.rb
333
- - lib/cimi/model/machine_configuration.rb
334
- - lib/cimi/model/action.rb
335
- - lib/cimi/model/cloud_entry_point.rb
336
- - lib/cimi/model/machine_admin_collection.rb
337
- - lib/cimi/model/network_collection.rb
338
- - lib/cimi/model/errors.rb
339
- - lib/cimi/model/entity_metadata.rb
340
- - lib/cimi/model/machine_collection.rb
341
- - lib/cimi/model/network_configuration_collection.rb
342
- - lib/cimi/model/volume.rb
343
- - lib/cimi/model/machine_template_collection.rb
344
- - lib/cimi/model/volume_configuration.rb
345
- - lib/cimi/model/machine_configuration_collection.rb
346
- - lib/cimi/model/volume_collection.rb
347
- - lib/cimi/model/volume_image_collection.rb
348
- - lib/cimi/model/entity_metadata_collection.rb
349
- - lib/cimi/model/machine_admin.rb
350
- - lib/cimi/model/volume_configuration_collection.rb
351
- - lib/cimi/model/volume_template.rb
352
- - lib/cimi/model/schema.rb
353
- - lib/cimi/model/volume_image.rb
354
- - lib/cimi/model/network_configuration.rb
355
- - lib/cimi/model/machine_image_collection.rb
356
- - lib/cimi/model/network.rb
357
- - lib/cimi/model/network_template.rb
358
- - lib/deltacloud.rb
359
- - lib/sinatra/rack_syslog.rb
360
- - lib/sinatra/rack_etag.rb
361
- - lib/sinatra/accept_media_types.rb
362
- - lib/sinatra/rack_runtime.rb
363
- - lib/sinatra/sinatra_verbose.rb
364
- - lib/sinatra/rack_accept.rb
365
- - lib/sinatra/lazy_auth.rb
366
- - lib/sinatra/url_for.rb
367
- - lib/sinatra/static_assets.rb
368
- - lib/sinatra/rack_matrix_params.rb
369
- - lib/sinatra/rack_driver_select.rb
370
- - lib/sinatra/body_proxy.rb
371
- - lib/sinatra/rabbit.rb
372
- - lib/sinatra/rack_date.rb
373
- - lib/deltacloud/hardware_profile.rb
374
- - lib/deltacloud/state_machine.rb
361
+ - lib/deltacloud/api.rb
362
+ - lib/deltacloud/collections/addresses.rb
363
+ - lib/deltacloud/collections/buckets.rb
364
+ - lib/deltacloud/collections/drivers.rb
365
+ - lib/deltacloud/collections/firewalls.rb
366
+ - lib/deltacloud/collections/hardware_profiles.rb
367
+ - lib/deltacloud/collections/images.rb
368
+ - lib/deltacloud/collections/instance_states.rb
369
+ - lib/deltacloud/collections/instances.rb
370
+ - lib/deltacloud/collections/keys.rb
371
+ - lib/deltacloud/collections/load_balancers.rb
372
+ - lib/deltacloud/collections/metrics.rb
373
+ - lib/deltacloud/collections/realms.rb
374
+ - lib/deltacloud/collections/storage_snapshots.rb
375
+ - lib/deltacloud/collections/storage_volumes.rb
376
+ - lib/deltacloud/collections.rb
377
+ - lib/deltacloud/core_ext/array.rb
378
+ - lib/deltacloud/core_ext/hash.rb
379
+ - lib/deltacloud/core_ext/integer.rb
380
+ - lib/deltacloud/core_ext/proc.rb
381
+ - lib/deltacloud/core_ext/string.rb
382
+ - lib/deltacloud/core_ext.rb
383
+ - lib/deltacloud/drivers/azure/azure_driver.rb
384
+ - lib/deltacloud/drivers/base_driver.rb
385
+ - lib/deltacloud/drivers/condor/condor_client.rb
386
+ - lib/deltacloud/drivers/condor/condor_driver.rb
387
+ - lib/deltacloud/drivers/condor/ip_agents/confserver.rb
388
+ - lib/deltacloud/drivers/condor/ip_agents/default.rb
375
389
  - lib/deltacloud/drivers/ec2/ec2_driver.rb
376
- - lib/deltacloud/drivers/ec2/ec2_mock_driver.rb
377
- - lib/deltacloud/drivers/rackspace/rackspace_driver.rb
378
- - lib/deltacloud/drivers/gogrid/gogrid_driver.rb
379
- - lib/deltacloud/drivers/gogrid/gogrid_client.rb
380
- - lib/deltacloud/drivers/rhevm/rhevm_driver.rb
381
- - lib/deltacloud/drivers/rhevm/rhevm_client.rb
382
- - lib/deltacloud/drivers/openstack/openstack_driver.rb
383
390
  - lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
384
- - lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb
385
- - lib/deltacloud/drivers/vsphere/vsphere_client.rb
386
- - lib/deltacloud/drivers/vsphere/vsphere_driver.rb
391
+ - lib/deltacloud/drivers/exceptions.rb
392
+ - lib/deltacloud/drivers/features.rb
393
+ - lib/deltacloud/drivers/fgcp/fgcp_client.rb
394
+ - lib/deltacloud/drivers/fgcp/fgcp_driver.rb
395
+ - lib/deltacloud/drivers/gogrid/gogrid_client.rb
396
+ - lib/deltacloud/drivers/gogrid/gogrid_driver.rb
397
+ - lib/deltacloud/drivers/google/google_driver.rb
387
398
  - lib/deltacloud/drivers/mock/mock_client.rb
388
399
  - lib/deltacloud/drivers/mock/mock_driver.rb
389
- - lib/deltacloud/drivers/google/google_driver.rb
390
- - lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb
391
- - lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb
392
- - lib/deltacloud/drivers/condor/ip_agents/default.rb
393
- - lib/deltacloud/drivers/condor/ip_agents/confserver.rb
394
- - lib/deltacloud/drivers/condor/condor_driver.rb
395
- - lib/deltacloud/drivers/condor/condor_client.rb
396
- - lib/deltacloud/drivers/terremark/terremark_driver.rb
397
- - lib/deltacloud/drivers/sbc/sbc_driver.rb
398
- - lib/deltacloud/drivers/sbc/sbc_client.rb
400
+ - lib/deltacloud/drivers/mock/mock_driver_cimi_methods.rb
399
401
  - lib/deltacloud/drivers/opennebula/cloud_client.rb
400
402
  - lib/deltacloud/drivers/opennebula/occi_client.rb
401
403
  - lib/deltacloud/drivers/opennebula/opennebula_driver.rb
402
- - lib/deltacloud/drivers/azure/azure_driver.rb
403
- - lib/deltacloud/base_driver/features.rb
404
- - lib/deltacloud/base_driver/mock_driver.rb
405
- - lib/deltacloud/base_driver/base_driver.rb
406
- - lib/deltacloud/base_driver/exceptions.rb
407
- - lib/deltacloud/helpers/hardware_profiles_helper.rb
408
- - lib/deltacloud/helpers/conversion_helper.rb
409
- - lib/deltacloud/helpers/json_helper.rb
410
- - lib/deltacloud/helpers/blob_stream.rb
411
- - lib/deltacloud/helpers/application_helper.rb
404
+ - lib/deltacloud/drivers/openstack/openstack_driver.rb
405
+ - lib/deltacloud/drivers/rackspace/rackspace_driver.rb
406
+ - lib/deltacloud/drivers/rhevm/rhevm_driver.rb
407
+ - lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb
408
+ - lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb
409
+ - lib/deltacloud/drivers/sbc/sbc_client.rb
410
+ - lib/deltacloud/drivers/sbc/sbc_driver.rb
411
+ - lib/deltacloud/drivers/terremark/terremark_driver.rb
412
+ - lib/deltacloud/drivers/vsphere/vsphere_client.rb
413
+ - lib/deltacloud/drivers/vsphere/vsphere_driver.rb
414
+ - lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb
412
415
  - lib/deltacloud/drivers.rb
416
+ - lib/deltacloud/helpers/auth_helper.rb
417
+ - lib/deltacloud/helpers/blob_stream_helper.rb
418
+ - lib/deltacloud/helpers/deltacloud_helper.rb
419
+ - lib/deltacloud/helpers/driver_helper.rb
420
+ - lib/deltacloud/helpers/rabbit_helper.rb
421
+ - lib/deltacloud/helpers/url_helper.rb
413
422
  - lib/deltacloud/helpers.rb
414
- - lib/deltacloud/core_ext.rb
415
- - lib/deltacloud/validation.rb
416
- - lib/deltacloud/server.rb
417
- - lib/deltacloud/core_ext/hash.rb
418
- - lib/deltacloud/core_ext/proc.rb
419
- - lib/deltacloud/core_ext/string.rb
420
- - lib/deltacloud/core_ext/integer.rb
421
- - lib/deltacloud/core_ext/array.rb
422
- - lib/deltacloud/models.rb
423
- - lib/deltacloud/backend_capability.rb
424
- - lib/deltacloud/base_driver.rb
425
- - lib/deltacloud/models/firewall_rule.rb
426
- - lib/deltacloud/models/provider.rb
427
- - lib/deltacloud/models/base_model.rb
428
423
  - lib/deltacloud/models/address.rb
429
- - lib/deltacloud/models/instance_profile.rb
430
- - lib/deltacloud/models/load_balancer.rb
431
- - lib/deltacloud/models/key.rb
432
- - lib/deltacloud/models/instance_address.rb
424
+ - lib/deltacloud/models/base_model.rb
425
+ - lib/deltacloud/models/blob.rb
433
426
  - lib/deltacloud/models/bucket.rb
434
427
  - lib/deltacloud/models/firewall.rb
435
- - lib/deltacloud/models/blob.rb
428
+ - lib/deltacloud/models/firewall_rule.rb
429
+ - lib/deltacloud/models/hardware_profile.rb
430
+ - lib/deltacloud/models/image.rb
431
+ - lib/deltacloud/models/instance.rb
432
+ - lib/deltacloud/models/instance_address.rb
433
+ - lib/deltacloud/models/instance_profile.rb
434
+ - lib/deltacloud/models/key.rb
435
+ - lib/deltacloud/models/load_balancer.rb
436
+ - lib/deltacloud/models/metric.rb
437
+ - lib/deltacloud/models/provider.rb
438
+ - lib/deltacloud/models/realm.rb
439
+ - lib/deltacloud/models/state_machine.rb
436
440
  - lib/deltacloud/models/storage_snapshot.rb
437
441
  - lib/deltacloud/models/storage_volume.rb
438
- - lib/deltacloud/models/realm.rb
439
- - lib/deltacloud/models/instance.rb
440
- - lib/deltacloud/models/image.rb
442
+ - lib/deltacloud/models.rb
441
443
  - lib/deltacloud/runner.rb
442
- - lib/deltacloud/method_serializer.rb
444
+ - lib/deltacloud/server.rb
445
+ - lib/deltacloud_rack.rb
446
+ - lib/ec2/helpers/errors.rb
447
+ - lib/ec2/helpers/result.rb
448
+ - lib/ec2/helpers.rb
449
+ - lib/ec2/query_parser.rb
450
+ - lib/ec2/server.rb
451
+ - lib/sinatra/accept_media_types.rb
452
+ - lib/sinatra/body_proxy.rb
453
+ - lib/sinatra/rack_accept.rb
454
+ - lib/sinatra/rack_date.rb
455
+ - lib/sinatra/rack_driver_select.rb
456
+ - lib/sinatra/rack_etag.rb
457
+ - lib/sinatra/rack_matrix_params.rb
458
+ - lib/sinatra.rb
459
+ - lib/deltacloud/drivers/mock/data/blobs/blob1.yml
460
+ - lib/deltacloud/drivers/mock/data/blobs/blob2.yml
443
461
  - lib/deltacloud/drivers/mock/data/blobs/blob3.yml
444
462
  - lib/deltacloud/drivers/mock/data/blobs/blob4.yml
445
463
  - lib/deltacloud/drivers/mock/data/blobs/blob5.yml
446
- - lib/deltacloud/drivers/mock/data/blobs/blob2.yml
447
- - lib/deltacloud/drivers/mock/data/blobs/blob1.yml
448
- - lib/deltacloud/drivers/mock/data/instances/inst2.yml
464
+ - lib/deltacloud/drivers/mock/data/buckets/bucket1.yml
465
+ - lib/deltacloud/drivers/mock/data/buckets/bucket2.yml
466
+ - lib/deltacloud/drivers/mock/data/images/img1.yml
467
+ - lib/deltacloud/drivers/mock/data/images/img2.yml
468
+ - lib/deltacloud/drivers/mock/data/images/img3.yml
449
469
  - lib/deltacloud/drivers/mock/data/instances/inst0.yml
450
470
  - lib/deltacloud/drivers/mock/data/instances/inst1.yml
451
- - lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml
452
- - lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml
453
- - lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml
471
+ - lib/deltacloud/drivers/mock/data/instances/inst2.yml
472
+ - lib/deltacloud/drivers/mock/data/keys/test-key.yml
454
473
  - lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml
455
- - lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
456
474
  - lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml
457
- - lib/deltacloud/drivers/mock/data/images/img1.yml
458
- - lib/deltacloud/drivers/mock/data/images/img3.yml
459
- - lib/deltacloud/drivers/mock/data/images/img2.yml
460
- - lib/deltacloud/drivers/mock/data/buckets/bucket2.yml
461
- - lib/deltacloud/drivers/mock/data/buckets/bucket1.yml
462
- - tests/cimi/features/step_definitions/machine_images_steps.rb
475
+ - lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
476
+ - lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml
477
+ - lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml
478
+ - lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml
479
+ - tests/api/common.rb
480
+ - tests/api/driver_test.rb
481
+ - tests/api/library_test.rb
463
482
  - tests/cimi/features/step_definitions/common_steps.rb
483
+ - tests/cimi/features/step_definitions/machine_images_steps.rb
464
484
  - tests/cimi/features/step_definitions/machines_steps.rb
465
485
  - tests/cimi/features/step_definitions/volumes_steps.rb
466
486
  - tests/cimi/features/support/env.rb
487
+ - tests/common.rb
488
+ - tests/core_ext/string.rb
489
+ - tests/drivers/ec2/api_test.rb
490
+ - tests/drivers/ec2/common.rb
491
+ - tests/drivers/ec2/drivers_test.rb
492
+ - tests/drivers/ec2/hardware_profiles_test.rb
493
+ - tests/drivers/ec2/images_test.rb
494
+ - tests/drivers/ec2/instances_test.rb
495
+ - tests/drivers/ec2/keys_test.rb
496
+ - tests/drivers/ec2/realms_test.rb
497
+ - tests/drivers/fgcp/api_test.rb
498
+ - tests/drivers/fgcp/hardware_profiles_test.rb
499
+ - tests/drivers/fgcp/realms_test.rb
500
+ - tests/drivers/fgcp/setup.rb
501
+ - tests/drivers/google/api_test.rb
502
+ - tests/drivers/google/buckets_test.rb
503
+ - tests/drivers/google/common.rb
504
+ - tests/drivers/mock/api_test.rb
505
+ - tests/drivers/mock/buckets_test.rb
506
+ - tests/drivers/mock/common.rb
507
+ - tests/drivers/mock/drivers_test.rb
508
+ - tests/drivers/mock/hardware_profiles_test.rb
509
+ - tests/drivers/mock/images_test.rb
510
+ - tests/drivers/mock/instances_test.rb
511
+ - tests/drivers/mock/keys_test.rb
512
+ - tests/drivers/mock/realms_test.rb
513
+ - tests/drivers/mock/storage_snapshots_test.rb
514
+ - tests/drivers/mock/storage_volumes_test.rb
515
+ - tests/drivers/openstack/api_test.rb
516
+ - tests/drivers/openstack/common.rb
517
+ - tests/drivers/openstack/hardware_profiles_test.rb
518
+ - tests/drivers/openstack/images_test.rb
519
+ - tests/drivers/openstack/instances_test.rb
520
+ - tests/drivers/openstack/realms_test.rb
521
+ - tests/drivers/rackspace/api_test.rb
522
+ - tests/drivers/rackspace/buckets_test.rb
523
+ - tests/drivers/rackspace/common.rb
467
524
  - tests/drivers/rackspace/hardware_profiles_test.rb
468
525
  - tests/drivers/rackspace/images_test.rb
469
526
  - tests/drivers/rackspace/instances_test.rb
470
- - tests/drivers/rackspace/api_test.rb
471
527
  - tests/drivers/rackspace/realms_test.rb
472
- - tests/drivers/rackspace/setup.rb
473
- - tests/drivers/rackspace/buckets_test.rb
528
+ - tests/drivers/rhevm/api_test.rb
529
+ - tests/drivers/rhevm/common.rb
474
530
  - tests/drivers/rhevm/hardware_profiles_test.rb
475
531
  - tests/drivers/rhevm/images_test.rb
476
532
  - tests/drivers/rhevm/instances_test.rb
477
- - tests/drivers/rhevm/api_test.rb
478
533
  - tests/drivers/rhevm/realms_test.rb
479
- - tests/drivers/rhevm/setup.rb
480
- - tests/drivers/openstack/hardware_profiles_test.rb
481
- - tests/drivers/openstack/images_test.rb
482
- - tests/drivers/openstack/instances_test.rb
483
- - tests/drivers/openstack/api_test.rb
484
- - tests/drivers/openstack/realms_test.rb
485
- - tests/drivers/openstack/setup.rb
486
- - tests/drivers/mock/hardware_profiles_test.rb
487
- - tests/drivers/mock/url_for_test.rb
488
- - tests/drivers/mock/images_test.rb
489
- - tests/drivers/mock/instances_test.rb
490
- - tests/drivers/mock/api_test.rb
491
- - tests/drivers/mock/realms_test.rb
492
- - tests/drivers/mock/instance_states_test.rb
493
- - tests/drivers/mock/setup.rb
494
- - tests/drivers/google/api_test.rb
495
- - tests/drivers/google/setup.rb
496
- - tests/drivers/google/buckets_test.rb
497
- - tests/common.rb
534
+ - tests/minitest_common.rb
535
+ - tests/minitest_common_api_test.rb
498
536
  - tests/rabbit_test.rb
499
- - tests/core_ext/string.rb
500
- - views/load_balancers/show.xml.haml
501
- - views/load_balancers/new.html.haml
502
- - views/load_balancers/index.html.haml
503
- - views/load_balancers/index.xml.haml
504
- - views/load_balancers/show.html.haml
505
- - views/docs/operation.xml.haml
506
- - views/docs/collection.xml.haml
507
- - views/docs/operation.html.haml
508
- - views/docs/index.html.haml
509
- - views/docs/index.xml.haml
510
- - views/docs/collection.html.haml
537
+ - views/addresses/_address.html.haml
538
+ - views/addresses/associate.html.haml
539
+ - views/addresses/index.html.haml
540
+ - views/addresses/index.xml.haml
541
+ - views/addresses/show.html.haml
542
+ - views/addresses/show.xml.haml
543
+ - views/api/show.html.haml
544
+ - views/api/show.xml.haml
545
+ - views/blobs/new.html.haml
546
+ - views/blobs/show.html.haml
547
+ - views/blobs/show.xml.haml
548
+ - views/buckets/index.html.haml
549
+ - views/buckets/index.xml.haml
550
+ - views/buckets/new.html.haml
551
+ - views/buckets/show.html.haml
552
+ - views/buckets/show.xml.haml
511
553
  - views/cimi/cloudEntryPoint/index.html.haml
512
554
  - views/cimi/cloudEntryPoint/index.xml.haml
513
- - views/cimi/errors/401.html.haml
555
+ - views/cimi/collection/index.html.haml
556
+ - views/cimi/collection/response.xml.haml
557
+ - views/cimi/error.html.haml
514
558
  - views/cimi/errors/400.xml.haml
515
- - views/cimi/errors/404.html.haml
516
- - views/cimi/errors/403.html.haml
517
559
  - views/cimi/errors/401.xml.haml
518
- - views/cimi/errors/405.html.haml
519
- - views/cimi/errors/502.xml.haml
520
- - views/cimi/errors/502.html.haml
560
+ - views/cimi/errors/403.xml.haml
521
561
  - views/cimi/errors/404.xml.haml
522
- - views/cimi/errors/500.xml.haml
523
562
  - views/cimi/errors/405.xml.haml
524
- - views/cimi/errors/backend_capability_failure.html.haml
525
- - views/cimi/errors/400.html.haml
526
- - views/cimi/errors/403.xml.haml
527
- - views/cimi/errors/500.html.haml
528
- - views/cimi/volumes/show.xml.haml
529
- - views/cimi/volumes/show.html.haml
530
- - views/cimi/machines/show.xml.haml
531
- - views/cimi/machines/show.html.haml
563
+ - views/cimi/errors/500.xml.haml
564
+ - views/cimi/errors/502.xml.haml
532
565
  - views/cimi/layout.html.haml
533
- - views/cimi/machine_images/show.xml.haml
534
- - views/cimi/machine_images/show.html.haml
535
- - views/cimi/collection/response.xml.haml
536
- - views/cimi/collection/index.html.haml
537
- - views/cimi/machine_configurations/show.xml.haml
538
566
  - views/cimi/machine_configurations/show.html.haml
539
- - views/cimi/error.html.haml
540
- - views/realms/show.xml.haml
541
- - views/realms/index.html.haml
542
- - views/realms/index.xml.haml
543
- - views/realms/show.html.haml
544
- - views/addresses/_address.html.haml
545
- - views/addresses/show.xml.haml
546
- - views/addresses/index.html.haml
547
- - views/addresses/associate.html.haml
548
- - views/addresses/index.xml.haml
549
- - views/addresses/show.html.haml
550
- - views/blobs/show.xml.haml
551
- - views/blobs/new.html.haml
552
- - views/blobs/show.html.haml
553
- - views/instances/show.xml.haml
554
- - views/instances/run.html.haml
555
- - views/instances/new.html.haml
556
- - views/instances/index.html.haml
557
- - views/instances/run.xml.haml
558
- - views/instances/index.xml.haml
559
- - views/instances/run_command.html.haml
560
- - views/instances/show.html.haml
561
- - views/drivers/show.xml.haml
567
+ - views/cimi/machine_configurations/show.xml.haml
568
+ - views/cimi/machine_images/show.html.haml
569
+ - views/cimi/machine_images/show.xml.haml
570
+ - views/cimi/machines/show.html.haml
571
+ - views/cimi/machines/show.xml.haml
572
+ - views/cimi/volumes/show.html.haml
573
+ - views/cimi/volumes/show.xml.haml
574
+ - views/docs/collection.html.haml
575
+ - views/docs/collection.xml.haml
576
+ - views/docs/index.html.haml
577
+ - views/docs/index.xml.haml
578
+ - views/docs/operation.html.haml
579
+ - views/docs/operation.xml.haml
562
580
  - views/drivers/index.html.haml
563
581
  - views/drivers/index.xml.haml
564
582
  - views/drivers/show.html.haml
565
- - views/hardware_profiles/show.xml.haml
566
- - views/hardware_profiles/index.html.haml
567
- - views/hardware_profiles/index.xml.haml
568
- - views/hardware_profiles/show.html.haml
569
- - views/errors/401.html.haml
583
+ - views/drivers/show.xml.haml
584
+ - views/error.html.haml
585
+ - views/errors/400.html.haml
570
586
  - views/errors/400.xml.haml
571
- - views/errors/404.html.haml
572
- - views/errors/backend_capability_failure.xml.haml
573
- - views/errors/403.html.haml
587
+ - views/errors/401.html.haml
574
588
  - views/errors/401.xml.haml
575
- - views/errors/405.html.haml
576
- - views/errors/502.xml.haml
577
- - views/errors/502.html.haml
589
+ - views/errors/403.html.haml
590
+ - views/errors/403.xml.haml
591
+ - views/errors/404.html.haml
578
592
  - views/errors/404.xml.haml
579
- - views/errors/500.xml.haml
593
+ - views/errors/405.html.haml
580
594
  - views/errors/405.xml.haml
581
- - views/errors/backend_capability_failure.html.haml
582
- - views/errors/400.html.haml
583
- - views/errors/403.xml.haml
584
595
  - views/errors/500.html.haml
585
- - views/storage_volumes/show.xml.haml
586
- - views/storage_volumes/new.html.haml
587
- - views/storage_volumes/attach.html.haml
588
- - views/storage_volumes/index.html.haml
589
- - views/storage_volumes/index.xml.haml
590
- - views/storage_volumes/show.html.haml
591
- - views/firewalls/show.xml.haml
592
- - views/firewalls/new_rule.html.haml
593
- - views/firewalls/new.html.haml
596
+ - views/errors/500.xml.haml
597
+ - views/errors/501.html.haml
598
+ - views/errors/501.xml.haml
599
+ - views/errors/502.html.haml
600
+ - views/errors/502.xml.haml
601
+ - views/errors/504.html.haml
602
+ - views/errors/504.xml.haml
603
+ - views/errors/backend_capability_failure.html.haml
604
+ - views/errors/backend_capability_failure.xml.haml
594
605
  - views/firewalls/index.html.haml
595
606
  - views/firewalls/index.xml.haml
607
+ - views/firewalls/new.html.haml
608
+ - views/firewalls/new_rule.html.haml
596
609
  - views/firewalls/show.html.haml
597
- - views/api/show.xml.haml
598
- - views/api/show.html.haml
599
- - views/storage_snapshots/show.xml.haml
600
- - views/storage_snapshots/new.html.haml
601
- - views/storage_snapshots/index.html.haml
602
- - views/storage_snapshots/index.xml.haml
603
- - views/storage_snapshots/show.html.haml
604
- - views/layout.html.haml
605
- - views/root/index.html.haml
606
- - views/instance_states/show.xml.haml
607
- - views/instance_states/show.html.haml
608
- - views/images/show.xml.haml
609
- - views/images/new.html.haml
610
+ - views/firewalls/show.xml.haml
611
+ - views/hardware_profiles/index.html.haml
612
+ - views/hardware_profiles/index.xml.haml
613
+ - views/hardware_profiles/show.html.haml
614
+ - views/hardware_profiles/show.xml.haml
610
615
  - views/images/index.html.haml
611
616
  - views/images/index.xml.haml
617
+ - views/images/new.html.haml
612
618
  - views/images/show.html.haml
613
- - views/buckets/show.xml.haml
614
- - views/buckets/new.html.haml
615
- - views/buckets/index.html.haml
616
- - views/buckets/index.xml.haml
617
- - views/buckets/show.html.haml
618
- - views/keys/show.xml.haml
619
- - views/keys/new.html.haml
619
+ - views/images/show.xml.haml
620
+ - views/instance_states/show.html.haml
621
+ - views/instance_states/show.xml.haml
622
+ - views/instances/index.html.haml
623
+ - views/instances/index.xml.haml
624
+ - views/instances/new.html.haml
625
+ - views/instances/run.html.haml
626
+ - views/instances/run.xml.haml
627
+ - views/instances/run_command.html.haml
628
+ - views/instances/show.html.haml
629
+ - views/instances/show.xml.haml
620
630
  - views/keys/index.html.haml
621
631
  - views/keys/index.xml.haml
632
+ - views/keys/new.html.haml
622
633
  - views/keys/show.html.haml
623
- - views/error.html.haml
634
+ - views/keys/show.xml.haml
635
+ - views/layout.html.haml
636
+ - views/load_balancers/index.html.haml
637
+ - views/load_balancers/index.xml.haml
638
+ - views/load_balancers/new.html.haml
639
+ - views/load_balancers/show.html.haml
640
+ - views/load_balancers/show.xml.haml
641
+ - views/metrics/index.html.haml
642
+ - views/metrics/index.xml.haml
643
+ - views/metrics/show.html.haml
644
+ - views/metrics/show.xml.haml
645
+ - views/realms/index.html.haml
646
+ - views/realms/index.xml.haml
647
+ - views/realms/show.html.haml
648
+ - views/realms/show.xml.haml
649
+ - views/root/index.html.haml
650
+ - views/storage_snapshots/index.html.haml
651
+ - views/storage_snapshots/index.xml.haml
652
+ - views/storage_snapshots/new.html.haml
653
+ - views/storage_snapshots/show.html.haml
654
+ - views/storage_snapshots/show.xml.haml
655
+ - views/storage_volumes/attach.html.haml
656
+ - views/storage_volumes/index.html.haml
657
+ - views/storage_volumes/index.xml.haml
658
+ - views/storage_volumes/new.html.haml
659
+ - views/storage_volumes/show.html.haml
660
+ - views/storage_volumes/show.xml.haml
624
661
  - views/instance_states/show.png.erb
625
662
  - public/favicon.ico
626
- - public/images/firewall.png
627
- - public/images/topbar-bg.png
663
+ - public/images/address.png
628
664
  - public/images/balancer.png
629
- - public/images/realm.png
665
+ - public/images/blob.png
666
+ - public/images/bread-bg.png
667
+ - public/images/bucket.png
668
+ - public/images/cloud.png
669
+ - public/images/firewall.png
630
670
  - public/images/image.png
671
+ - public/images/key.png
631
672
  - public/images/logo-wide.png
632
- - public/images/volume.png
633
- - public/images/address.png
634
- - public/images/profile.png
635
- - public/images/cloud.png
636
- - public/images/blob.png
637
673
  - public/images/machine.png
638
- - public/images/key.png
639
- - public/images/bucket.png
640
- - public/images/bread-bg.png
674
+ - public/images/metric.png
675
+ - public/images/profile.png
676
+ - public/images/realm.png
641
677
  - public/images/snapshot.png
678
+ - public/images/topbar-bg.png
679
+ - public/images/volume.png
642
680
  - public/javascripts/application.js
643
- - public/javascripts/jquery.mobile-1.0rc1.min.js
681
+ - public/javascripts/cmwgapp.js
644
682
  - public/javascripts/jquery-1.4.2.min.js
645
683
  - public/javascripts/jquery.min.js
646
- - public/javascripts/cmwgapp.js
647
- - public/stylesheets/jquery.mobile-1.0rc1.min.css
684
+ - public/javascripts/jquery.mobile-1.0.1.min.js
685
+ - public/stylesheets/jquery.mobile-1.0.1.min.css
648
686
  - public/stylesheets/new.css
649
- - public/stylesheets/images/icons-18-white.png
650
- - public/stylesheets/images/topbar-bg.png
687
+ - public/stylesheets/images/ajax-loader.png
688
+ - public/stylesheets/images/bread-bg.png
651
689
  - public/stylesheets/images/error.png
652
- - public/stylesheets/images/logo-wide.png
653
- - public/stylesheets/images/stopped.png
654
- - public/stylesheets/images/pending.png
655
690
  - public/stylesheets/images/grid.png
691
+ - public/stylesheets/images/icon-search-black.png
692
+ - public/stylesheets/images/icons-18-black.png
693
+ - public/stylesheets/images/icons-18-white.png
656
694
  - public/stylesheets/images/icons-36-black.png
657
- - public/stylesheets/images/ajax-loader.png
658
695
  - public/stylesheets/images/icons-36-white.png
659
- - public/stylesheets/images/icons-18-black.png
660
- - public/stylesheets/images/icon-search-black.png
661
- - public/stylesheets/images/running.png
662
- - public/stylesheets/images/bread-bg.png
696
+ - public/stylesheets/images/logo-wide.png
697
+ - public/stylesheets/images/pending.png
663
698
  - public/stylesheets/images/rails.png
699
+ - public/stylesheets/images/running.png
700
+ - public/stylesheets/images/stopped.png
701
+ - public/stylesheets/images/topbar-bg.png
664
702
  - public/stylesheets/compiled/application.css
665
- - public/stylesheets/compiled/print.css
666
703
  - public/stylesheets/compiled/ie.css
704
+ - public/stylesheets/compiled/print.css
667
705
  - public/stylesheets/compiled/screen.css
668
706
  - bin/deltacloudd
669
707
  - LICENSE
670
- - DISCLAIMER
671
708
  - NOTICE
672
709
  homepage: http://www.deltacloud.org
673
710
  licenses: []
674
-
675
711
  post_install_message:
676
712
  rdoc_options: []
677
-
678
- require_paths:
713
+ require_paths:
679
714
  - lib
680
- required_ruby_version: !ruby/object:Gem::Requirement
715
+ required_ruby_version: !ruby/object:Gem::Requirement
681
716
  none: false
682
- requirements:
683
- - - ">="
684
- - !ruby/object:Gem::Version
685
- hash: 53
686
- segments:
687
- - 1
688
- - 8
689
- - 1
717
+ requirements:
718
+ - - ! '>='
719
+ - !ruby/object:Gem::Version
690
720
  version: 1.8.1
691
- required_rubygems_version: !ruby/object:Gem::Requirement
721
+ required_rubygems_version: !ruby/object:Gem::Requirement
692
722
  none: false
693
- requirements:
694
- - - ">="
695
- - !ruby/object:Gem::Version
696
- hash: 3
697
- segments:
698
- - 0
699
- version: "0"
723
+ requirements:
724
+ - - ! '>='
725
+ - !ruby/object:Gem::Version
726
+ version: '0'
700
727
  requirements: []
701
-
702
728
  rubyforge_project:
703
- rubygems_version: 1.8.11
729
+ rubygems_version: 1.8.15
704
730
  signing_key:
705
731
  specification_version: 3
706
732
  summary: Deltacloud REST API
707
- test_files:
733
+ test_files:
734
+ - tests/minitest_common_api_test.rb
708
735
  - tests/rabbit_test.rb
736
+ has_rdoc: 'false'