deltacloud-core 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. data/LICENSE +145 -0
  2. data/NOTICE +10 -1
  3. data/Rakefile +50 -2
  4. data/bin/deltacloudd +111 -14
  5. data/config/addresses.xml +14 -0
  6. data/config/condor.yaml +30 -0
  7. data/config/drivers/azure.yaml +3 -0
  8. data/config/drivers/condor.yaml +3 -0
  9. data/config/{drivers.yaml → drivers/ec2.yaml} +5 -34
  10. data/config/drivers/eucalyptus.yaml +8 -0
  11. data/config/drivers/gogrid.yaml +3 -0
  12. data/config/drivers/mock.yaml +3 -0
  13. data/config/drivers/opennebula.yaml +4 -0
  14. data/config/drivers/rackspace.yaml +3 -0
  15. data/config/drivers/rhevm.yaml +3 -0
  16. data/config/drivers/rimuhosting.yaml +3 -0
  17. data/config/drivers/sbc.yaml +2 -0
  18. data/config/drivers/terremark.yaml +3 -0
  19. data/config/drivers/vsphere.yaml +8 -0
  20. data/deltacloud-core.gemspec +13 -5
  21. data/deltacloud.rb +4 -2
  22. data/lib/deltacloud/backend_capability.rb +2 -2
  23. data/lib/deltacloud/base_driver/base_driver.rb +23 -52
  24. data/lib/deltacloud/base_driver/exceptions.rb +168 -0
  25. data/lib/deltacloud/base_driver/features.rb +31 -12
  26. data/lib/deltacloud/base_driver/mock_driver.rb +2 -1
  27. data/lib/deltacloud/core_ext/string.rb +2 -0
  28. data/lib/deltacloud/drivers/azure/azure_driver.rb +5 -5
  29. data/lib/deltacloud/drivers/condor/condor_client.rb +273 -0
  30. data/lib/deltacloud/drivers/condor/condor_driver.rb +236 -0
  31. data/lib/deltacloud/drivers/condor/ip_agents/confserver.rb +75 -0
  32. data/lib/deltacloud/drivers/condor/ip_agents/default.rb +84 -0
  33. data/lib/deltacloud/drivers/ec2/ec2_driver.rb +326 -95
  34. data/lib/deltacloud/drivers/ec2/ec2_mock_driver.rb +3 -3
  35. data/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb +40 -8
  36. data/lib/deltacloud/drivers/gogrid/gogrid_client.rb +7 -7
  37. data/lib/deltacloud/drivers/gogrid/gogrid_driver.rb +42 -25
  38. data/lib/deltacloud/drivers/mock/data/{buckets/blobs → blobs}/blob1.yml +6 -4
  39. data/lib/deltacloud/drivers/mock/data/{buckets/blobs → blobs}/blob2.yml +7 -5
  40. data/lib/deltacloud/drivers/mock/data/{buckets/blobs → blobs}/blob3.yml +6 -4
  41. data/lib/deltacloud/drivers/mock/data/{buckets/blobs → blobs}/blob4.yml +6 -4
  42. data/lib/deltacloud/drivers/mock/data/{buckets/blobs → blobs}/blob5.yml +6 -4
  43. data/lib/deltacloud/drivers/mock/data/buckets/bucket1.yml +7 -1
  44. data/lib/deltacloud/drivers/mock/data/buckets/bucket2.yml +6 -1
  45. data/lib/deltacloud/drivers/mock/data/images/img1.yml +6 -2
  46. data/lib/deltacloud/drivers/mock/data/images/img2.yml +6 -2
  47. data/lib/deltacloud/drivers/mock/data/images/img3.yml +6 -2
  48. data/lib/deltacloud/drivers/mock/data/instances/inst0.yml +11 -10
  49. data/lib/deltacloud/drivers/mock/data/instances/inst1.yml +14 -7
  50. data/lib/deltacloud/drivers/mock/data/instances/inst2.yml +14 -7
  51. data/lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml +3 -2
  52. data/lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml +3 -2
  53. data/lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml +3 -2
  54. data/lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml +4 -3
  55. data/lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml +4 -3
  56. data/lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml +4 -3
  57. data/lib/deltacloud/drivers/mock/mock_client.rb +101 -0
  58. data/lib/deltacloud/drivers/mock/mock_driver.rb +367 -429
  59. data/lib/deltacloud/drivers/opennebula/opennebula_driver.rb +6 -0
  60. data/lib/deltacloud/drivers/rackspace/rackspace_driver.rb +59 -9
  61. data/lib/deltacloud/drivers/rhevm/rhevm_client.rb +62 -8
  62. data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +100 -45
  63. data/lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb +3 -2
  64. data/lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb +8 -11
  65. data/lib/deltacloud/drivers/sbc/sbc_client.rb +6 -6
  66. data/lib/deltacloud/drivers/sbc/sbc_driver.rb +16 -0
  67. data/lib/deltacloud/drivers/terremark/terremark_driver.rb +17 -12
  68. data/lib/deltacloud/drivers/vsphere/vsphere_client.rb +140 -0
  69. data/lib/deltacloud/drivers/vsphere/vsphere_driver.rb +405 -0
  70. data/lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb +182 -0
  71. data/lib/deltacloud/hardware_profile.rb +1 -1
  72. data/lib/deltacloud/helpers.rb +2 -1
  73. data/lib/deltacloud/helpers/application_helper.rb +92 -20
  74. data/lib/deltacloud/helpers/blob_stream.rb +160 -12
  75. data/lib/deltacloud/helpers/conversion_helper.rb +6 -2
  76. data/lib/deltacloud/helpers/json_helper.rb +31 -0
  77. data/lib/deltacloud/models/address.rb +28 -0
  78. data/lib/deltacloud/models/base_model.rb +5 -1
  79. data/lib/deltacloud/models/blob.rb +1 -1
  80. data/lib/deltacloud/models/bucket.rb +10 -0
  81. data/lib/deltacloud/models/firewall.rb +22 -0
  82. data/lib/deltacloud/models/firewall_rule.rb +23 -0
  83. data/lib/deltacloud/models/image.rb +12 -0
  84. data/lib/deltacloud/models/instance.rb +20 -2
  85. data/lib/deltacloud/models/key.rb +1 -1
  86. data/lib/deltacloud/runner.rb +3 -3
  87. data/lib/deltacloud/validation.rb +3 -7
  88. data/lib/drivers.rb +7 -1
  89. data/lib/sinatra/body_proxy.rb +34 -0
  90. data/lib/sinatra/lazy_auth.rb +5 -0
  91. data/lib/sinatra/rabbit.rb +54 -31
  92. data/lib/sinatra/rack_accept.rb +157 -0
  93. data/lib/sinatra/rack_date.rb +38 -0
  94. data/lib/sinatra/rack_etag.rb +2 -3
  95. data/lib/sinatra/rack_matrix_params.rb +51 -29
  96. data/lib/sinatra/rack_runtime.rb +1 -1
  97. data/lib/sinatra/rack_syslog.rb +86 -0
  98. data/lib/sinatra/url_for.rb +14 -1
  99. data/public/images/address.png +0 -0
  100. data/public/images/balancer.png +0 -0
  101. data/public/images/blob.png +0 -0
  102. data/public/images/bucket.png +0 -0
  103. data/public/images/cloud.png +0 -0
  104. data/public/images/firewall.png +0 -0
  105. data/public/images/image.png +0 -0
  106. data/public/images/key.png +0 -0
  107. data/public/images/machine.png +0 -0
  108. data/public/images/profile.png +0 -0
  109. data/public/images/realm.png +0 -0
  110. data/public/images/snapshot.png +0 -0
  111. data/public/images/volume.png +0 -0
  112. data/public/javascripts/application.js +119 -16
  113. data/public/javascripts/jquery.min.js +18 -0
  114. data/public/javascripts/jquery.mobile-1.0b1.min.js +146 -0
  115. data/public/stylesheets/compiled/application.css +8 -0
  116. data/public/stylesheets/images/ajax-loader.png +0 -0
  117. data/public/{images → stylesheets/images}/bread-bg.png +0 -0
  118. data/public/{images → stylesheets/images}/error.png +0 -0
  119. data/public/{images → stylesheets/images}/grid.png +0 -0
  120. data/public/stylesheets/images/icon-search-black.png +0 -0
  121. data/public/stylesheets/images/icons-18-black.png +0 -0
  122. data/public/stylesheets/images/icons-18-white.png +0 -0
  123. data/public/stylesheets/images/icons-36-black.png +0 -0
  124. data/public/stylesheets/images/icons-36-white.png +0 -0
  125. data/public/{images → stylesheets/images}/logo-wide.png +0 -0
  126. data/public/{images → stylesheets/images}/pending.png +0 -0
  127. data/public/{images → stylesheets/images}/rails.png +0 -0
  128. data/public/{images → stylesheets/images}/running.png +0 -0
  129. data/public/{images → stylesheets/images}/stopped.png +0 -0
  130. data/public/{images → stylesheets/images}/topbar-bg.png +0 -0
  131. data/public/stylesheets/jquery.mobile-1.0b1.min.css +8 -0
  132. data/public/stylesheets/new.css +53 -0
  133. data/server.rb +487 -175
  134. data/support/condor/bash/cached_images.sh +8 -0
  135. data/support/condor/bash/cloud_exit_hook.sh +17 -0
  136. data/support/condor/bash/cloud_functions +175 -0
  137. data/support/condor/bash/cloud_prepare_hook.sh +20 -0
  138. data/support/condor/bash/libvirt_cloud_script.sh +13 -0
  139. data/support/condor/config/50condor_cloud.config +37 -0
  140. data/support/condor/config/50condor_cloud_node.config +37 -0
  141. data/support/condor/config/condor-cloud +2 -0
  142. data/support/condor/config/condor_config.local +44 -0
  143. data/support/fedora/deltacloud-core +48 -26
  144. data/support/fedora/deltacloud-core-config +26 -0
  145. data/support/fedora/deltacloud-core.spec +314 -68
  146. data/support/fedora/deltacloudd-fedora +5 -0
  147. data/tests/common.rb +34 -4
  148. data/tests/drivers/mock/api_test.rb +3 -3
  149. data/tests/drivers/mock/images_test.rb +12 -0
  150. data/tests/drivers/mock/instances_test.rb +2 -0
  151. data/tests/rabbit_test.rb +2 -2
  152. data/views/addresses/_address.html.haml +6 -0
  153. data/views/addresses/associate.html.haml +12 -0
  154. data/views/addresses/index.html.haml +9 -0
  155. data/views/addresses/index.xml.haml +4 -0
  156. data/views/addresses/show.html.haml +21 -0
  157. data/views/addresses/show.xml.haml +14 -0
  158. data/views/api/show.html.haml +6 -11
  159. data/views/api/show.xml.haml +2 -0
  160. data/views/blobs/new.html.haml +24 -23
  161. data/views/blobs/show.html.haml +30 -31
  162. data/views/buckets/index.html.haml +9 -21
  163. data/views/buckets/index.xml.haml +3 -7
  164. data/views/buckets/new.html.haml +13 -12
  165. data/views/buckets/show.html.haml +22 -22
  166. data/views/buckets/show.xml.haml +5 -3
  167. data/views/docs/collection.html.haml +23 -34
  168. data/views/docs/collection.xml.haml +2 -2
  169. data/views/docs/index.html.haml +9 -13
  170. data/views/docs/index.xml.haml +1 -1
  171. data/views/docs/operation.html.haml +28 -38
  172. data/views/docs/operation.xml.haml +1 -1
  173. data/views/drivers/index.html.haml +8 -13
  174. data/views/drivers/show.html.haml +18 -18
  175. data/views/error.html.haml +32 -27
  176. data/views/errors/400.html.haml +41 -0
  177. data/views/errors/{validation_failure.xml.haml → 400.xml.haml} +0 -4
  178. data/views/errors/401.html.haml +41 -0
  179. data/views/errors/{auth_exception.xml.haml → 401.xml.haml} +0 -0
  180. data/views/errors/403.html.haml +42 -0
  181. data/views/errors/{not_allowed.xml.haml → 403.xml.haml} +0 -0
  182. data/views/errors/404.html.haml +29 -0
  183. data/views/errors/{not_found.xml.haml → 404.xml.haml} +1 -1
  184. data/views/errors/405.html.haml +29 -0
  185. data/views/errors/405.xml.haml +5 -0
  186. data/views/errors/500.html.haml +43 -0
  187. data/views/errors/500.xml.haml +5 -0
  188. data/views/errors/502.html.haml +43 -0
  189. data/views/errors/{backend_error.xml.haml → 502.xml.haml} +1 -2
  190. data/views/errors/backend_capability_failure.html.haml +27 -9
  191. data/views/firewalls/index.html.haml +15 -0
  192. data/views/firewalls/index.xml.haml +28 -0
  193. data/views/firewalls/new.html.haml +11 -0
  194. data/views/firewalls/new_rule.html.haml +20 -0
  195. data/views/firewalls/show.html.haml +42 -0
  196. data/views/firewalls/show.xml.haml +26 -0
  197. data/views/hardware_profiles/index.html.haml +15 -23
  198. data/views/hardware_profiles/show.html.haml +22 -18
  199. data/views/images/index.html.haml +11 -23
  200. data/views/images/index.xml.haml +4 -13
  201. data/views/images/new.html.haml +12 -13
  202. data/views/images/show.html.haml +26 -20
  203. data/views/images/show.xml.haml +2 -1
  204. data/views/instance_states/show.html.haml +21 -25
  205. data/views/instances/index.html.haml +13 -30
  206. data/views/instances/index.xml.haml +2 -23
  207. data/views/instances/new.html.haml +83 -88
  208. data/views/instances/show.html.haml +53 -55
  209. data/views/instances/show.xml.haml +12 -10
  210. data/views/keys/index.html.haml +13 -24
  211. data/views/keys/new.html.haml +7 -7
  212. data/views/keys/show.html.haml +26 -21
  213. data/views/layout.html.haml +28 -27
  214. data/views/load_balancers/index.html.haml +11 -31
  215. data/views/load_balancers/index.xml.haml +0 -1
  216. data/views/load_balancers/new.html.haml +1 -1
  217. data/views/load_balancers/show.html.haml +33 -34
  218. data/views/load_balancers/show.xml.haml +2 -2
  219. data/views/realms/index.html.haml +11 -24
  220. data/views/realms/index.xml.haml +2 -8
  221. data/views/realms/show.html.haml +17 -15
  222. data/views/realms/show.xml.haml +2 -1
  223. data/views/storage_snapshots/index.html.haml +11 -21
  224. data/views/storage_snapshots/index.xml.haml +2 -5
  225. data/views/storage_snapshots/new.html.haml +1 -1
  226. data/views/storage_snapshots/show.html.haml +21 -13
  227. data/views/storage_snapshots/show.xml.haml +2 -1
  228. data/views/storage_volumes/index.html.haml +11 -34
  229. data/views/storage_volumes/new.html.haml +1 -1
  230. data/views/storage_volumes/show.html.haml +33 -27
  231. data/views/storage_volumes/show.xml.haml +2 -1
  232. metadata +266 -178
  233. data/lib/sinatra/respond_to.rb +0 -248
  234. data/support/fedora/deltacloudd +0 -128
  235. data/support/fedora/rubygem-deltacloud-core.spec +0 -127
  236. data/views/accounts/index.html.haml +0 -11
  237. data/views/accounts/show.html.haml +0 -30
  238. data/views/errors/auth_exception.html.haml +0 -8
  239. data/views/errors/backend_error.html.haml +0 -22
  240. data/views/errors/not_allowed.html.haml +0 -6
  241. data/views/errors/not_found.html.haml +0 -6
  242. data/views/errors/validation_failure.html.haml +0 -11
@@ -1,8 +1,9 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
- %load_balancer{ :href => key_url(@load_balancer.id), :id => @load_balancer.id}
3
+ %load_balancer{ :href => load_balancer_url(@load_balancer.id), :id => @load_balancer.id}
4
4
  %actions
5
5
  %link{ :rel => "destroy", :method => "delete", :href => destroy_load_balancer_url(@load_balancer.id)}
6
+ %link{ :rel => "register", :method => "post", :href => register_load_balancer_url(@load_balancer.id)}
6
7
  %public_addresses
7
8
  - @load_balancer.public_addresses.each do |address|
8
9
  %address #{address}
@@ -18,4 +19,3 @@
18
19
  - @load_balancer.instances.each do |instance|
19
20
  %instance{:href => instance_url(instance.id), :id => instance.id}
20
21
  %link{:rel => "unregister", :href => unregister_load_balancer_url(@load_balancer.id, { :instance_id => instance.id})}
21
-
@@ -1,26 +1,13 @@
1
- %h1
2
- Realms
1
+ =header "Realms"
2
+ =subheader "#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}"
3
3
 
4
- %table.display
5
- %thead
6
- %tr
7
- %th
8
- ID
9
- %th
10
- Name
11
- %th
12
- State
13
- %th
14
- Limit
15
- %tbody
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
16
7
  - @realms.each do |realm|
17
- %tr
18
- %td
19
- = link_to realm.id, realm_url( realm.id )
20
- %td
21
- = realm.name
22
- %td
23
- = realm.state
24
- %td
25
- = realm.limit
26
-
8
+ %li
9
+ %a{ :href => realm_url(realm.id), :'data-ajax' => 'false'}
10
+ %img{ :class => 'ui-link-thumb', :src => '/images/realm.png'}
11
+ %h3= realm.name
12
+ %p=[realm.id, realm.limit].join(', ')
13
+ %span{ :class => 'ui-li-count'}=realm.state
@@ -1,10 +1,4 @@
1
1
  !!!XML
2
2
  %realms
3
- - @elements.each do |realm|
4
- %realm{:href => realm_url(realm.id), :id => realm.id }
5
- %name<
6
- =realm.name
7
- %state<
8
- =realm.state
9
- %limit<
10
- =realm.limit.eql?(:unlimited) ? '' : realm.limit
3
+ - @elements.each do |c|
4
+ = haml :'realms/show', :locals => { :@realm => c, :partial => true }
@@ -1,15 +1,17 @@
1
- %h1
2
- = @realm.id
3
- %dl
4
- %di
5
- %dt Name
6
- %dd
7
- = @realm.name
8
- %di
9
- %dt State
10
- %dd
11
- = @realm.state
12
- %di
13
- %dt Limit
14
- %dd
15
- = @realm.limit
1
+ =header Realm
2
+ =subheader @realm.id
3
+
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
6
+ %li{ :'data-role' => 'list-divider'} Identifier
7
+ %li
8
+ %p{ :'data-role' => 'fieldcontain'}=@realm.id
9
+ %li{ :'data-role' => 'list-divider'} Name
10
+ %li
11
+ %p{ :'data-role' => 'fieldcontain'}=@realm.name
12
+ %li{ :'data-role' => 'list-divider'} State
13
+ %li
14
+ %p{ :'data-role' => 'fieldcontain'}=@realm.state
15
+ %li{ :'data-role' => 'list-divider'} Limit
16
+ %li
17
+ %p{ :'data-role' => 'fieldcontain'}=@realm.limit
@@ -1,4 +1,5 @@
1
- !!!XML
1
+ - unless defined?(partial)
2
+ !!! XML
2
3
  %realm{:href => realm_url(@realm.id), :id => @realm.id }
3
4
  %name<
4
5
  =@realm.name
@@ -1,23 +1,13 @@
1
- %h1 Storage Snapshots
1
+ =header "Storage Snapshots"
2
2
 
3
- %table
4
- %thead
5
- %tr
6
- %th ID
7
- %th Volume
8
- %th Created
9
- %th State
10
- %th Actions
11
- %tbody
3
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
4
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
5
+ %li{ :'data-role' => 'list-divider'}=driver_symbol
12
6
  - @storage_snapshots.each do |snapshot|
13
- %tr
14
- %td
15
- = link_to snapshot.id, storage_snapshot_url( snapshot.id )
16
- %td
17
- = link_to snapshot.storage_volume_id, storage_volume_url( snapshot.storage_volume_id )
18
- %td
19
- = snapshot.created
20
- %td
21
- = snapshot.state
22
- %td
23
- = link_to_action "Delete", destroy_storage_snapshot_url(snapshot.id), :delete
7
+ %li
8
+ %a{ :href => storage_snapshot_url(snapshot.id), :'data-ajax' => 'false'}
9
+ %img{ :class => 'ui-link-thumb', :src => '/images/snapshot.png'}
10
+ %h3= snapshot.id
11
+ %p=[snapshot.storage_volume_id, snapshot.created].join(', ')
12
+ %span{ :class => 'ui-li-count'}=snapshot.state
13
+
@@ -1,7 +1,4 @@
1
1
  !!!XML
2
2
  %storage_snapshots
3
- - @elements.each do |snapshot|
4
- %storage_snapshot{ :href => storage_snapshot_url(snapshot.id), :id => snapshot.id }
5
- %created<
6
- =snapshot.created
7
- %storage_volume{ :href => storage_volume_url(snapshot.storage_volume_id), :id => snapshot.storage_volume_id }
3
+ - @elements.each do |c|
4
+ = haml :'storage_snapshots/show', :locals => { :@storage_snapshot => c, :partial => true }
@@ -1,6 +1,6 @@
1
1
  %h1 Create new storage volume snapshot
2
2
 
3
- %form{ :action => '/api/storage_snapshots', :method => :post }
3
+ %form{ :action => storage_snapshots_url, :method => :post }
4
4
  %p
5
5
  %label
6
6
  Volume ID:
@@ -1,14 +1,22 @@
1
- %h1
2
- = @storage_snapshot.id
1
+ =header "Storage snapshot"
2
+ =subheader @storage_snapshot.id
3
3
 
4
- %dl
5
- %di
6
- %dt Volume
7
- %dd
8
- = @storage_snapshot.storage_volume_id
9
- %dt Created
10
- %dd
11
- = @storage_snapshot.created
12
- %dt State
13
- %dd
14
- = @storage_snapshot.state
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
6
+ %li{ :'data-role' => 'list-divider'} Name
7
+ %li
8
+ %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.id
9
+ %li{ :'data-role' => 'list-divider'} Storage volume
10
+ %li
11
+ %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.storage_volume_id
12
+ %li{ :'data-role' => 'list-divider'} Created
13
+ %li
14
+ %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.created
15
+ %li{ :'data-role' => 'list-divider'} State
16
+ %li
17
+ %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.state
18
+ %li{ :'data-role' => 'list-divider'} Actions
19
+ %li
20
+ %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
21
+ - if driver.respond_to?(:destroy_storage_snapshot)
22
+ =link_to_action "Delete", destroy_storage_snapshot_url(@storage_snapshot.id), :delete
@@ -1,4 +1,5 @@
1
- !!!XML
1
+ - unless defined?(partial)
2
+ !!! XML
2
3
  %storage_snapshot{:href => storage_snapshot_url(@storage_snapshot.id), :id => @storage_snapshot.id }
3
4
  %created<
4
5
  =@storage_snapshot.created
@@ -1,36 +1,13 @@
1
- %h1 Storage Volumes
1
+ =header "Storage volumes" do
2
+ %a{ :href => api_url_for('storage_volumes/new'), :'data-icon' => :plus, :'data-role' => :button, :class => 'ui-btn-right'} Create new volume
2
3
 
3
- %table.display
4
- %thead
5
- %tr
6
- %th ID
7
- %th Created
8
- %th Realm
9
- %th Capacity
10
- %th Status
11
- %th Actions
12
- %tbody
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
13
7
  - @storage_volumes.each do |volume|
14
- %tr
15
- %td
16
- = link_to volume.id, storage_volume_url( volume.id )
17
- %td
18
- = volume.created
19
- %td
20
- = volume.realm_id
21
- %td
22
- = "#{volume.capacity} GB"
23
- %td
24
- = "#{volume.state}"
25
- %td
26
- - if ["AVAILABLE", "IN-USE"].include?(volume.state)
27
- =link_to_action "Snaphot", url_for("/api/storage_snapshots/new?volume_id=#{volume.id}"), :get
28
- - unless volume.instance_id
29
- =link_to_action "Delete", destroy_storage_volume_url(volume.id), :delete
30
- =link_to_action "Attach", url_for("/api/storage_volumes/attach?id=#{volume.id}"), :get
31
- - if volume.instance_id
32
- =link_to_action "Detach", detach_storage_volume_url(volume.id), :post
33
- %tfoot
34
- %tr
35
- %td{:colspan => 6}
36
- %a{ :href => url_for("/api/storage_volumes/new")} Create volume
8
+ %li
9
+ %a{ :href => storage_volume_url(volume.id), :'data-ajax' => 'false'}
10
+ %img{ :class => 'ui-link-thumb', :src => '/images/volume.png'}
11
+ %h3= volume.id
12
+ %p=[volume.realm_id, volume.capacity].join(', ')
13
+ %span{ :class => 'ui-li-count'}=volume.state
@@ -1,6 +1,6 @@
1
1
  %h1 Create new storage volume
2
2
 
3
- %form{ :action => '/api/storage_volumes', :method => :post }
3
+ %form{ :action => storage_volumes_url, :method => :post }
4
4
  %p
5
5
  %label
6
6
  Snapshot ID:
@@ -1,28 +1,34 @@
1
- %h1
2
- = @storage_volume.id
1
+ =header "Storage volume"
2
+ =subheader @storage_volume.id
3
3
 
4
- %dl
5
- %di
6
- %dt Name
7
- %dd
8
- = @storage_volume.name
9
- %di
10
- %dt Created
11
- %dd
12
- = @storage_volume.created
13
- %di
14
- %dt Capacity
15
- %dd
16
- = "#{@storage_volume.capacity} GB"
17
- %di
18
- %dt Realm
19
- %dd
20
- = @storage_volume.realm_id
21
- %di
22
- %dt State
23
- %dd
24
- = @storage_volume.state
25
- %di
26
- %dt Attached
27
- %dd
28
- = link_to(@storage_volume.instance_id, instance_url( @storage_volume.instance_id)) + ' - ' + @storage_volume.device.to_s if @storage_volume.instance_id
4
+ %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
+ %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
6
+ %li{ :'data-role' => 'list-divider'} Name
7
+ %li
8
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.id
9
+ %li{ :'data-role' => 'list-divider'} Created
10
+ %li
11
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.created
12
+ %li{ :'data-role' => 'list-divider'} Capacity
13
+ %li
14
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.capacity
15
+ %li{ :'data-role' => 'list-divider'} Realm
16
+ %li
17
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.realm_id
18
+ %li{ :'data-role' => 'list-divider'} State
19
+ %li
20
+ %p{ :'data-role' => 'fieldcontain'}=@storage_volume.state
21
+ %li{ :'data-role' => 'list-divider'} Attached to
22
+ %li
23
+ %a{ :href => instance_url( @storage_volume.instance_id) + ' - ' + @storage_volume.device.to_s}
24
+ =@storage_volume.instance_id || 'unknown'
25
+ %li{ :'data-role' => 'list-divider'} Actions
26
+ %li
27
+ %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
28
+ - if ["AVAILABLE", "IN-USE"].include?(@storage_volume.state)
29
+ =link_to_action "Snaphot", api_url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
30
+ - unless @storage_volume.instance_id
31
+ =link_to_action "Delete", destroy_storage_volume_url(@storage_volume.id), :delete
32
+ =link_to_action "Attach", api_url_for("storage_volumes/attach?id=#{@storage_volume.id}"), :get
33
+ - if @storage_volume.instance_id
34
+ =link_to_action "Detach", detach_storage_volume_url(@storage_volume.id), :post
@@ -16,6 +16,7 @@
16
16
  %device<
17
17
  = @storage_volume.device
18
18
  - if @storage_volume.realm_id
19
+ %realm{:id => @storage_volume.realm_id, :href => realm_url(@storage_volume.realm_id)}
19
20
  %realm_id<
20
21
  = @storage_volume.realm_id
21
22
  - if @storage_volume.state
@@ -24,7 +25,7 @@
24
25
 
25
26
  - unless @storage_volume.instance_id.nil?
26
27
  %mount
27
- %instance{:href => @storage_volume.instance_id, :id => @storage_volume.instance_id}
28
+ %instance{:href => instance_url(@storage_volume.instance_id), :id => @storage_volume.instance_id}
28
29
  - unless @storage_volume.device.nil?
29
30
  %device{ :name => @storage_volume.device }
30
31
  - if @storage_volume.actions
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deltacloud-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 3
8
+ - 4
9
9
  - 0
10
- version: 0.3.0
10
+ version: 0.4.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Red Hat, Inc.
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-29 00:00:00 +02:00
19
- default_executable:
18
+ date: 2011-08-24 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rake
@@ -80,14 +79,6 @@ dependencies:
80
79
  - 0
81
80
  - 0
82
81
  version: 1.0.0
83
- - - <=
84
- - !ruby/object:Gem::Version
85
- hash: 19
86
- segments:
87
- - 1
88
- - 1
89
- - 0
90
- version: 1.1.0
91
82
  type: :runtime
92
83
  version_requirements: *id004
93
84
  - !ruby/object:Gem::Dependency
@@ -96,14 +87,12 @@ dependencies:
96
87
  requirement: &id005 !ruby/object:Gem::Requirement
97
88
  none: false
98
89
  requirements:
99
- - - ~>
90
+ - - ">="
100
91
  - !ruby/object:Gem::Version
101
- hash: 9
92
+ hash: 3
102
93
  segments:
103
94
  - 0
104
- - 4
105
- - 3
106
- version: 0.4.3
95
+ version: "0"
107
96
  type: :runtime
108
97
  version_requirements: *id005
109
98
  - !ruby/object:Gem::Dependency
@@ -139,9 +128,41 @@ dependencies:
139
128
  type: :runtime
140
129
  version_requirements: *id007
141
130
  - !ruby/object:Gem::Dependency
142
- name: compass
131
+ name: thin
143
132
  prerelease: false
144
133
  requirement: &id008 !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 21
139
+ segments:
140
+ - 1
141
+ - 2
142
+ - 5
143
+ version: 1.2.5
144
+ type: :runtime
145
+ version_requirements: *id008
146
+ - !ruby/object:Gem::Dependency
147
+ name: nokogiri
148
+ prerelease: false
149
+ requirement: &id009 !ruby/object:Gem::Requirement
150
+ none: false
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ hash: 1
155
+ segments:
156
+ - 1
157
+ - 4
158
+ - 3
159
+ version: 1.4.3
160
+ type: :runtime
161
+ version_requirements: *id009
162
+ - !ruby/object:Gem::Dependency
163
+ name: compass
164
+ prerelease: false
165
+ requirement: &id010 !ruby/object:Gem::Requirement
145
166
  none: false
146
167
  requirements:
147
168
  - - ">="
@@ -153,11 +174,11 @@ dependencies:
153
174
  - 17
154
175
  version: 0.8.17
155
176
  type: :development
156
- version_requirements: *id008
177
+ version_requirements: *id010
157
178
  - !ruby/object:Gem::Dependency
158
179
  name: nokogiri
159
180
  prerelease: false
160
- requirement: &id009 !ruby/object:Gem::Requirement
181
+ requirement: &id011 !ruby/object:Gem::Requirement
161
182
  none: false
162
183
  requirements:
163
184
  - - ">="
@@ -168,20 +189,12 @@ dependencies:
168
189
  - 4
169
190
  - 1
170
191
  version: 1.4.1
171
- - - <
172
- - !ruby/object:Gem::Version
173
- hash: 15
174
- segments:
175
- - 1
176
- - 4
177
- - 4
178
- version: 1.4.4
179
192
  type: :development
180
- version_requirements: *id009
193
+ version_requirements: *id011
181
194
  - !ruby/object:Gem::Dependency
182
195
  name: rack-test
183
196
  prerelease: false
184
- requirement: &id010 !ruby/object:Gem::Requirement
197
+ requirement: &id012 !ruby/object:Gem::Requirement
185
198
  none: false
186
199
  requirements:
187
200
  - - ">="
@@ -193,11 +206,11 @@ dependencies:
193
206
  - 3
194
207
  version: 0.5.3
195
208
  type: :development
196
- version_requirements: *id010
209
+ version_requirements: *id012
197
210
  - !ruby/object:Gem::Dependency
198
211
  name: cucumber
199
212
  prerelease: false
200
- requirement: &id011 !ruby/object:Gem::Requirement
213
+ requirement: &id013 !ruby/object:Gem::Requirement
201
214
  none: false
202
215
  requirements:
203
216
  - - ">="
@@ -209,11 +222,11 @@ dependencies:
209
222
  - 3
210
223
  version: 0.6.3
211
224
  type: :development
212
- version_requirements: *id011
225
+ version_requirements: *id013
213
226
  - !ruby/object:Gem::Dependency
214
227
  name: rcov
215
228
  prerelease: false
216
- requirement: &id012 !ruby/object:Gem::Requirement
229
+ requirement: &id014 !ruby/object:Gem::Requirement
217
230
  none: false
218
231
  requirements:
219
232
  - - ">="
@@ -225,7 +238,7 @@ dependencies:
225
238
  - 8
226
239
  version: 0.9.8
227
240
  type: :development
228
- version_requirements: *id012
241
+ version_requirements: *id014
229
242
  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"
230
243
  email: deltacloud-users@lists.fedorahosted.org
231
244
  executables:
@@ -240,215 +253,290 @@ files:
240
253
  - Rakefile
241
254
  - deltacloud-core.gemspec
242
255
  - config.ru
243
- - deltacloud.rb
244
256
  - server.rb
245
- - config/drivers.yaml
257
+ - deltacloud.rb
258
+ - config/drivers/rhevm.yaml
259
+ - config/drivers/rackspace.yaml
260
+ - config/drivers/sbc.yaml
261
+ - config/drivers/azure.yaml
262
+ - config/drivers/condor.yaml
263
+ - config/drivers/vsphere.yaml
264
+ - config/drivers/rimuhosting.yaml
265
+ - config/drivers/ec2.yaml
266
+ - config/drivers/mock.yaml
267
+ - config/drivers/gogrid.yaml
268
+ - config/drivers/opennebula.yaml
269
+ - config/drivers/eucalyptus.yaml
270
+ - config/drivers/terremark.yaml
271
+ - config/condor.yaml
272
+ - config/addresses.xml
273
+ - support/fedora/deltacloud-core-config
246
274
  - support/fedora/deltacloud-core
247
275
  - support/fedora/deltacloud-core.spec
248
- - support/fedora/deltacloudd
249
- - support/fedora/rubygem-deltacloud-core.spec
250
- - lib/deltacloud/backend_capability.rb
251
- - lib/deltacloud/base_driver/base_driver.rb
252
- - lib/deltacloud/base_driver/features.rb
253
- - lib/deltacloud/base_driver/mock_driver.rb
254
- - lib/deltacloud/base_driver.rb
276
+ - support/fedora/deltacloudd-fedora
277
+ - support/condor/bash/cloud_prepare_hook.sh
278
+ - support/condor/bash/libvirt_cloud_script.sh
279
+ - support/condor/bash/cached_images.sh
280
+ - support/condor/bash/cloud_exit_hook.sh
281
+ - support/condor/bash/cloud_functions
282
+ - support/condor/config/50condor_cloud.config
283
+ - support/condor/config/condor_config.local
284
+ - support/condor/config/50condor_cloud_node.config
285
+ - support/condor/config/condor-cloud
286
+ - lib/drivers.rb
287
+ - lib/deltacloud/helpers/conversion_helper.rb
288
+ - lib/deltacloud/helpers/application_helper.rb
289
+ - lib/deltacloud/helpers/json_helper.rb
290
+ - lib/deltacloud/helpers/hardware_profiles_helper.rb
291
+ - lib/deltacloud/helpers/blob_stream.rb
292
+ - lib/deltacloud/core_ext.rb
255
293
  - lib/deltacloud/core_ext/integer.rb
256
294
  - lib/deltacloud/core_ext/string.rb
257
- - lib/deltacloud/core_ext.rb
258
- - lib/deltacloud/drivers/azure/azure_driver.rb
259
- - lib/deltacloud/drivers/ec2/ec2_driver.rb
260
- - lib/deltacloud/drivers/ec2/ec2_mock_driver.rb
261
- - lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
262
- - lib/deltacloud/drivers/gogrid/gogrid_client.rb
263
- - lib/deltacloud/drivers/gogrid/gogrid_driver.rb
264
- - lib/deltacloud/drivers/mock/mock_driver.rb
295
+ - lib/deltacloud/base_driver/exceptions.rb
296
+ - lib/deltacloud/base_driver/mock_driver.rb
297
+ - lib/deltacloud/base_driver/base_driver.rb
298
+ - lib/deltacloud/base_driver/features.rb
265
299
  - lib/deltacloud/drivers/opennebula/cloud_client.rb
266
300
  - lib/deltacloud/drivers/opennebula/occi_client.rb
267
301
  - lib/deltacloud/drivers/opennebula/opennebula_driver.rb
302
+ - lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
303
+ - lib/deltacloud/drivers/vsphere/vsphere_client.rb
304
+ - lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb
305
+ - lib/deltacloud/drivers/vsphere/vsphere_driver.rb
306
+ - lib/deltacloud/drivers/condor/condor_client.rb
307
+ - lib/deltacloud/drivers/condor/condor_driver.rb
308
+ - lib/deltacloud/drivers/condor/ip_agents/confserver.rb
309
+ - lib/deltacloud/drivers/condor/ip_agents/default.rb
310
+ - lib/deltacloud/drivers/mock/mock_driver.rb
311
+ - lib/deltacloud/drivers/mock/mock_client.rb
312
+ - lib/deltacloud/drivers/sbc/sbc_client.rb
313
+ - lib/deltacloud/drivers/sbc/sbc_driver.rb
314
+ - lib/deltacloud/drivers/ec2/ec2_mock_driver.rb
315
+ - lib/deltacloud/drivers/ec2/ec2_driver.rb
268
316
  - lib/deltacloud/drivers/rackspace/rackspace_driver.rb
317
+ - lib/deltacloud/drivers/terremark/terremark_driver.rb
318
+ - lib/deltacloud/drivers/gogrid/gogrid_client.rb
319
+ - lib/deltacloud/drivers/gogrid/gogrid_driver.rb
269
320
  - lib/deltacloud/drivers/rhevm/rhevm_client.rb
270
321
  - lib/deltacloud/drivers/rhevm/rhevm_driver.rb
271
322
  - lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb
272
323
  - lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb
273
- - lib/deltacloud/drivers/sbc/sbc_client.rb
274
- - lib/deltacloud/drivers/sbc/sbc_driver.rb
275
- - lib/deltacloud/drivers/terremark/terremark_driver.rb
276
- - lib/deltacloud/hardware_profile.rb
277
- - lib/deltacloud/helpers/application_helper.rb
278
- - lib/deltacloud/helpers/blob_stream.rb
279
- - lib/deltacloud/helpers/conversion_helper.rb
280
- - lib/deltacloud/helpers/hardware_profiles_helper.rb
281
- - lib/deltacloud/helpers.rb
324
+ - lib/deltacloud/drivers/azure/azure_driver.rb
325
+ - lib/deltacloud/validation.rb
282
326
  - lib/deltacloud/method_serializer.rb
283
- - lib/deltacloud/models/base_model.rb
284
- - lib/deltacloud/models/blob.rb
327
+ - lib/deltacloud/helpers.rb
328
+ - lib/deltacloud/backend_capability.rb
329
+ - lib/deltacloud/runner.rb
330
+ - lib/deltacloud/state_machine.rb
331
+ - lib/deltacloud/base_driver.rb
332
+ - lib/deltacloud/hardware_profile.rb
285
333
  - lib/deltacloud/models/bucket.rb
286
- - lib/deltacloud/models/image.rb
287
- - lib/deltacloud/models/instance.rb
288
334
  - lib/deltacloud/models/instance_profile.rb
335
+ - lib/deltacloud/models/base_model.rb
336
+ - lib/deltacloud/models/realm.rb
337
+ - lib/deltacloud/models/blob.rb
338
+ - lib/deltacloud/models/firewall.rb
289
339
  - lib/deltacloud/models/key.rb
340
+ - lib/deltacloud/models/instance.rb
341
+ - lib/deltacloud/models/storage_volume.rb
342
+ - lib/deltacloud/models/firewall_rule.rb
290
343
  - lib/deltacloud/models/load_balancer.rb
291
- - lib/deltacloud/models/realm.rb
344
+ - lib/deltacloud/models/image.rb
345
+ - lib/deltacloud/models/address.rb
292
346
  - lib/deltacloud/models/storage_snapshot.rb
293
- - lib/deltacloud/models/storage_volume.rb
294
- - lib/deltacloud/runner.rb
295
- - lib/deltacloud/state_machine.rb
296
- - lib/deltacloud/validation.rb
297
- - lib/drivers.rb
347
+ - lib/sinatra/rack_accept.rb
348
+ - lib/sinatra/url_for.rb
298
349
  - lib/sinatra/accept_media_types.rb
299
- - lib/sinatra/lazy_auth.rb
300
350
  - lib/sinatra/rabbit.rb
301
- - lib/sinatra/rack_driver_select.rb
351
+ - lib/sinatra/rack_date.rb
352
+ - lib/sinatra/lazy_auth.rb
353
+ - lib/sinatra/body_proxy.rb
302
354
  - lib/sinatra/rack_etag.rb
303
- - lib/sinatra/rack_matrix_params.rb
304
355
  - lib/sinatra/rack_runtime.rb
305
- - lib/sinatra/respond_to.rb
356
+ - lib/sinatra/rack_matrix_params.rb
306
357
  - lib/sinatra/static_assets.rb
307
- - lib/sinatra/url_for.rb
308
- - lib/deltacloud/drivers/mock/data/buckets/blobs/blob1.yml
309
- - lib/deltacloud/drivers/mock/data/buckets/blobs/blob2.yml
310
- - lib/deltacloud/drivers/mock/data/buckets/blobs/blob3.yml
311
- - lib/deltacloud/drivers/mock/data/buckets/blobs/blob4.yml
312
- - lib/deltacloud/drivers/mock/data/buckets/blobs/blob5.yml
313
- - lib/deltacloud/drivers/mock/data/buckets/bucket1.yml
358
+ - lib/sinatra/rack_driver_select.rb
359
+ - lib/sinatra/rack_syslog.rb
360
+ - lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
361
+ - lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml
362
+ - lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml
314
363
  - lib/deltacloud/drivers/mock/data/buckets/bucket2.yml
315
- - lib/deltacloud/drivers/mock/data/images/img1.yml
316
- - lib/deltacloud/drivers/mock/data/images/img2.yml
317
- - lib/deltacloud/drivers/mock/data/images/img3.yml
364
+ - lib/deltacloud/drivers/mock/data/buckets/bucket1.yml
318
365
  - lib/deltacloud/drivers/mock/data/instances/inst0.yml
319
366
  - lib/deltacloud/drivers/mock/data/instances/inst1.yml
320
367
  - lib/deltacloud/drivers/mock/data/instances/inst2.yml
321
- - lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml
322
- - lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml
323
- - lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
324
- - lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml
325
- - lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml
368
+ - lib/deltacloud/drivers/mock/data/blobs/blob4.yml
369
+ - lib/deltacloud/drivers/mock/data/blobs/blob2.yml
370
+ - lib/deltacloud/drivers/mock/data/blobs/blob3.yml
371
+ - lib/deltacloud/drivers/mock/data/blobs/blob1.yml
372
+ - lib/deltacloud/drivers/mock/data/blobs/blob5.yml
373
+ - lib/deltacloud/drivers/mock/data/images/img3.yml
374
+ - lib/deltacloud/drivers/mock/data/images/img2.yml
375
+ - lib/deltacloud/drivers/mock/data/images/img1.yml
326
376
  - lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml
377
+ - lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml
378
+ - lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml
379
+ - tests/rabbit_test.rb
327
380
  - tests/common.rb
328
- - tests/drivers/mock/api_test.rb
381
+ - tests/drivers/mock/setup.rb
382
+ - tests/drivers/mock/url_for_test.rb
329
383
  - tests/drivers/mock/hardware_profiles_test.rb
330
- - tests/drivers/mock/images_test.rb
331
384
  - tests/drivers/mock/instance_states_test.rb
385
+ - tests/drivers/mock/api_test.rb
386
+ - tests/drivers/mock/images_test.rb
332
387
  - tests/drivers/mock/instances_test.rb
333
388
  - tests/drivers/mock/realms_test.rb
334
- - tests/drivers/mock/setup.rb
335
- - tests/drivers/mock/url_for_test.rb
336
- - tests/drivers/rackspace/api_test.rb
389
+ - tests/drivers/rackspace/setup.rb
337
390
  - tests/drivers/rackspace/hardware_profiles_test.rb
391
+ - tests/drivers/rackspace/api_test.rb
338
392
  - tests/drivers/rackspace/images_test.rb
339
393
  - tests/drivers/rackspace/instances_test.rb
340
394
  - tests/drivers/rackspace/realms_test.rb
341
- - tests/drivers/rackspace/setup.rb
342
- - tests/drivers/rhevm/api_test.rb
395
+ - tests/drivers/rhevm/setup.rb
343
396
  - tests/drivers/rhevm/hardware_profiles_test.rb
397
+ - tests/drivers/rhevm/api_test.rb
344
398
  - tests/drivers/rhevm/images_test.rb
345
399
  - tests/drivers/rhevm/instances_test.rb
346
400
  - tests/drivers/rhevm/realms_test.rb
347
- - tests/drivers/rhevm/setup.rb
348
- - tests/rabbit_test.rb
349
- - views/accounts/index.html.haml
350
- - views/accounts/show.html.haml
351
- - views/api/show.html.haml
401
+ - views/storage_snapshots/index.xml.haml
402
+ - views/storage_snapshots/index.html.haml
403
+ - views/storage_snapshots/show.xml.haml
404
+ - views/storage_snapshots/new.html.haml
405
+ - views/storage_snapshots/show.html.haml
352
406
  - views/api/show.xml.haml
353
- - views/blobs/new.html.haml
354
- - views/blobs/show.html.haml
355
- - views/blobs/show.xml.haml
356
- - views/buckets/index.html.haml
407
+ - views/api/show.html.haml
357
408
  - views/buckets/index.xml.haml
409
+ - views/buckets/index.html.haml
410
+ - views/buckets/show.xml.haml
358
411
  - views/buckets/new.html.haml
359
412
  - views/buckets/show.html.haml
360
- - views/buckets/show.xml.haml
361
- - views/docs/collection.html.haml
362
- - views/docs/collection.xml.haml
363
- - views/docs/index.html.haml
364
- - views/docs/index.xml.haml
365
- - views/docs/operation.html.haml
366
- - views/docs/operation.xml.haml
367
- - views/drivers/index.html.haml
368
- - views/drivers/index.xml.haml
369
- - views/drivers/show.html.haml
370
- - views/drivers/show.xml.haml
371
- - views/error.html.haml
372
- - views/errors/auth_exception.html.haml
373
- - views/errors/auth_exception.xml.haml
374
- - views/errors/backend_capability_failure.html.haml
375
- - views/errors/backend_capability_failure.xml.haml
376
- - views/errors/backend_error.html.haml
377
- - views/errors/backend_error.xml.haml
378
- - views/errors/not_allowed.html.haml
379
- - views/errors/not_allowed.xml.haml
380
- - views/errors/not_found.html.haml
381
- - views/errors/not_found.xml.haml
382
- - views/errors/validation_failure.html.haml
383
- - views/errors/validation_failure.xml.haml
384
- - views/hardware_profiles/index.html.haml
385
- - views/hardware_profiles/index.xml.haml
386
- - views/hardware_profiles/show.html.haml
387
- - views/hardware_profiles/show.xml.haml
388
- - views/images/index.html.haml
389
- - views/images/index.xml.haml
390
- - views/images/new.html.haml
391
- - views/images/show.html.haml
392
- - views/images/show.xml.haml
393
- - views/instance_states/show.html.haml
394
413
  - views/instance_states/show.xml.haml
395
- - views/instances/index.html.haml
396
- - views/instances/index.xml.haml
397
- - views/instances/new.html.haml
398
- - views/instances/run.html.haml
399
- - views/instances/run.xml.haml
400
- - views/instances/run_command.html.haml
401
- - views/instances/show.html.haml
402
- - views/instances/show.xml.haml
403
- - views/keys/index.html.haml
414
+ - views/instance_states/show.html.haml
404
415
  - views/keys/index.xml.haml
416
+ - views/keys/index.html.haml
417
+ - views/keys/show.xml.haml
405
418
  - views/keys/new.html.haml
406
419
  - views/keys/show.html.haml
407
- - views/keys/show.xml.haml
420
+ - views/errors/500.html.haml
421
+ - views/errors/502.html.haml
422
+ - views/errors/404.xml.haml
423
+ - views/errors/405.xml.haml
424
+ - views/errors/502.xml.haml
425
+ - views/errors/401.html.haml
426
+ - views/errors/400.html.haml
427
+ - views/errors/403.html.haml
428
+ - views/errors/404.html.haml
429
+ - views/errors/405.html.haml
430
+ - views/errors/403.xml.haml
431
+ - views/errors/400.xml.haml
432
+ - views/errors/500.xml.haml
433
+ - views/errors/backend_capability_failure.xml.haml
434
+ - views/errors/backend_capability_failure.html.haml
435
+ - views/errors/401.xml.haml
436
+ - views/addresses/index.xml.haml
437
+ - views/addresses/_address.html.haml
438
+ - views/addresses/associate.html.haml
439
+ - views/addresses/index.html.haml
440
+ - views/addresses/show.xml.haml
441
+ - views/addresses/show.html.haml
442
+ - views/instances/run_command.html.haml
443
+ - views/instances/index.xml.haml
444
+ - views/instances/run.xml.haml
445
+ - views/instances/run.html.haml
446
+ - views/instances/index.html.haml
447
+ - views/instances/show.xml.haml
448
+ - views/instances/new.html.haml
449
+ - views/instances/show.html.haml
450
+ - views/hardware_profiles/index.xml.haml
451
+ - views/hardware_profiles/index.html.haml
452
+ - views/hardware_profiles/show.xml.haml
453
+ - views/hardware_profiles/show.html.haml
454
+ - views/realms/index.xml.haml
455
+ - views/realms/index.html.haml
456
+ - views/realms/show.xml.haml
457
+ - views/realms/show.html.haml
458
+ - views/drivers/index.xml.haml
459
+ - views/drivers/index.html.haml
460
+ - views/drivers/show.xml.haml
461
+ - views/drivers/show.html.haml
408
462
  - views/layout.html.haml
409
- - views/load_balancers/index.html.haml
410
463
  - views/load_balancers/index.xml.haml
464
+ - views/load_balancers/index.html.haml
465
+ - views/load_balancers/show.xml.haml
411
466
  - views/load_balancers/new.html.haml
412
467
  - views/load_balancers/show.html.haml
413
- - views/load_balancers/show.xml.haml
414
- - views/realms/index.html.haml
415
- - views/realms/index.xml.haml
416
- - views/realms/show.html.haml
417
- - views/realms/show.xml.haml
468
+ - views/blobs/show.xml.haml
469
+ - views/blobs/new.html.haml
470
+ - views/blobs/show.html.haml
471
+ - views/images/index.xml.haml
472
+ - views/images/index.html.haml
473
+ - views/images/show.xml.haml
474
+ - views/images/new.html.haml
475
+ - views/images/show.html.haml
476
+ - views/firewalls/index.xml.haml
477
+ - views/firewalls/index.html.haml
478
+ - views/firewalls/show.xml.haml
479
+ - views/firewalls/new.html.haml
480
+ - views/firewalls/show.html.haml
481
+ - views/firewalls/new_rule.html.haml
482
+ - views/docs/index.xml.haml
483
+ - views/docs/operation.html.haml
484
+ - views/docs/collection.xml.haml
485
+ - views/docs/operation.xml.haml
486
+ - views/docs/index.html.haml
487
+ - views/docs/collection.html.haml
418
488
  - views/root/index.html.haml
419
- - views/storage_snapshots/index.html.haml
420
- - views/storage_snapshots/index.xml.haml
421
- - views/storage_snapshots/new.html.haml
422
- - views/storage_snapshots/show.html.haml
423
- - views/storage_snapshots/show.xml.haml
489
+ - views/error.html.haml
490
+ - views/storage_volumes/index.xml.haml
424
491
  - views/storage_volumes/attach.html.haml
425
492
  - views/storage_volumes/index.html.haml
426
- - views/storage_volumes/index.xml.haml
493
+ - views/storage_volumes/show.xml.haml
427
494
  - views/storage_volumes/new.html.haml
428
495
  - views/storage_volumes/show.html.haml
429
- - views/storage_volumes/show.xml.haml
430
496
  - views/instance_states/show.png.erb
431
497
  - public/favicon.ico
432
- - public/images/bread-bg.png
433
- - public/images/error.png
434
- - public/images/grid.png
435
- - public/images/logo-wide.png
436
- - public/images/pending.png
437
- - public/images/rails.png
438
- - public/images/running.png
439
- - public/images/stopped.png
440
- - public/images/topbar-bg.png
441
- - public/javascripts/application.js
498
+ - public/images/machine.png
499
+ - public/images/volume.png
500
+ - public/images/blob.png
501
+ - public/images/firewall.png
502
+ - public/images/balancer.png
503
+ - public/images/bucket.png
504
+ - public/images/cloud.png
505
+ - public/images/address.png
506
+ - public/images/key.png
507
+ - public/images/profile.png
508
+ - public/images/snapshot.png
509
+ - public/images/image.png
510
+ - public/images/realm.png
442
511
  - public/javascripts/jquery-1.4.2.min.js
443
- - public/stylesheets/compiled/application.css
444
- - public/stylesheets/compiled/ie.css
512
+ - public/javascripts/application.js
513
+ - public/javascripts/jquery.min.js
514
+ - public/javascripts/jquery.mobile-1.0b1.min.js
515
+ - public/stylesheets/new.css
516
+ - public/stylesheets/jquery.mobile-1.0b1.min.css
517
+ - public/stylesheets/images/icons-36-black.png
518
+ - public/stylesheets/images/stopped.png
519
+ - public/stylesheets/images/topbar-bg.png
520
+ - public/stylesheets/images/icons-18-black.png
521
+ - public/stylesheets/images/icon-search-black.png
522
+ - public/stylesheets/images/pending.png
523
+ - public/stylesheets/images/icons-36-white.png
524
+ - public/stylesheets/images/grid.png
525
+ - public/stylesheets/images/icons-18-white.png
526
+ - public/stylesheets/images/rails.png
527
+ - public/stylesheets/images/ajax-loader.png
528
+ - public/stylesheets/images/logo-wide.png
529
+ - public/stylesheets/images/bread-bg.png
530
+ - public/stylesheets/images/error.png
531
+ - public/stylesheets/images/running.png
445
532
  - public/stylesheets/compiled/print.css
446
533
  - public/stylesheets/compiled/screen.css
534
+ - public/stylesheets/compiled/application.css
535
+ - public/stylesheets/compiled/ie.css
447
536
  - bin/deltacloudd
448
537
  - LICENSE
449
538
  - DISCLAIMER
450
539
  - NOTICE
451
- has_rdoc: true
452
540
  homepage: http://www.deltacloud.org
453
541
  licenses: []
454
542
 
@@ -480,7 +568,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
480
568
  requirements: []
481
569
 
482
570
  rubyforge_project:
483
- rubygems_version: 1.6.2
571
+ rubygems_version: 1.7.2
484
572
  signing_key:
485
573
  specification_version: 3
486
574
  summary: Deltacloud REST API