deltacloud-core 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. data/deltacloud-core.gemspec +4 -7
  2. data/lib/cimi/collections/address_templates.rb +4 -42
  3. data/lib/cimi/collections/addresses.rb +5 -43
  4. data/lib/cimi/collections/base.rb +11 -3
  5. data/lib/cimi/collections/cloud_entry_point.rb +1 -1
  6. data/lib/cimi/collections/credentials.rb +4 -43
  7. data/lib/cimi/collections/forwarding_group_templates.rb +2 -20
  8. data/lib/cimi/collections/forwarding_groups.rb +2 -21
  9. data/lib/cimi/collections/machine_configurations.rb +2 -20
  10. data/lib/cimi/collections/machine_images.rb +4 -42
  11. data/lib/cimi/collections/machine_templates.rb +4 -42
  12. data/lib/cimi/collections/machines.rb +14 -64
  13. data/lib/cimi/collections/network_configurations.rb +2 -20
  14. data/lib/cimi/collections/network_port_configurations.rb +2 -21
  15. data/lib/cimi/collections/network_port_templates.rb +2 -23
  16. data/lib/cimi/collections/network_ports.rb +6 -46
  17. data/lib/cimi/collections/network_templates.rb +2 -21
  18. data/lib/cimi/collections/networks.rb +4 -40
  19. data/lib/cimi/collections/resource_metadata.rb +2 -21
  20. data/lib/cimi/collections/system_templates.rb +4 -45
  21. data/lib/cimi/collections/systems.rb +65 -82
  22. data/lib/cimi/collections/volume_configurations.rb +4 -45
  23. data/lib/cimi/collections/volume_images.rb +4 -42
  24. data/lib/cimi/collections/volume_templates.rb +5 -44
  25. data/lib/cimi/collections/volumes.rb +4 -48
  26. data/lib/cimi/helpers.rb +1 -0
  27. data/lib/cimi/helpers/cimi_helper.rb +1 -1
  28. data/lib/cimi/helpers/cimi_rabbit_helper.rb +113 -0
  29. data/lib/cimi/helpers/database_helper.rb +1 -2
  30. data/lib/cimi/models.rb +12 -11
  31. data/lib/cimi/models/action.rb +0 -4
  32. data/lib/cimi/models/address.rb +0 -38
  33. data/lib/cimi/models/address_create.rb +0 -31
  34. data/lib/cimi/models/address_template.rb +0 -47
  35. data/lib/cimi/models/address_template_create.rb +0 -16
  36. data/lib/cimi/models/base.rb +2 -74
  37. data/lib/cimi/models/cloud_entry_point.rb +2 -30
  38. data/lib/cimi/models/collection.rb +8 -25
  39. data/lib/cimi/models/credential.rb +0 -34
  40. data/lib/cimi/models/credential_create.rb +0 -26
  41. data/lib/cimi/models/credential_template.rb +0 -2
  42. data/lib/cimi/models/disk.rb +0 -56
  43. data/lib/cimi/models/forwarding_group.rb +0 -8
  44. data/lib/cimi/models/forwarding_group_template.rb +0 -8
  45. data/lib/cimi/models/machine.rb +4 -129
  46. data/lib/cimi/models/machine_configuration.rb +0 -31
  47. data/lib/cimi/models/machine_create.rb +1 -29
  48. data/lib/cimi/models/machine_image.rb +0 -28
  49. data/lib/cimi/models/machine_image_create.rb +0 -19
  50. data/lib/cimi/models/machine_template.rb +5 -39
  51. data/lib/cimi/models/machine_template_create.rb +0 -12
  52. data/lib/cimi/models/machine_volume.rb +0 -65
  53. data/lib/cimi/models/network.rb +0 -32
  54. data/lib/cimi/models/network_configuration.rb +0 -15
  55. data/lib/cimi/models/network_create.rb +0 -23
  56. data/lib/cimi/models/network_port.rb +0 -73
  57. data/lib/cimi/models/network_port_configuration.rb +0 -8
  58. data/lib/cimi/models/network_port_template.rb +0 -8
  59. data/lib/cimi/models/network_template.rb +2 -12
  60. data/lib/cimi/models/resource.rb +0 -6
  61. data/lib/cimi/models/resource_metadata.rb +1 -95
  62. data/lib/cimi/models/schema.rb +28 -32
  63. data/lib/cimi/models/system.rb +15 -39
  64. data/lib/cimi/models/system_address.rb +26 -0
  65. data/lib/cimi/models/system_create.rb +20 -0
  66. data/lib/cimi/models/system_credential.rb +26 -0
  67. data/lib/cimi/models/system_forwarding_group.rb +26 -0
  68. data/lib/cimi/models/system_machine.rb +26 -0
  69. data/lib/cimi/models/system_network.rb +26 -0
  70. data/lib/cimi/models/system_network_port.rb +26 -0
  71. data/lib/cimi/models/system_system.rb +26 -0
  72. data/lib/cimi/models/system_template.rb +15 -31
  73. data/lib/cimi/models/system_volume.rb +26 -0
  74. data/lib/cimi/models/volume.rb +0 -59
  75. data/lib/cimi/models/volume_configuration.rb +1 -64
  76. data/lib/cimi/models/volume_configuration_create.rb +22 -0
  77. data/lib/cimi/models/volume_create.rb +0 -38
  78. data/lib/cimi/models/volume_image.rb +0 -30
  79. data/lib/cimi/models/volume_image_create.rb +0 -25
  80. data/lib/cimi/models/volume_template.rb +2 -43
  81. data/lib/cimi/models/volume_template_create.rb +0 -12
  82. data/lib/cimi/service.rb +82 -0
  83. data/lib/cimi/service/action.rb +21 -0
  84. data/lib/cimi/service/address.rb +56 -0
  85. data/lib/cimi/service/address_create.rb +45 -0
  86. data/lib/cimi/service/address_template.rb +71 -0
  87. data/lib/cimi/service/address_template_create.rb +34 -0
  88. data/lib/cimi/service/base.rb +266 -0
  89. data/lib/cimi/service/cloud_entry_point.rb +53 -0
  90. data/lib/cimi/service/credential.rb +52 -0
  91. data/lib/cimi/service/credential_create.rb +38 -0
  92. data/lib/cimi/service/credential_template.rb +20 -0
  93. data/lib/cimi/service/disk.rb +75 -0
  94. data/lib/cimi/service/forwarding_group.rb +26 -0
  95. data/lib/cimi/service/forwarding_group_template.rb +26 -0
  96. data/lib/cimi/service/machine.rb +154 -0
  97. data/lib/cimi/service/machine_configuration.rb +54 -0
  98. data/lib/cimi/service/machine_create.rb +49 -0
  99. data/lib/cimi/service/machine_image.rb +47 -0
  100. data/lib/cimi/service/machine_image_create.rb +35 -0
  101. data/lib/cimi/service/machine_template.rb +61 -0
  102. data/lib/cimi/service/machine_template_create.rb +29 -0
  103. data/lib/cimi/service/machine_volume.rb +74 -0
  104. data/lib/cimi/service/network.rb +51 -0
  105. data/lib/cimi/service/network_configuration.rb +36 -0
  106. data/lib/cimi/service/network_create.rb +39 -0
  107. data/lib/cimi/service/network_port.rb +97 -0
  108. data/lib/cimi/service/network_port_configuration.rb +26 -0
  109. data/lib/cimi/service/network_port_template.rb +26 -0
  110. data/lib/cimi/service/network_template.rb +28 -0
  111. data/lib/cimi/service/resource_metadata.rb +44 -0
  112. data/lib/cimi/service/system.rb +45 -0
  113. data/lib/cimi/service/system_address.rb +34 -0
  114. data/lib/cimi/service/system_create.rb +39 -0
  115. data/lib/cimi/service/system_credential.rb +34 -0
  116. data/lib/cimi/service/system_forwarding_group.rb +34 -0
  117. data/lib/cimi/service/system_machine.rb +34 -0
  118. data/lib/cimi/service/system_network.rb +34 -0
  119. data/lib/cimi/service/system_network_port.rb +34 -0
  120. data/lib/cimi/service/system_system.rb +34 -0
  121. data/lib/cimi/service/system_template.rb +32 -0
  122. data/lib/cimi/service/system_volume.rb +34 -0
  123. data/lib/cimi/service/volume.rb +81 -0
  124. data/lib/cimi/service/volume_configuration.rb +92 -0
  125. data/lib/cimi/service/volume_configuration_create.rb +29 -0
  126. data/lib/cimi/service/volume_create.rb +47 -0
  127. data/lib/cimi/service/volume_image.rb +44 -0
  128. data/lib/cimi/service/volume_image_create.rb +42 -0
  129. data/lib/cimi/service/volume_template.rb +61 -0
  130. data/lib/cimi/service/volume_template_create.rb +29 -0
  131. data/lib/db/entity.rb +16 -1
  132. data/lib/deltacloud/collections/addresses.rb +2 -2
  133. data/lib/deltacloud/collections/buckets.rb +16 -18
  134. data/lib/deltacloud/collections/drivers.rb +4 -4
  135. data/lib/deltacloud/collections/firewalls.rb +5 -5
  136. data/lib/deltacloud/collections/images.rb +3 -3
  137. data/lib/deltacloud/collections/instance_states.rb +4 -4
  138. data/lib/deltacloud/collections/instances.rb +22 -13
  139. data/lib/deltacloud/collections/keys.rb +2 -2
  140. data/lib/deltacloud/collections/load_balancers.rb +16 -13
  141. data/lib/deltacloud/collections/storage_snapshots.rb +3 -3
  142. data/lib/deltacloud/collections/storage_volumes.rb +5 -5
  143. data/lib/deltacloud/core_ext/ordered_hash.rb +0 -4
  144. data/lib/deltacloud/drivers/fgcp/fgcp_client.rb +8 -0
  145. data/lib/deltacloud/drivers/fgcp/fgcp_driver.rb +4 -3
  146. data/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb +266 -19
  147. data/lib/deltacloud/drivers/google/google_driver.rb +6 -0
  148. data/lib/deltacloud/drivers/mock/mock_driver.rb +2 -2
  149. data/lib/deltacloud/drivers/mock/mock_driver_cimi_methods.rb +166 -54
  150. data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +2 -0
  151. data/lib/deltacloud/helpers/blob_stream_helper.rb +0 -2
  152. data/lib/deltacloud/helpers/deltacloud_helper.rb +22 -22
  153. data/lib/deltacloud/helpers/driver_helper.rb +4 -7
  154. data/lib/deltacloud/helpers/rabbit_helper.rb +5 -0
  155. data/lib/deltacloud/server.rb +4 -4
  156. data/lib/deltacloud/version.rb +1 -1
  157. data/lib/deltacloud_rack.rb +6 -1
  158. data/lib/ec2/server.rb +6 -1
  159. data/tests/cimi/collections/common.rb +33 -0
  160. data/tests/cimi/collections/machines_test.rb +19 -0
  161. data/tests/cimi/collections/system_templates_test.rb +47 -0
  162. data/tests/cimi/collections/volumes_test.rb +42 -0
  163. data/tests/cimi/db/database_helper_test.rb +7 -4
  164. data/tests/deltacloud/drivers_test.rb +1 -1
  165. data/tests/drivers/ec2/common.rb +4 -1
  166. data/tests/drivers/fgcp/common.rb +1 -2
  167. data/tests/drivers/gogrid/common.rb +1 -2
  168. data/tests/drivers/google/common.rb +1 -1
  169. data/tests/drivers/models/address_test.rb +2 -2
  170. data/tests/drivers/models/base_test.rb +2 -2
  171. data/tests/drivers/models/blob_test.rb +2 -2
  172. data/tests/drivers/models/instance_address_test.rb +8 -8
  173. data/tests/drivers/models/instance_profile_test.rb +2 -2
  174. data/tests/drivers/models/keys_test.rb +4 -4
  175. data/tests/drivers/models/metrics_test.rb +3 -3
  176. data/tests/drivers/openstack/common.rb +1 -2
  177. data/views/addresses/_address.html.haml +3 -3
  178. data/views/addresses/associate.html.haml +3 -3
  179. data/views/addresses/index.html.haml +2 -2
  180. data/views/addresses/index.xml.haml +2 -2
  181. data/views/addresses/show.html.haml +7 -7
  182. data/views/addresses/show.xml.haml +9 -9
  183. data/views/api/show.html.haml +2 -2
  184. data/views/api/show.xml.haml +1 -1
  185. data/views/blobs/new.html.haml +1 -1
  186. data/views/blobs/show.html.haml +8 -8
  187. data/views/blobs/show.xml.haml +7 -7
  188. data/views/buckets/index.html.haml +1 -1
  189. data/views/buckets/index.xml.haml +2 -2
  190. data/views/buckets/show.html.haml +7 -7
  191. data/views/buckets/show.xml.haml +6 -6
  192. data/views/drivers/index.html.haml +1 -1
  193. data/views/drivers/index.xml.haml +1 -1
  194. data/views/drivers/show.html.haml +6 -6
  195. data/views/drivers/show.xml.haml +5 -5
  196. data/views/error.html.haml +2 -2
  197. data/views/errors/backend_capability_failure.xml.haml +3 -3
  198. data/views/errors/common.html.haml +7 -7
  199. data/views/errors/common.xml.haml +5 -5
  200. data/views/firewalls/index.html.haml +1 -1
  201. data/views/firewalls/index.xml.haml +1 -1
  202. data/views/firewalls/new_rule.html.haml +1 -1
  203. data/views/firewalls/show.html.haml +8 -8
  204. data/views/firewalls/show.xml.haml +9 -9
  205. data/views/hardware_profiles/index.html.haml +1 -1
  206. data/views/hardware_profiles/index.xml.haml +2 -2
  207. data/views/hardware_profiles/show.html.haml +3 -3
  208. data/views/hardware_profiles/show.xml.haml +4 -4
  209. data/views/images/index.html.haml +1 -1
  210. data/views/images/index.xml.haml +2 -2
  211. data/views/images/new.html.haml +2 -2
  212. data/views/images/show.html.haml +14 -14
  213. data/views/images/show.xml.haml +14 -14
  214. data/views/instance_states/show.html.haml +1 -1
  215. data/views/instance_states/show.png.erb +2 -2
  216. data/views/instance_states/show.xml.haml +1 -1
  217. data/views/instances/index.html.haml +1 -1
  218. data/views/instances/index.xml.haml +2 -2
  219. data/views/instances/new.html.haml +22 -14
  220. data/views/instances/run.html.haml +2 -2
  221. data/views/instances/run.xml.haml +3 -3
  222. data/views/instances/run_command.html.haml +4 -4
  223. data/views/instances/show.html.haml +27 -27
  224. data/views/instances/show.xml.haml +37 -37
  225. data/views/keys/index.html.haml +1 -1
  226. data/views/keys/index.xml.haml +2 -2
  227. data/views/keys/show.html.haml +10 -10
  228. data/views/keys/show.xml.haml +12 -12
  229. data/views/load_balancers/index.html.haml +1 -1
  230. data/views/load_balancers/index.xml.haml +2 -2
  231. data/views/load_balancers/new.html.haml +1 -8
  232. data/views/load_balancers/show.html.haml +10 -10
  233. data/views/load_balancers/show.xml.haml +9 -9
  234. data/views/metrics/index.html.haml +1 -1
  235. data/views/metrics/index.xml.haml +2 -2
  236. data/views/metrics/show.html.haml +2 -2
  237. data/views/metrics/show.xml.haml +3 -3
  238. data/views/realms/index.html.haml +1 -1
  239. data/views/realms/index.xml.haml +2 -2
  240. data/views/realms/show.html.haml +6 -6
  241. data/views/realms/show.xml.haml +5 -5
  242. data/views/storage_snapshots/index.html.haml +1 -1
  243. data/views/storage_snapshots/index.xml.haml +2 -2
  244. data/views/storage_snapshots/show.html.haml +6 -6
  245. data/views/storage_snapshots/show.xml.haml +4 -4
  246. data/views/storage_volumes/attach.html.haml +2 -2
  247. data/views/storage_volumes/index.html.haml +1 -1
  248. data/views/storage_volumes/index.xml.haml +2 -2
  249. data/views/storage_volumes/show.html.haml +19 -19
  250. data/views/storage_volumes/show.xml.haml +21 -21
  251. metadata +77 -65
  252. data/views/cimi/cloudEntryPoint/index.html.haml +0 -5
  253. data/views/cimi/cloudEntryPoint/index.xml.haml +0 -9
  254. data/views/cimi/collection/index.html.haml +0 -45
  255. data/views/cimi/collection/response.xml.haml +0 -3
  256. data/views/cimi/error.html.haml +0 -31
  257. data/views/cimi/errors/400.xml.haml +0 -3
  258. data/views/cimi/errors/401.xml.haml +0 -2
  259. data/views/cimi/errors/403.xml.haml +0 -2
  260. data/views/cimi/errors/404.xml.haml +0 -2
  261. data/views/cimi/errors/405.xml.haml +0 -5
  262. data/views/cimi/errors/500.xml.haml +0 -6
  263. data/views/cimi/errors/502.xml.haml +0 -7
  264. data/views/cimi/layout.html.haml +0 -32
  265. data/views/cimi/machine_configurations/show.html.haml +0 -159
  266. data/views/cimi/machine_configurations/show.xml.haml +0 -27
  267. data/views/cimi/machine_images/show.html.haml +0 -79
  268. data/views/cimi/machine_images/show.xml.haml +0 -17
  269. data/views/cimi/machines/show.html.haml +0 -177
  270. data/views/cimi/machines/show.xml.haml +0 -28
  271. data/views/cimi/volumes/show.html.haml +0 -68
  272. data/views/cimi/volumes/show.xml.haml +0 -17
  273. data/views/docs/collection.html.haml +0 -26
  274. data/views/docs/collection.xml.haml +0 -14
  275. data/views/docs/index.html.haml +0 -11
  276. data/views/docs/index.xml.haml +0 -5
  277. data/views/docs/operation.html.haml +0 -33
  278. data/views/docs/operation.xml.haml +0 -10
  279. data/views/root/index.html.haml +0 -4
@@ -6,18 +6,11 @@
6
6
  %label
7
7
  Name:
8
8
  %input{ :name => 'name', :size => 30 }/
9
- -if @instances
10
- %p
11
- %label
12
- Running instance:
13
- %select{ :name => 'instance_id'}
14
- - @instances.select{|i| i.state=="RUNNING"}.each do |instance|
15
- %option{ :value => instance.id } #{instance.id}
16
9
  %p
17
10
  %label
18
11
  Realm:
19
12
  %select{ :name => 'realm_id'}
20
- - @realms.each do |realm|
13
+ - realms.each do |realm|
21
14
  %option{ :value => realm.id } #{realm.id} - #{realm.name}
22
15
  %hr
23
16
  %p
@@ -1,39 +1,39 @@
1
1
  =header "Load balancer"
2
- =subheader @load_balancer.id
2
+ =subheader load_balancer.id
3
3
 
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'} Created at
7
7
  %li
8
- %p{ :'data-role' => 'fieldcontain'}=@load_balancer.created_at
8
+ %p{ :'data-role' => 'fieldcontain'}=load_balancer.created_at
9
9
  %li{ :'data-role' => 'list-divider'} Public addresses
10
- - @load_balancer.public_addresses.each do |address|
10
+ - load_balancer.public_addresses.each do |address|
11
11
  %li
12
12
  %p{ :'data-role' => 'fieldcontain'}=address
13
13
  %li{ :'data-role' => 'list-divider'} Realms
14
- - @load_balancer.realms.each do |realm|
14
+ - load_balancer.realms.each do |realm|
15
15
  %li
16
16
  %a{ :href => realm_url(realm.id), :'data-ajax' => 'false'}
17
17
  %h3=realm.name
18
18
  %li{ :'data-role' => 'list-divider'} Registered Instances
19
- - @registered_instances.each do |instance|
19
+ - registered_instances.each do |instance|
20
20
  %li
21
21
  %a{ :href => instance_url(instance[:id]), :'data-ajax' => 'false'}
22
22
  %h3=instance[:name]
23
- =link_to_action "Unregister", url_for("load_balancers/#{@load_balancer.id}/unregister?instance_id=#{instance[:id]}"), :post
23
+ =link_to_action "Unregister", url_for("load_balancers/#{load_balancer.id}/unregister?instance_id=#{instance[:id]}"), :post
24
24
  %li{ :'data-role' => 'list-divider'} Unregistered Instances
25
- - @unregistered_instances.each do |instance|
25
+ - unregistered_instances.each do |instance|
26
26
  %li
27
27
  %a{:href => instance_url(instance[:id]), :'data-ajax' => 'false'}
28
28
  %h3=instance[:name]
29
- =link_to_action "Register", url_for("load_balancers/#{@load_balancer.id}/register?instance_id=#{instance[:id]}"), :post
29
+ =link_to_action "Register", url_for("load_balancers/#{load_balancer.id}/register?instance_id=#{instance[:id]}"), :post
30
30
  %li{ :'data-role' => 'list-divider'} Actions
31
31
  %li
32
- =link_to_action "Destroy", url_for("load_balancers/#{@load_balancer.id}"), :delete
32
+ =link_to_action "Destroy", url_for("load_balancers/#{load_balancer.id}"), :delete
33
33
 
34
34
  =header "Listeners", :back => 'false'
35
35
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
36
- - @load_balancer.listeners.each do |listener|
36
+ - load_balancer.listeners.each do |listener|
37
37
  %li{ :'data-role' => 'list-divider'} Load balancer port
38
38
  %li
39
39
  %p{ :'data-role' => 'fieldcontain'}=listener.load_balancer_port
@@ -1,21 +1,21 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
- %load_balancer{ :href => load_balancer_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
- %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)}
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)}
7
7
  %public_addresses
8
- - @load_balancer.public_addresses.each do |address|
8
+ - load_balancer.public_addresses.each do |address|
9
9
  %address #{address}
10
10
  %created_at<
11
- = @load_balancer.created_at
12
- %realm{ :href => realm_url(@load_balancer.realms.first.id), :id => @load_balancer.realms.first.id}
11
+ = load_balancer.created_at
12
+ %realm{ :href => realm_url(load_balancer.realms.first.id), :id => load_balancer.realms.first.id}
13
13
  %listeners
14
- - @load_balancer.listeners.each do |listener|
14
+ - load_balancer.listeners.each do |listener|
15
15
  %listener{ :protocol => listener.protocol}
16
16
  %load_balancer_port #{listener.load_balancer_port}
17
17
  %instance_port #{listener.instance_port}
18
18
  %instances
19
- - @load_balancer.instances.each do |instance|
19
+ - load_balancer.instances.each do |instance|
20
20
  %instance{:href => instance_url(instance.id), :id => instance.id}
21
- %link{:rel => "unregister", :href => unregister_load_balancer_url(@load_balancer.id, { :instance_id => instance.id})}
21
+ %link{:rel => "unregister", :href => unregister_load_balancer_url(load_balancer.id, { :instance_id => instance.id})}
@@ -4,7 +4,7 @@
4
4
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
5
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
6
6
  %li{ :'data-role' => 'list-divider'}=driver_symbol
7
- - @metrics.each do |metric|
7
+ - elements.each do |metric|
8
8
  %li
9
9
  %a{ :href => metric_url(metric.id), :'data-ajax' => 'false'}
10
10
  %img{ :class => 'ui-link-thumb', :src => '/images/metric.png'}
@@ -1,5 +1,5 @@
1
1
  - unless defined?(partial)
2
2
  !!!XML
3
3
  %metrics
4
- - @elements.each do |c|
5
- = haml :'metrics/show', :locals => { :@metric => c, :partial => true}
4
+ - elements.each do |c|
5
+ = haml :'metrics/show', :locals => { :metric => c, :partial => true}
@@ -1,9 +1,9 @@
1
1
  =header Metric
2
- =subheader @metric.id
2
+ =subheader metric.id
3
3
 
4
4
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
5
  %div{ :'data-role' => :'collapsible-set'}
6
- - @metric.properties.each do |p|
6
+ - metric.properties.each do |p|
7
7
  %div{ :'data-role' => :'collapsible', :'data-collapse' => 'true'}
8
8
  %h3=p.name
9
9
  %table{ :summary => "#{p.name} values"}
@@ -1,10 +1,10 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
- %metric{:href => metric_url(@metric.id), :id => @metric.id}
3
+ %metric{:href => metric_url(metric.id), :id => metric.id}
4
4
  -haml_tag(:entity, :<) do
5
- -haml_concat @metric.send(:entity) || @metric.send(:id)
5
+ -haml_concat metric.send(:entity) || metric.send(:id)
6
6
  %properties
7
- -@metric.properties.each do |prop|
7
+ -metric.properties.each do |prop|
8
8
  -haml_tag(prop.name, :<) do
9
9
  - if prop.values
10
10
  - prop.values.each do |p|
@@ -4,7 +4,7 @@
4
4
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
5
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
6
6
  %li{ :'data-role' => 'list-divider'}=driver_symbol
7
- - @realms.each do |realm|
7
+ - elements.each do |realm|
8
8
  %li
9
9
  %a{ :href => realm_url(realm.id), :'data-ajax' => 'false'}
10
10
  %img{ :class => 'ui-link-thumb', :src => '/images/realm.png'}
@@ -1,4 +1,4 @@
1
1
  !!!XML
2
2
  %realms
3
- - @elements.each do |c|
4
- = haml :'realms/show', :locals => { :@realm => c, :partial => true }
3
+ - elements.each do |c|
4
+ = haml :'realms/show', :locals => { :realm => c, :partial => true }
@@ -1,17 +1,17 @@
1
- =header Realm
2
- =subheader @realm.id
1
+ =header 'Realm'
2
+ =subheader realm.id
3
3
 
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'} Identifier
7
7
  %li
8
- %p{ :'data-role' => 'fieldcontain'}=@realm.id
8
+ %p{ :'data-role' => 'fieldcontain'}=realm.id
9
9
  %li{ :'data-role' => 'list-divider'} Name
10
10
  %li
11
- %p{ :'data-role' => 'fieldcontain'}=@realm.name
11
+ %p{ :'data-role' => 'fieldcontain'}=realm.name
12
12
  %li{ :'data-role' => 'list-divider'} State
13
13
  %li
14
- %p{ :'data-role' => 'fieldcontain'}=@realm.state
14
+ %p{ :'data-role' => 'fieldcontain'}=realm.state
15
15
  %li{ :'data-role' => 'list-divider'} Limit
16
16
  %li
17
- %p{ :'data-role' => 'fieldcontain'}=@realm.limit
17
+ %p{ :'data-role' => 'fieldcontain'}=realm.limit
@@ -1,11 +1,11 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
- %realm{:href => realm_url(@realm.id), :id => @realm.id }
3
+ %realm{:href => realm_url(realm.id), :id => realm.id }
4
4
  %name<
5
- =@realm.name
5
+ =realm.name
6
6
  %state<
7
- =@realm.state
8
- - unless @realm.limit.eql?(:unlimited)
7
+ =realm.state
8
+ - unless realm.limit.eql?(:unlimited)
9
9
  %limit<
10
10
  =cdata do
11
- =@realm.limit
11
+ =realm.limit
@@ -3,7 +3,7 @@
3
3
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
4
4
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
5
5
  %li{ :'data-role' => 'list-divider'}=driver_symbol
6
- - @storage_snapshots.each do |snapshot|
6
+ - elements.each do |snapshot|
7
7
  %li
8
8
  %a{ :href => storage_snapshot_url(snapshot.id), :'data-ajax' => 'false'}
9
9
  %img{ :class => 'ui-link-thumb', :src => '/images/snapshot.png'}
@@ -1,4 +1,4 @@
1
1
  !!!XML
2
2
  %storage_snapshots
3
- - @elements.each do |c|
4
- = haml :'storage_snapshots/show', :locals => { :@storage_snapshot => c, :partial => true }
3
+ - elements.each do |c|
4
+ = haml :'storage_snapshots/show', :locals => { :storage_snapshot => c, :partial => true }
@@ -1,22 +1,22 @@
1
1
  =header "Storage snapshot"
2
- =subheader @storage_snapshot.id
2
+ =subheader storage_snapshot.id
3
3
 
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
7
  %li
8
- %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.id
8
+ %p{ :'data-role' => 'fieldcontain'}=storage_snapshot.id
9
9
  %li{ :'data-role' => 'list-divider'} Storage volume
10
10
  %li
11
- %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.storage_volume_id
11
+ %p{ :'data-role' => 'fieldcontain'}=storage_snapshot.storage_volume_id
12
12
  %li{ :'data-role' => 'list-divider'} Created
13
13
  %li
14
- %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.created
14
+ %p{ :'data-role' => 'fieldcontain'}=storage_snapshot.created
15
15
  %li{ :'data-role' => 'list-divider'} State
16
16
  %li
17
- %p{ :'data-role' => 'fieldcontain'}=@storage_snapshot.state
17
+ %p{ :'data-role' => 'fieldcontain'}=storage_snapshot.state
18
18
  %li{ :'data-role' => 'list-divider'} Actions
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", url_for("storage_snapshots/#{@storage_snapshot.id}"), :delete
22
+ =link_to_action "Delete", url_for("storage_snapshots/#{storage_snapshot.id}"), :delete
@@ -1,7 +1,7 @@
1
1
  - unless defined?(partial)
2
2
  !!! XML
3
- %storage_snapshot{:href => storage_snapshot_url(@storage_snapshot.id), :id => @storage_snapshot.id }
4
- %name=@storage_snapshot.id
3
+ %storage_snapshot{:href => storage_snapshot_url(storage_snapshot.id), :id => storage_snapshot.id }
4
+ %name=storage_snapshot.id
5
5
  %created<
6
- =@storage_snapshot.created
7
- %storage_volume{:href => storage_volume_url(@storage_snapshot.storage_volume_id), :id => @storage_snapshot.storage_volume_id}
6
+ =storage_snapshot.created
7
+ %storage_volume{:href => storage_volume_url(storage_snapshot.storage_volume_id), :id => storage_snapshot.storage_volume_id}
@@ -4,12 +4,12 @@
4
4
  %p
5
5
  %label
6
6
  Instance ID:
7
- - if @instances.empty?
7
+ - if instances.empty?
8
8
  %select
9
9
  %option There are no instances
10
10
  - else
11
11
  %select{ :name => 'instance_id' }
12
- - @instances.each do |i|
12
+ - instances.each do |i|
13
13
  %option{ :value => "#{i.id}"} #{i.name}
14
14
  %p
15
15
  %label
@@ -4,7 +4,7 @@
4
4
  %div{ :'data-role' => :content, :'data-theme' => 'c'}
5
5
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
6
6
  %li{ :'data-role' => 'list-divider'}=driver_symbol
7
- - @storage_volumes.each do |volume|
7
+ - elements.each do |volume|
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'}
@@ -1,4 +1,4 @@
1
1
  !!!XML
2
2
  %storage_volumes
3
- - @elements.each do |volume|
4
- = haml :'storage_volumes/show', :locals => { :@storage_volume => volume, :partial => true }
3
+ - elements.each do |volume|
4
+ = haml :'storage_volumes/show', :locals => { :storage_volume => volume, :partial => true }
@@ -1,43 +1,43 @@
1
1
  =header "Storage volume"
2
- =subheader @storage_volume.id
2
+ =subheader storage_volume.id
3
3
 
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
+ %p{ :'data-role' => 'fieldcontain'}=storage_volume.id
8
8
  %li
9
- %p{ :'data-role' => 'fieldcontain'}=(@storage_volume.name ? @storage_volume.name : @storage_volume.id)
9
+ %p{ :'data-role' => 'fieldcontain'}=(storage_volume.name ? storage_volume.name : storage_volume.id)
10
10
  %li{ :'data-role' => 'list-divider'} Created
11
11
  %li
12
- %p{ :'data-role' => 'fieldcontain'}=@storage_volume.created
12
+ %p{ :'data-role' => 'fieldcontain'}=storage_volume.created
13
13
  %li{ :'data-role' => 'list-divider'} Capacity
14
14
  %li
15
- %p{ :'data-role' => 'fieldcontain'}=@storage_volume.capacity
15
+ %p{ :'data-role' => 'fieldcontain'}=storage_volume.capacity
16
16
  %li{ :'data-role' => 'list-divider'} Realm
17
17
  %li
18
- %p{ :'data-role' => 'fieldcontain'}=@storage_volume.realm_id
18
+ %p{ :'data-role' => 'fieldcontain'}=storage_volume.realm_id
19
19
  %li{ :'data-role' => 'list-divider'} State
20
20
  %li
21
- %p{ :'data-role' => 'fieldcontain'}=@storage_volume.state
21
+ %p{ :'data-role' => 'fieldcontain'}=storage_volume.state
22
22
  %li{ :'data-role' => 'list-divider'} Attached to
23
23
  %li
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 and @storage_volume.state != "IN-USE"
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 and storage_volume.state != "IN-USE"
28
28
  %p{ :'data-role' => 'fieldcontain'}= 'none (detached)'
29
29
  -else
30
30
  %p{ :'data-role' => 'fieldcontain'}= 'unknown'
31
31
  %li{ :'data-role' => 'list-divider'} Device
32
32
  %li
33
- %p{ :'data-role' => 'fieldcontain'}= @storage_volume.device
33
+ %p{ :'data-role' => 'fieldcontain'}= storage_volume.device
34
34
  %li{ :'data-role' => 'list-divider'} Actions
35
35
  %li
36
36
  %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
37
- - if ["AVAILABLE", "IN-USE"].include?(@storage_volume.state)
38
- =link_to_action "Snapshot...", url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
39
- - unless @storage_volume.instance_id
40
- =link_to_action "Delete", url_for("storage_volumes/#{@storage_volume.id}"), :delete
41
- =link_to_action "Attach...", url_for("storage_volumes/#{@storage_volume.id}/attach_instance"), :get
42
- - if @storage_volume.instance_id
43
- =link_to_action "Detach", url_for("storage_volumes/#{@storage_volume.id}/detach"), :post
37
+ - if ["AVAILABLE", "IN-USE"].include?(storage_volume.state)
38
+ =link_to_action "Snapshot...", url_for("storage_snapshots/new?volume_id=#{storage_volume.id}"), :get
39
+ - unless storage_volume.instance_id
40
+ =link_to_action "Delete", url_for("storage_volumes/#{storage_volume.id}"), :delete
41
+ =link_to_action "Attach...", url_for("storage_volumes/#{storage_volume.id}/attach_instance"), :get
42
+ - if storage_volume.instance_id
43
+ =link_to_action "Detach", url_for("storage_volumes/#{storage_volume.id}/detach"), :post
@@ -1,33 +1,33 @@
1
1
  - unless defined?(partial)
2
2
  !!!XML
3
- %storage_volume{ :href => storage_volume_url(@storage_volume.id), :id => @storage_volume.id}
4
- - if @storage_volume.created
3
+ %storage_volume{ :href => storage_volume_url(storage_volume.id), :id => storage_volume.id}
4
+ - if storage_volume.created
5
5
  %created<
6
- =@storage_volume.created
6
+ =storage_volume.created
7
7
  %capacity{ :unit => "GB" }<
8
- = @storage_volume.capacity
9
- - if @storage_volume.kind
8
+ = storage_volume.capacity
9
+ - if storage_volume.kind
10
10
  %kind<
11
- = @storage_volume.kind
11
+ = storage_volume.kind
12
12
  %name<
13
- = @storage_volume.name || @storage_volume.id
14
- - if @storage_volume.device
13
+ = storage_volume.name || storage_volume.id
14
+ - if storage_volume.device
15
15
  %device<
16
- = @storage_volume.device
17
- - if @storage_volume.realm_id
18
- %realm{:id => @storage_volume.realm_id, :href => realm_url(@storage_volume.realm_id)}
16
+ = storage_volume.device
17
+ - if storage_volume.realm_id
18
+ %realm{:id => storage_volume.realm_id, :href => realm_url(storage_volume.realm_id)}
19
19
  %realm_id<
20
- = @storage_volume.realm_id
21
- - if @storage_volume.state
20
+ = storage_volume.realm_id
21
+ - if storage_volume.state
22
22
  %state<
23
- = @storage_volume.state
23
+ = storage_volume.state
24
24
 
25
- - unless @storage_volume.instance_id.nil?
25
+ - unless storage_volume.instance_id.nil?
26
26
  %mount
27
- %instance{:href => instance_url(@storage_volume.instance_id), :id => @storage_volume.instance_id}
28
- - unless @storage_volume.device.nil?
29
- %device{ :name => @storage_volume.device }
30
- - if @storage_volume.actions
27
+ %instance{:href => instance_url(storage_volume.instance_id), :id => storage_volume.instance_id}
28
+ - unless storage_volume.device.nil?
29
+ %device{ :name => storage_volume.device }
30
+ - if storage_volume.actions
31
31
  %actions
32
- - @storage_volume.actions.each do |action|
33
- %link{:rel => action, :method => :post, :href => self.send("#{action}_storage_volume_url", @storage_volume.id)}
32
+ - storage_volume.actions.each do |action|
33
+ %link{:rel => action, :method => :post, :href => self.send("#{action}_storage_volume_url", storage_volume.id)}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deltacloud-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-18 00:00:00.000000000 Z
12
+ date: 2013-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -160,33 +160,33 @@ dependencies:
160
160
  requirement: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
163
- - - <=
163
+ - - ! '>='
164
164
  - !ruby/object:Gem::Version
165
- version: 1.3.3
165
+ version: '0'
166
166
  type: :runtime
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  none: false
170
170
  requirements:
171
- - - <=
171
+ - - ! '>='
172
172
  - !ruby/object:Gem::Version
173
- version: 1.3.3
173
+ version: '0'
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: sinatra
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  none: false
178
178
  requirements:
179
- - - <=
179
+ - - ! '>='
180
180
  - !ruby/object:Gem::Version
181
- version: 1.3.5
181
+ version: '0'
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  none: false
186
186
  requirements:
187
- - - <=
187
+ - - ! '>='
188
188
  - !ruby/object:Gem::Version
189
- version: 1.3.5
189
+ version: '0'
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: sqlite3
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -226,7 +226,7 @@ dependencies:
226
226
  requirements:
227
227
  - - ! '>='
228
228
  - !ruby/object:Gem::Version
229
- version: 0.0.17
229
+ version: 0.0.19
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
@@ -234,7 +234,7 @@ dependencies:
234
234
  requirements:
235
235
  - - ! '>='
236
236
  - !ruby/object:Gem::Version
237
- version: 0.0.17
237
+ version: 0.0.19
238
238
  - !ruby/object:Gem::Dependency
239
239
  name: aws
240
240
  requirement: !ruby/object:Gem::Requirement
@@ -315,28 +315,6 @@ dependencies:
315
315
  - - ! '>='
316
316
  - !ruby/object:Gem::Version
317
317
  version: 1.4.0
318
- - !ruby/object:Gem::Dependency
319
- name: excon
320
- requirement: !ruby/object:Gem::Requirement
321
- none: false
322
- requirements:
323
- - - ! '>='
324
- - !ruby/object:Gem::Version
325
- version: 0.14.2
326
- - - <
327
- - !ruby/object:Gem::Version
328
- version: 0.17.0
329
- type: :runtime
330
- prerelease: false
331
- version_requirements: !ruby/object:Gem::Requirement
332
- none: false
333
- requirements:
334
- - - ! '>='
335
- - !ruby/object:Gem::Version
336
- version: 0.14.2
337
- - - <
338
- - !ruby/object:Gem::Version
339
- version: 0.17.0
340
318
  - !ruby/object:Gem::Dependency
341
319
  name: rest-client
342
320
  requirement: !ruby/object:Gem::Requirement
@@ -468,6 +446,8 @@ files:
468
446
  - support/condor/config/50condor_cloud_node.config
469
447
  - lib/db.rb
470
448
  - lib/deltacloud_rack.rb
449
+ - lib/initialize.rb
450
+ - lib/sinatra.rb
471
451
  - lib/ec2/helpers.rb
472
452
  - lib/ec2/server.rb
473
453
  - lib/ec2/query_parser.rb
@@ -478,12 +458,14 @@ files:
478
458
  - lib/cimi/dependencies.rb
479
459
  - lib/cimi/models.rb
480
460
  - lib/cimi/helpers/select_helper.rb
461
+ - lib/cimi/helpers/cimi_rabbit_helper.rb
481
462
  - lib/cimi/helpers/cimi_helper.rb
482
463
  - lib/cimi/helpers/database_helper.rb
483
464
  - lib/cimi/helpers/filter_helper.rb
484
465
  - lib/cimi/models/volume_image.rb
485
466
  - lib/cimi/models/system_template.rb
486
467
  - lib/cimi/models/network_port_configuration.rb
468
+ - lib/cimi/models/system_forwarding_group.rb
487
469
  - lib/cimi/models/credential_create.rb
488
470
  - lib/cimi/models/machine_template_create.rb
489
471
  - lib/cimi/models/volume_create.rb
@@ -493,8 +475,10 @@ files:
493
475
  - lib/cimi/models/volume_template_create.rb
494
476
  - lib/cimi/models/system.rb
495
477
  - lib/cimi/models/address_template_create.rb
478
+ - lib/cimi/models/volume_configuration_create.rb
496
479
  - lib/cimi/models/volume.rb
497
480
  - lib/cimi/models/volume_image_create.rb
481
+ - lib/cimi/models/system_volume.rb
498
482
  - lib/cimi/models/base.rb
499
483
  - lib/cimi/models/machine_configuration.rb
500
484
  - lib/cimi/models/collection.rb
@@ -502,12 +486,16 @@ files:
502
486
  - lib/cimi/models/machine_template.rb
503
487
  - lib/cimi/models/network_port.rb
504
488
  - lib/cimi/models/forwarding_group_template.rb
489
+ - lib/cimi/models/system_network_port.rb
490
+ - lib/cimi/models/system_network.rb
505
491
  - lib/cimi/models/resource.rb
506
492
  - lib/cimi/models/credential_template.rb
507
493
  - lib/cimi/models/machine.rb
508
494
  - lib/cimi/models/volume_configuration.rb
509
495
  - lib/cimi/models/cloud_entry_point.rb
496
+ - lib/cimi/models/system_machine.rb
510
497
  - lib/cimi/models/network_configuration.rb
498
+ - lib/cimi/models/system_create.rb
511
499
  - lib/cimi/models/address_template.rb
512
500
  - lib/cimi/models/action.rb
513
501
  - lib/cimi/models/machine_image.rb
@@ -520,9 +508,60 @@ files:
520
508
  - lib/cimi/models/address_create.rb
521
509
  - lib/cimi/models/network_template.rb
522
510
  - lib/cimi/models/disk.rb
511
+ - lib/cimi/models/system_address.rb
512
+ - lib/cimi/models/system_credential.rb
523
513
  - lib/cimi/models/errors.rb
524
514
  - lib/cimi/models/machine_volume.rb
525
515
  - lib/cimi/models/resource_metadata.rb
516
+ - lib/cimi/models/system_system.rb
517
+ - lib/cimi/service/volume_image.rb
518
+ - lib/cimi/service/system_template.rb
519
+ - lib/cimi/service/network_port_configuration.rb
520
+ - lib/cimi/service/system_forwarding_group.rb
521
+ - lib/cimi/service/credential_create.rb
522
+ - lib/cimi/service/machine_template_create.rb
523
+ - lib/cimi/service/volume_create.rb
524
+ - lib/cimi/service/network.rb
525
+ - lib/cimi/service/network_create.rb
526
+ - lib/cimi/service/forwarding_group.rb
527
+ - lib/cimi/service/volume_template_create.rb
528
+ - lib/cimi/service/system.rb
529
+ - lib/cimi/service/address_template_create.rb
530
+ - lib/cimi/service/volume_configuration_create.rb
531
+ - lib/cimi/service/volume.rb
532
+ - lib/cimi/service/volume_image_create.rb
533
+ - lib/cimi/service/system_volume.rb
534
+ - lib/cimi/service/base.rb
535
+ - lib/cimi/service/machine_configuration.rb
536
+ - lib/cimi/service/volume_template.rb
537
+ - lib/cimi/service/machine_template.rb
538
+ - lib/cimi/service/network_port.rb
539
+ - lib/cimi/service/forwarding_group_template.rb
540
+ - lib/cimi/service/system_network_port.rb
541
+ - lib/cimi/service/system_network.rb
542
+ - lib/cimi/service/credential_template.rb
543
+ - lib/cimi/service/machine.rb
544
+ - lib/cimi/service/volume_configuration.rb
545
+ - lib/cimi/service/cloud_entry_point.rb
546
+ - lib/cimi/service/system_machine.rb
547
+ - lib/cimi/service/network_configuration.rb
548
+ - lib/cimi/service/system_create.rb
549
+ - lib/cimi/service/address_template.rb
550
+ - lib/cimi/service/action.rb
551
+ - lib/cimi/service/machine_image.rb
552
+ - lib/cimi/service/machine_create.rb
553
+ - lib/cimi/service/address.rb
554
+ - lib/cimi/service/credential.rb
555
+ - lib/cimi/service/network_port_template.rb
556
+ - lib/cimi/service/machine_image_create.rb
557
+ - lib/cimi/service/address_create.rb
558
+ - lib/cimi/service/network_template.rb
559
+ - lib/cimi/service/disk.rb
560
+ - lib/cimi/service/system_address.rb
561
+ - lib/cimi/service/system_credential.rb
562
+ - lib/cimi/service/machine_volume.rb
563
+ - lib/cimi/service/resource_metadata.rb
564
+ - lib/cimi/service/system_system.rb
526
565
  - lib/cimi/collections.rb
527
566
  - lib/cimi/collections/machine_templates.rb
528
567
  - lib/cimi/collections/credentials.rb
@@ -548,6 +587,7 @@ files:
548
587
  - lib/cimi/collections/volumes.rb
549
588
  - lib/cimi/collections/machine_configurations.rb
550
589
  - lib/cimi/collections/network_port_templates.rb
590
+ - lib/cimi/service.rb
551
591
  - lib/sinatra/rack_accept.rb
552
592
  - lib/sinatra/rack_driver_select.rb
553
593
  - lib/sinatra/rack_date.rb
@@ -649,8 +689,6 @@ files:
649
689
  - lib/deltacloud/drivers/cimi_features.rb
650
690
  - lib/deltacloud/drivers/exceptions.rb
651
691
  - lib/deltacloud/drivers/terremark/terremark_driver.rb
652
- - lib/initialize.rb
653
- - lib/sinatra.rb
654
692
  - lib/db/volume_template.rb
655
693
  - lib/db/machine_template.rb
656
694
  - lib/db/volume_configuration.rb
@@ -718,6 +756,7 @@ files:
718
756
  - tests/cimi/spec_helper.rb
719
757
  - tests/cimi/collections/system_templates_test.rb
720
758
  - tests/cimi/collections/machine_templates_test.rb
759
+ - tests/cimi/collections/volumes_test.rb
721
760
  - tests/cimi/collections/systems_test.rb
722
761
  - tests/cimi/collections/common.rb
723
762
  - tests/cimi/collections/cloud_entry_point_test.rb
@@ -823,12 +862,6 @@ files:
823
862
  - views/api/show.html.haml
824
863
  - views/instance_states/show.xml.haml
825
864
  - views/instance_states/show.html.haml
826
- - views/docs/operation.html.haml
827
- - views/docs/collection.xml.haml
828
- - views/docs/collection.html.haml
829
- - views/docs/index.html.haml
830
- - views/docs/operation.xml.haml
831
- - views/docs/index.xml.haml
832
865
  - views/storage_snapshots/show.xml.haml
833
866
  - views/storage_snapshots/new.html.haml
834
867
  - views/storage_snapshots/index.html.haml
@@ -848,27 +881,6 @@ files:
848
881
  - views/load_balancers/index.html.haml
849
882
  - views/load_balancers/index.xml.haml
850
883
  - views/load_balancers/show.html.haml
851
- - views/cimi/cloudEntryPoint/index.html.haml
852
- - views/cimi/cloudEntryPoint/index.xml.haml
853
- - views/cimi/collection/response.xml.haml
854
- - views/cimi/collection/index.html.haml
855
- - views/cimi/error.html.haml
856
- - views/cimi/errors/401.xml.haml
857
- - views/cimi/errors/404.xml.haml
858
- - views/cimi/errors/400.xml.haml
859
- - views/cimi/errors/502.xml.haml
860
- - views/cimi/errors/405.xml.haml
861
- - views/cimi/errors/500.xml.haml
862
- - views/cimi/errors/403.xml.haml
863
- - views/cimi/machines/show.xml.haml
864
- - views/cimi/machines/show.html.haml
865
- - views/cimi/volumes/show.xml.haml
866
- - views/cimi/volumes/show.html.haml
867
- - views/cimi/machine_configurations/show.xml.haml
868
- - views/cimi/machine_configurations/show.html.haml
869
- - views/cimi/layout.html.haml
870
- - views/cimi/machine_images/show.xml.haml
871
- - views/cimi/machine_images/show.html.haml
872
884
  - views/firewalls/show.xml.haml
873
885
  - views/firewalls/new.html.haml
874
886
  - views/firewalls/new_rule.html.haml
@@ -884,7 +896,6 @@ files:
884
896
  - views/blobs/show.xml.haml
885
897
  - views/blobs/new.html.haml
886
898
  - views/blobs/show.html.haml
887
- - views/root/index.html.haml
888
899
  - views/metrics/show.xml.haml
889
900
  - views/metrics/index.html.haml
890
901
  - views/metrics/index.xml.haml
@@ -989,7 +1000,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
989
1000
  version: '0'
990
1001
  segments:
991
1002
  - 0
992
- hash: -1292396733782227782
1003
+ hash: -764223235794271402
993
1004
  requirements: []
994
1005
  rubyforge_project:
995
1006
  rubygems_version: 1.8.23
@@ -1001,6 +1012,7 @@ test_files:
1001
1012
  - tests/ec2/query_parser_test.rb
1002
1013
  - tests/cimi/collections/system_templates_test.rb
1003
1014
  - tests/cimi/collections/machine_templates_test.rb
1015
+ - tests/cimi/collections/volumes_test.rb
1004
1016
  - tests/cimi/collections/systems_test.rb
1005
1017
  - tests/cimi/collections/cloud_entry_point_test.rb
1006
1018
  - tests/cimi/collections/machines_test.rb