deltacloud-core 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/deltacloud.rb +1 -0
  2. data/lib/deltacloud/backend_capability.rb +21 -0
  3. data/lib/deltacloud/base_driver/base_driver.rb +6 -0
  4. data/lib/deltacloud/base_driver/features.rb +16 -0
  5. data/lib/deltacloud/base_driver/mock_driver.rb +25 -5
  6. data/lib/deltacloud/drivers/ec2/ec2_driver.rb +137 -15
  7. data/lib/deltacloud/drivers/gogrid/gogrid_client.rb +4 -7
  8. data/lib/deltacloud/drivers/gogrid/gogrid_driver.rb +116 -3
  9. data/lib/deltacloud/drivers/mock/mock_driver.rb +56 -2
  10. data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +5 -19
  11. data/lib/deltacloud/helpers/application_helper.rb +22 -2
  12. data/lib/deltacloud/models/instance.rb +22 -5
  13. data/lib/deltacloud/models/key.rb +16 -0
  14. data/lib/deltacloud/models/{tag.rb → load_balancer.rb} +14 -18
  15. data/lib/sinatra/rabbit.rb +3 -0
  16. data/parse.rb +7 -0
  17. data/public/javascripts/application.js +10 -24
  18. data/public/stylesheets/compiled/application.css +2 -0
  19. data/server.rb +141 -15
  20. data/test.rb +3 -0
  21. data/views/blobs/new.html.haml +10 -0
  22. data/views/blobs/show.html.haml +21 -15
  23. data/views/buckets/index.html.haml +1 -1
  24. data/views/buckets/show.html.haml +5 -2
  25. data/views/errors/backend_capability_failure.html.haml +11 -0
  26. data/views/errors/backend_capability_failure.xml.haml +4 -0
  27. data/views/errors/not_allowed.html.haml +6 -0
  28. data/views/errors/not_allowed.xml.haml +2 -0
  29. data/views/instances/index.html.haml +1 -1
  30. data/views/instances/new.html.haml +8 -0
  31. data/views/instances/show.html.haml +1 -1
  32. data/views/keys/index.html.haml +1 -1
  33. data/views/load_balancers/index.html.haml +33 -0
  34. data/views/load_balancers/index.xml.haml +5 -0
  35. data/views/load_balancers/new.html.haml +38 -0
  36. data/views/load_balancers/show.html.haml +37 -0
  37. data/views/load_balancers/show.xml.haml +21 -0
  38. data/views/storage_snapshots/index.xml.haml +0 -2
  39. data/views/storage_snapshots/show.xml.haml +0 -2
  40. data/views/storage_volumes/index.xml.haml +6 -6
  41. data/views/storage_volumes/show.xml.haml +7 -7
  42. metadata +48 -36
  43. data/views/tags/index.html.haml +0 -1
@@ -1 +0,0 @@
1
- =@tags.inspect