deltacloud-core 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +63 -7
- data/bin/deltacloudd +29 -17
- data/config.ru +5 -3
- data/config/drivers/ec2.yaml +9 -0
- data/config/drivers/google.yaml +3 -0
- data/config/drivers/openstack.yaml +3 -0
- data/deltacloud-core.gemspec +1 -1
- data/lib/cimi/dependencies.rb +62 -0
- data/lib/cimi/helpers/cimi_helper.rb +50 -0
- data/lib/cimi/model.rb +52 -0
- data/lib/cimi/model/action.rb +24 -0
- data/lib/cimi/model/base.rb +249 -0
- data/lib/cimi/model/cloud_entry_point.rb +48 -0
- data/lib/cimi/model/entity_metadata.rb +83 -0
- data/lib/cimi/model/entity_metadata_collection.rb +31 -0
- data/lib/cimi/model/errors.rb +40 -0
- data/lib/cimi/model/machine.rb +227 -0
- data/lib/cimi/model/machine_admin.rb +59 -0
- data/lib/cimi/model/machine_admin_collection.rb +34 -0
- data/lib/cimi/model/machine_collection.rb +34 -0
- data/lib/cimi/model/machine_configuration.rb +67 -0
- data/lib/cimi/model/machine_configuration_collection.rb +34 -0
- data/lib/cimi/model/machine_image.rb +46 -0
- data/lib/cimi/model/machine_image_collection.rb +34 -0
- data/lib/cimi/model/machine_template.rb +41 -0
- data/lib/cimi/model/machine_template_collection.rb +34 -0
- data/lib/cimi/model/network.rb +69 -0
- data/lib/cimi/model/network_collection.rb +34 -0
- data/lib/cimi/model/network_configuration.rb +50 -0
- data/lib/cimi/model/network_configuration_collection.rb +34 -0
- data/lib/cimi/model/network_template.rb +26 -0
- data/lib/cimi/model/schema.rb +277 -0
- data/lib/cimi/model/volume.rb +103 -0
- data/lib/cimi/model/volume_collection.rb +34 -0
- data/lib/cimi/model/volume_configuration.rb +60 -0
- data/lib/cimi/model/volume_configuration_collection.rb +34 -0
- data/lib/cimi/model/volume_image.rb +49 -0
- data/lib/cimi/model/volume_image_collection.rb +34 -0
- data/lib/cimi/model/volume_template.rb +23 -0
- data/lib/cimi/model/volume_template_collection.rb +34 -0
- data/lib/cimi/server.rb +575 -0
- data/lib/deltacloud/base_driver/base_driver.rb +11 -1
- data/lib/deltacloud/core_ext.rb +2 -0
- data/lib/deltacloud/core_ext/array.rb +25 -0
- data/lib/deltacloud/core_ext/hash.rb +7 -0
- data/lib/deltacloud/core_ext/proc.rb +31 -0
- data/lib/deltacloud/core_ext/string.rb +15 -0
- data/lib/deltacloud/drivers/condor/condor_driver.rb +2 -1
- data/lib/deltacloud/drivers/ec2/ec2_driver.rb +32 -10
- data/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb +1 -1
- data/lib/deltacloud/drivers/gogrid/gogrid_driver.rb +1 -1
- data/lib/deltacloud/drivers/google/google_driver.rb +233 -0
- data/lib/deltacloud/drivers/mock/data/instances/inst0.yml +7 -2
- data/lib/deltacloud/drivers/mock/data/instances/inst1.yml +7 -2
- data/lib/deltacloud/drivers/mock/data/instances/inst2.yml +7 -2
- data/lib/deltacloud/drivers/mock/mock_client.rb +17 -0
- data/lib/deltacloud/drivers/mock/mock_driver.rb +82 -8
- data/lib/deltacloud/drivers/opennebula/opennebula_driver.rb +1 -1
- data/lib/deltacloud/drivers/openstack/openstack_driver.rb +47 -0
- data/lib/deltacloud/drivers/rackspace/rackspace_driver.rb +8 -8
- data/lib/deltacloud/drivers/rhevm/rhevm_client.rb +122 -49
- data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +42 -22
- data/lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb +1 -1
- data/lib/deltacloud/drivers/sbc/sbc_driver.rb +3 -2
- data/lib/deltacloud/drivers/terremark/terremark_driver.rb +2 -2
- data/lib/deltacloud/drivers/vsphere/vsphere_client.rb +25 -4
- data/lib/deltacloud/drivers/vsphere/vsphere_driver.rb +35 -12
- data/lib/deltacloud/hardware_profile.rb +34 -10
- data/lib/deltacloud/helpers/application_helper.rb +3 -28
- data/lib/deltacloud/helpers/blob_stream.rb +2 -1
- data/lib/deltacloud/models.rb +2 -0
- data/lib/deltacloud/models/bucket.rb +1 -1
- data/lib/deltacloud/models/image.rb +1 -1
- data/lib/deltacloud/models/instance.rb +2 -1
- data/lib/deltacloud/models/instance_address.rb +56 -0
- data/lib/deltacloud/models/provider.rb +27 -0
- data/{server.rb → lib/deltacloud/server.rb} +72 -14
- data/lib/deltacloud/validation.rb +31 -10
- data/lib/sinatra/rabbit.rb +34 -26
- data/lib/sinatra/rack_accept.rb +5 -5
- data/lib/sinatra/rack_matrix_params.rb +6 -2
- data/lib/sinatra/rack_syslog.rb +3 -3
- data/lib/sinatra/static_assets.rb +1 -1
- data/lib/sinatra/url_for.rb +1 -7
- data/public/images/bread-bg.png +0 -0
- data/public/images/logo-wide.png +0 -0
- data/public/images/topbar-bg.png +0 -0
- data/public/javascripts/application.js +5 -0
- data/public/javascripts/cmwgapp.js +249 -0
- data/public/javascripts/jquery-1.4.2.min.js +154 -0
- data/public/javascripts/jquery.mobile-1.0rc1.min.js +170 -0
- data/public/stylesheets/images/icons-18-black.png +0 -0
- data/public/stylesheets/images/icons-18-white.png +0 -0
- data/public/stylesheets/images/icons-36-black.png +0 -0
- data/public/stylesheets/images/icons-36-white.png +0 -0
- data/public/stylesheets/jquery.mobile-1.0rc1.min.css +12 -0
- data/public/stylesheets/new.css +4 -0
- data/support/fedora/deltacloud-core.init +20 -13
- data/tests/cimi/features/step_definitions/common_steps.rb +59 -0
- data/tests/cimi/features/step_definitions/machine_images_steps.rb +0 -0
- data/tests/cimi/features/step_definitions/machines_steps.rb +99 -0
- data/tests/cimi/features/step_definitions/volumes_steps.rb +115 -0
- data/tests/cimi/features/support/env.rb +53 -0
- data/tests/common.rb +89 -11
- data/tests/core_ext/string.rb +31 -0
- data/tests/drivers/google/api_test.rb +35 -0
- data/tests/drivers/google/buckets_test.rb +116 -0
- data/tests/drivers/google/setup.rb +38 -0
- data/tests/drivers/mock/instances_test.rb +20 -5
- data/tests/drivers/openstack/api_test.rb +41 -0
- data/tests/drivers/openstack/hardware_profiles_test.rb +53 -0
- data/tests/drivers/openstack/images_test.rb +40 -0
- data/tests/drivers/openstack/instances_test.rb +163 -0
- data/tests/drivers/openstack/realms_test.rb +36 -0
- data/tests/drivers/openstack/setup.rb +20 -0
- data/tests/drivers/rackspace/buckets_test.rb +145 -0
- data/tests/drivers/rackspace/setup.rb +3 -3
- data/tests/drivers/rhevm/api_test.rb +1 -1
- data/tests/drivers/rhevm/images_test.rb +2 -2
- data/tests/drivers/rhevm/instances_test.rb +10 -12
- data/tests/drivers/rhevm/realms_test.rb +4 -4
- data/tests/drivers/rhevm/setup.rb +3 -3
- data/tests/rabbit_test.rb +1 -1
- data/views/api/show.html.haml +13 -0
- data/views/cimi/cloudEntryPoint/index.html.haml +5 -0
- data/views/cimi/cloudEntryPoint/index.xml.haml +9 -0
- data/views/cimi/collection/index.html.haml +45 -0
- data/views/cimi/collection/response.xml.haml +3 -0
- data/views/cimi/error.html.haml +31 -0
- data/views/cimi/errors/400.html.haml +41 -0
- data/views/cimi/errors/400.xml.haml +3 -0
- data/views/cimi/errors/401.html.haml +41 -0
- data/views/cimi/errors/401.xml.haml +2 -0
- data/views/cimi/errors/403.html.haml +42 -0
- data/views/cimi/errors/403.xml.haml +2 -0
- data/views/cimi/errors/404.html.haml +29 -0
- data/views/cimi/errors/404.xml.haml +2 -0
- data/views/cimi/errors/405.html.haml +29 -0
- data/views/cimi/errors/405.xml.haml +5 -0
- data/views/cimi/errors/500.html.haml +43 -0
- data/views/cimi/errors/500.xml.haml +6 -0
- data/views/cimi/errors/502.html.haml +43 -0
- data/views/cimi/errors/502.xml.haml +7 -0
- data/views/cimi/errors/backend_capability_failure.html.haml +29 -0
- data/views/cimi/layout.html.haml +32 -0
- data/views/cimi/machine_configurations/show.html.haml +159 -0
- data/views/cimi/machine_configurations/show.xml.haml +27 -0
- data/views/cimi/machine_images/show.html.haml +79 -0
- data/views/cimi/machine_images/show.xml.haml +17 -0
- data/views/cimi/machines/show.html.haml +177 -0
- data/views/cimi/machines/show.xml.haml +28 -0
- data/views/cimi/volumes/show.html.haml +68 -0
- data/views/cimi/volumes/show.xml.haml +17 -0
- data/views/drivers/show.html.haml +10 -5
- data/views/drivers/show.xml.haml +9 -4
- data/views/error.html.haml +2 -2
- data/views/errors/500.xml.haml +7 -1
- data/views/instances/index.html.haml +1 -1
- data/views/instances/new.html.haml +19 -16
- data/views/instances/show.html.haml +7 -2
- data/views/instances/show.xml.haml +8 -7
- data/views/layout.html.haml +2 -2
- data/views/storage_volumes/show.html.haml +1 -1
- metadata +296 -204
- data/public/javascripts/jquery.mobile-1.0b1.min.js +0 -146
- data/public/stylesheets/jquery.mobile-1.0b1.min.css +0 -8
data/views/layout.html.haml
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
%html
|
3
3
|
%head
|
4
4
|
%title Deltacloud API #{settings.version}
|
5
|
-
= stylesheet_link_tag '/stylesheets/jquery.mobile-1.
|
5
|
+
= stylesheet_link_tag '/stylesheets/jquery.mobile-1.0rc1.min.css'
|
6
6
|
= stylesheet_link_tag '/stylesheets/new.css'
|
7
7
|
%script{:type => "text/javascript", :src => "/javascripts/jquery.min.js" }
|
8
8
|
%script{:type => "text/javascript", :src => "/javascripts/application.js" }
|
9
|
-
%script{:type => "text/javascript", :src => "/javascripts/jquery.mobile-1.
|
9
|
+
%script{:type => "text/javascript", :src => "/javascripts/jquery.mobile-1.0rc1.min.js" }
|
10
10
|
:javascript
|
11
11
|
$(document).ready(function() {
|
12
12
|
$(document).bind("mobileinit", function(){
|
@@ -32,6 +32,6 @@
|
|
32
32
|
=link_to_action "Snapshot", api_url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
|
33
33
|
- unless @storage_volume.instance_id
|
34
34
|
=link_to_action "Delete", destroy_storage_volume_url(@storage_volume.id), :delete
|
35
|
-
=link_to_action "Attach", api_url_for("storage_volumes
|
35
|
+
=link_to_action "Attach", api_url_for("storage_volumes/#{@storage_volume.id}/attach_instance"), :get
|
36
36
|
- if @storage_volume.instance_id
|
37
37
|
=link_to_action "Detach", detach_storage_volume_url(@storage_volume.id), :post
|
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:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Red Hat, Inc.
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-30 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rake
|
@@ -291,287 +291,379 @@ files:
|
|
291
291
|
- Rakefile
|
292
292
|
- deltacloud-core.gemspec
|
293
293
|
- config.ru
|
294
|
-
- server.rb
|
295
294
|
- config/drivers/rhevm.yaml
|
296
|
-
- config/drivers/sbc.yaml
|
297
|
-
- config/drivers/mock.yaml
|
298
|
-
- config/drivers/condor.yaml
|
299
295
|
- config/drivers/terremark.yaml
|
300
|
-
- config/drivers/
|
296
|
+
- config/drivers/rackspace.yaml
|
301
297
|
- config/drivers/ec2.yaml
|
302
|
-
- config/drivers/
|
298
|
+
- config/drivers/sbc.yaml
|
299
|
+
- config/drivers/google.yaml
|
303
300
|
- config/drivers/opennebula.yaml
|
304
301
|
- config/drivers/vsphere.yaml
|
305
|
-
- config/drivers/
|
302
|
+
- config/drivers/eucalyptus.yaml
|
303
|
+
- config/drivers/condor.yaml
|
304
|
+
- config/drivers/mock.yaml
|
305
|
+
- config/drivers/gogrid.yaml
|
306
|
+
- config/drivers/openstack.yaml
|
306
307
|
- config/drivers/azure.yaml
|
307
|
-
- config/drivers/
|
308
|
+
- config/drivers/rimuhosting.yaml
|
308
309
|
- config/condor.yaml
|
309
310
|
- config/addresses.xml
|
310
311
|
- support/fedora/deltacloud-core-config
|
311
312
|
- support/fedora/deltacloud-core.init
|
312
|
-
- support/fedora/deltacloudd-fedora
|
313
313
|
- support/fedora/deltacloud-core.spec
|
314
|
+
- support/fedora/deltacloudd-fedora
|
314
315
|
- support/condor/bash/cloud_functions
|
315
316
|
- support/condor/bash/libvirt_cloud_script.sh
|
316
317
|
- support/condor/bash/cached_images.sh
|
317
318
|
- support/condor/bash/cloud_prepare_hook.sh
|
318
319
|
- support/condor/bash/cloud_exit_hook.sh
|
319
320
|
- support/condor/config/condor_config.local
|
320
|
-
- support/condor/config/50condor_cloud_node.config
|
321
321
|
- support/condor/config/condor-cloud
|
322
|
+
- support/condor/config/50condor_cloud_node.config
|
322
323
|
- support/condor/config/50condor_cloud.config
|
323
|
-
- lib/
|
324
|
-
- lib/
|
325
|
-
- lib/
|
326
|
-
- lib/
|
327
|
-
- lib/
|
328
|
-
- lib/
|
329
|
-
- lib/
|
330
|
-
- lib/
|
331
|
-
- lib/
|
332
|
-
- lib/
|
333
|
-
- lib/
|
334
|
-
- lib/
|
335
|
-
- lib/
|
336
|
-
- lib/
|
337
|
-
- lib/
|
338
|
-
- lib/
|
339
|
-
- lib/
|
340
|
-
- lib/
|
341
|
-
- lib/
|
342
|
-
- lib/
|
343
|
-
- lib/
|
344
|
-
- lib/
|
345
|
-
- lib/
|
346
|
-
- lib/
|
324
|
+
- lib/cimi/model.rb
|
325
|
+
- lib/cimi/helpers/cimi_helper.rb
|
326
|
+
- lib/cimi/dependencies.rb
|
327
|
+
- lib/cimi/server.rb
|
328
|
+
- lib/cimi/model/base.rb
|
329
|
+
- lib/cimi/model/machine_template.rb
|
330
|
+
- lib/cimi/model/machine_image.rb
|
331
|
+
- lib/cimi/model/volume_template_collection.rb
|
332
|
+
- lib/cimi/model/machine.rb
|
333
|
+
- lib/cimi/model/machine_configuration.rb
|
334
|
+
- lib/cimi/model/action.rb
|
335
|
+
- lib/cimi/model/cloud_entry_point.rb
|
336
|
+
- lib/cimi/model/machine_admin_collection.rb
|
337
|
+
- lib/cimi/model/network_collection.rb
|
338
|
+
- lib/cimi/model/errors.rb
|
339
|
+
- lib/cimi/model/entity_metadata.rb
|
340
|
+
- lib/cimi/model/machine_collection.rb
|
341
|
+
- lib/cimi/model/network_configuration_collection.rb
|
342
|
+
- lib/cimi/model/volume.rb
|
343
|
+
- lib/cimi/model/machine_template_collection.rb
|
344
|
+
- lib/cimi/model/volume_configuration.rb
|
345
|
+
- lib/cimi/model/machine_configuration_collection.rb
|
346
|
+
- lib/cimi/model/volume_collection.rb
|
347
|
+
- lib/cimi/model/volume_image_collection.rb
|
348
|
+
- lib/cimi/model/entity_metadata_collection.rb
|
349
|
+
- lib/cimi/model/machine_admin.rb
|
350
|
+
- lib/cimi/model/volume_configuration_collection.rb
|
351
|
+
- lib/cimi/model/volume_template.rb
|
352
|
+
- lib/cimi/model/schema.rb
|
353
|
+
- lib/cimi/model/volume_image.rb
|
354
|
+
- lib/cimi/model/network_configuration.rb
|
355
|
+
- lib/cimi/model/machine_image_collection.rb
|
356
|
+
- lib/cimi/model/network.rb
|
357
|
+
- lib/cimi/model/network_template.rb
|
358
|
+
- lib/deltacloud.rb
|
359
|
+
- lib/sinatra/rack_syslog.rb
|
360
|
+
- lib/sinatra/rack_etag.rb
|
361
|
+
- lib/sinatra/accept_media_types.rb
|
362
|
+
- lib/sinatra/rack_runtime.rb
|
363
|
+
- lib/sinatra/sinatra_verbose.rb
|
364
|
+
- lib/sinatra/rack_accept.rb
|
365
|
+
- lib/sinatra/lazy_auth.rb
|
366
|
+
- lib/sinatra/url_for.rb
|
367
|
+
- lib/sinatra/static_assets.rb
|
368
|
+
- lib/sinatra/rack_matrix_params.rb
|
369
|
+
- lib/sinatra/rack_driver_select.rb
|
370
|
+
- lib/sinatra/body_proxy.rb
|
371
|
+
- lib/sinatra/rabbit.rb
|
372
|
+
- lib/sinatra/rack_date.rb
|
373
|
+
- lib/deltacloud/hardware_profile.rb
|
374
|
+
- lib/deltacloud/state_machine.rb
|
347
375
|
- lib/deltacloud/drivers/ec2/ec2_driver.rb
|
376
|
+
- lib/deltacloud/drivers/ec2/ec2_mock_driver.rb
|
377
|
+
- lib/deltacloud/drivers/rackspace/rackspace_driver.rb
|
378
|
+
- lib/deltacloud/drivers/gogrid/gogrid_driver.rb
|
379
|
+
- lib/deltacloud/drivers/gogrid/gogrid_client.rb
|
348
380
|
- lib/deltacloud/drivers/rhevm/rhevm_driver.rb
|
349
381
|
- lib/deltacloud/drivers/rhevm/rhevm_client.rb
|
382
|
+
- lib/deltacloud/drivers/openstack/openstack_driver.rb
|
383
|
+
- lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
|
384
|
+
- lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb
|
385
|
+
- lib/deltacloud/drivers/vsphere/vsphere_client.rb
|
386
|
+
- lib/deltacloud/drivers/vsphere/vsphere_driver.rb
|
387
|
+
- lib/deltacloud/drivers/mock/mock_client.rb
|
388
|
+
- lib/deltacloud/drivers/mock/mock_driver.rb
|
389
|
+
- lib/deltacloud/drivers/google/google_driver.rb
|
350
390
|
- lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb
|
351
391
|
- lib/deltacloud/drivers/rimuhosting/rimuhosting_client.rb
|
352
|
-
- lib/deltacloud/drivers/
|
353
|
-
- lib/deltacloud/drivers/
|
354
|
-
- lib/deltacloud/
|
355
|
-
- lib/deltacloud/
|
392
|
+
- lib/deltacloud/drivers/condor/ip_agents/default.rb
|
393
|
+
- lib/deltacloud/drivers/condor/ip_agents/confserver.rb
|
394
|
+
- lib/deltacloud/drivers/condor/condor_driver.rb
|
395
|
+
- lib/deltacloud/drivers/condor/condor_client.rb
|
396
|
+
- lib/deltacloud/drivers/terremark/terremark_driver.rb
|
397
|
+
- lib/deltacloud/drivers/sbc/sbc_driver.rb
|
398
|
+
- lib/deltacloud/drivers/sbc/sbc_client.rb
|
399
|
+
- lib/deltacloud/drivers/opennebula/cloud_client.rb
|
400
|
+
- lib/deltacloud/drivers/opennebula/occi_client.rb
|
401
|
+
- lib/deltacloud/drivers/opennebula/opennebula_driver.rb
|
402
|
+
- lib/deltacloud/drivers/azure/azure_driver.rb
|
403
|
+
- lib/deltacloud/base_driver/features.rb
|
404
|
+
- lib/deltacloud/base_driver/mock_driver.rb
|
405
|
+
- lib/deltacloud/base_driver/base_driver.rb
|
406
|
+
- lib/deltacloud/base_driver/exceptions.rb
|
407
|
+
- lib/deltacloud/helpers/hardware_profiles_helper.rb
|
356
408
|
- lib/deltacloud/helpers/conversion_helper.rb
|
357
409
|
- lib/deltacloud/helpers/json_helper.rb
|
410
|
+
- lib/deltacloud/helpers/blob_stream.rb
|
358
411
|
- lib/deltacloud/helpers/application_helper.rb
|
359
|
-
- lib/deltacloud/
|
412
|
+
- lib/deltacloud/drivers.rb
|
413
|
+
- lib/deltacloud/helpers.rb
|
360
414
|
- lib/deltacloud/core_ext.rb
|
361
|
-
- lib/deltacloud/
|
415
|
+
- lib/deltacloud/validation.rb
|
416
|
+
- lib/deltacloud/server.rb
|
417
|
+
- lib/deltacloud/core_ext/hash.rb
|
418
|
+
- lib/deltacloud/core_ext/proc.rb
|
419
|
+
- lib/deltacloud/core_ext/string.rb
|
420
|
+
- lib/deltacloud/core_ext/integer.rb
|
421
|
+
- lib/deltacloud/core_ext/array.rb
|
422
|
+
- lib/deltacloud/models.rb
|
423
|
+
- lib/deltacloud/backend_capability.rb
|
424
|
+
- lib/deltacloud/base_driver.rb
|
425
|
+
- lib/deltacloud/models/firewall_rule.rb
|
426
|
+
- lib/deltacloud/models/provider.rb
|
362
427
|
- lib/deltacloud/models/base_model.rb
|
363
428
|
- lib/deltacloud/models/address.rb
|
364
|
-
- lib/deltacloud/models/load_balancer.rb
|
365
|
-
- lib/deltacloud/models/firewall_rule.rb
|
366
429
|
- lib/deltacloud/models/instance_profile.rb
|
367
|
-
- lib/deltacloud/models/
|
368
|
-
- lib/deltacloud/models/bucket.rb
|
430
|
+
- lib/deltacloud/models/load_balancer.rb
|
369
431
|
- lib/deltacloud/models/key.rb
|
432
|
+
- lib/deltacloud/models/instance_address.rb
|
433
|
+
- lib/deltacloud/models/bucket.rb
|
370
434
|
- lib/deltacloud/models/firewall.rb
|
371
|
-
- lib/deltacloud/models/image.rb
|
372
435
|
- lib/deltacloud/models/blob.rb
|
436
|
+
- lib/deltacloud/models/storage_snapshot.rb
|
437
|
+
- lib/deltacloud/models/storage_volume.rb
|
373
438
|
- lib/deltacloud/models/realm.rb
|
374
439
|
- lib/deltacloud/models/instance.rb
|
375
|
-
- lib/deltacloud/models/
|
376
|
-
- lib/deltacloud/
|
377
|
-
- lib/deltacloud/
|
378
|
-
- lib/deltacloud/core_ext/hash.rb
|
379
|
-
- lib/deltacloud/base_driver.rb
|
380
|
-
- lib/deltacloud/validation.rb
|
381
|
-
- lib/deltacloud/models.rb
|
382
|
-
- lib/deltacloud/state_machine.rb
|
383
|
-
- lib/deltacloud/backend_capability.rb
|
384
|
-
- lib/deltacloud/drivers.rb
|
385
|
-
- lib/deltacloud/helpers.rb
|
386
|
-
- lib/sinatra/accept_media_types.rb
|
387
|
-
- lib/sinatra/sinatra_verbose.rb
|
388
|
-
- lib/sinatra/rabbit.rb
|
389
|
-
- lib/sinatra/rack_driver_select.rb
|
390
|
-
- lib/sinatra/static_assets.rb
|
391
|
-
- lib/sinatra/url_for.rb
|
392
|
-
- lib/sinatra/lazy_auth.rb
|
393
|
-
- lib/sinatra/rack_etag.rb
|
394
|
-
- lib/sinatra/body_proxy.rb
|
395
|
-
- lib/sinatra/rack_matrix_params.rb
|
396
|
-
- lib/sinatra/rack_accept.rb
|
397
|
-
- lib/sinatra/rack_syslog.rb
|
398
|
-
- lib/sinatra/rack_runtime.rb
|
399
|
-
- lib/sinatra/rack_date.rb
|
400
|
-
- lib/deltacloud.rb
|
401
|
-
- lib/deltacloud/drivers/mock/data/images/img3.yml
|
402
|
-
- lib/deltacloud/drivers/mock/data/images/img1.yml
|
403
|
-
- lib/deltacloud/drivers/mock/data/images/img2.yml
|
404
|
-
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml
|
405
|
-
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml
|
406
|
-
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
|
407
|
-
- lib/deltacloud/drivers/mock/data/blobs/blob5.yml
|
408
|
-
- lib/deltacloud/drivers/mock/data/blobs/blob1.yml
|
440
|
+
- lib/deltacloud/models/image.rb
|
441
|
+
- lib/deltacloud/runner.rb
|
442
|
+
- lib/deltacloud/method_serializer.rb
|
409
443
|
- lib/deltacloud/drivers/mock/data/blobs/blob3.yml
|
410
|
-
- lib/deltacloud/drivers/mock/data/blobs/blob2.yml
|
411
444
|
- lib/deltacloud/drivers/mock/data/blobs/blob4.yml
|
412
|
-
- lib/deltacloud/drivers/mock/data/
|
413
|
-
- lib/deltacloud/drivers/mock/data/
|
414
|
-
- lib/deltacloud/drivers/mock/data/
|
445
|
+
- lib/deltacloud/drivers/mock/data/blobs/blob5.yml
|
446
|
+
- lib/deltacloud/drivers/mock/data/blobs/blob2.yml
|
447
|
+
- lib/deltacloud/drivers/mock/data/blobs/blob1.yml
|
415
448
|
- lib/deltacloud/drivers/mock/data/instances/inst2.yml
|
449
|
+
- lib/deltacloud/drivers/mock/data/instances/inst0.yml
|
416
450
|
- lib/deltacloud/drivers/mock/data/instances/inst1.yml
|
417
|
-
- lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml
|
418
451
|
- lib/deltacloud/drivers/mock/data/storage_volumes/vol2.yml
|
419
452
|
- lib/deltacloud/drivers/mock/data/storage_volumes/vol1.yml
|
420
|
-
-
|
453
|
+
- lib/deltacloud/drivers/mock/data/storage_volumes/vol3.yml
|
454
|
+
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap1.yml
|
455
|
+
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap3.yml
|
456
|
+
- lib/deltacloud/drivers/mock/data/storage_snapshots/snap2.yml
|
457
|
+
- lib/deltacloud/drivers/mock/data/images/img1.yml
|
458
|
+
- lib/deltacloud/drivers/mock/data/images/img3.yml
|
459
|
+
- lib/deltacloud/drivers/mock/data/images/img2.yml
|
460
|
+
- lib/deltacloud/drivers/mock/data/buckets/bucket2.yml
|
461
|
+
- lib/deltacloud/drivers/mock/data/buckets/bucket1.yml
|
462
|
+
- tests/cimi/features/step_definitions/machine_images_steps.rb
|
463
|
+
- tests/cimi/features/step_definitions/common_steps.rb
|
464
|
+
- tests/cimi/features/step_definitions/machines_steps.rb
|
465
|
+
- tests/cimi/features/step_definitions/volumes_steps.rb
|
466
|
+
- tests/cimi/features/support/env.rb
|
421
467
|
- tests/drivers/rackspace/hardware_profiles_test.rb
|
422
468
|
- tests/drivers/rackspace/images_test.rb
|
423
469
|
- tests/drivers/rackspace/instances_test.rb
|
424
|
-
- tests/drivers/rackspace/
|
470
|
+
- tests/drivers/rackspace/api_test.rb
|
425
471
|
- tests/drivers/rackspace/realms_test.rb
|
426
|
-
- tests/drivers/
|
427
|
-
- tests/drivers/
|
428
|
-
- tests/drivers/mock/url_for_test.rb
|
429
|
-
- tests/drivers/mock/hardware_profiles_test.rb
|
430
|
-
- tests/drivers/mock/images_test.rb
|
431
|
-
- tests/drivers/mock/instances_test.rb
|
432
|
-
- tests/drivers/mock/setup.rb
|
433
|
-
- tests/drivers/mock/realms_test.rb
|
434
|
-
- tests/drivers/rhevm/api_test.rb
|
472
|
+
- tests/drivers/rackspace/setup.rb
|
473
|
+
- tests/drivers/rackspace/buckets_test.rb
|
435
474
|
- tests/drivers/rhevm/hardware_profiles_test.rb
|
436
475
|
- tests/drivers/rhevm/images_test.rb
|
437
476
|
- tests/drivers/rhevm/instances_test.rb
|
438
|
-
- tests/drivers/rhevm/
|
477
|
+
- tests/drivers/rhevm/api_test.rb
|
439
478
|
- tests/drivers/rhevm/realms_test.rb
|
440
|
-
- tests/
|
479
|
+
- tests/drivers/rhevm/setup.rb
|
480
|
+
- tests/drivers/openstack/hardware_profiles_test.rb
|
481
|
+
- tests/drivers/openstack/images_test.rb
|
482
|
+
- tests/drivers/openstack/instances_test.rb
|
483
|
+
- tests/drivers/openstack/api_test.rb
|
484
|
+
- tests/drivers/openstack/realms_test.rb
|
485
|
+
- tests/drivers/openstack/setup.rb
|
486
|
+
- tests/drivers/mock/hardware_profiles_test.rb
|
487
|
+
- tests/drivers/mock/url_for_test.rb
|
488
|
+
- tests/drivers/mock/images_test.rb
|
489
|
+
- tests/drivers/mock/instances_test.rb
|
490
|
+
- tests/drivers/mock/api_test.rb
|
491
|
+
- tests/drivers/mock/realms_test.rb
|
492
|
+
- tests/drivers/mock/instance_states_test.rb
|
493
|
+
- tests/drivers/mock/setup.rb
|
494
|
+
- tests/drivers/google/api_test.rb
|
495
|
+
- tests/drivers/google/setup.rb
|
496
|
+
- tests/drivers/google/buckets_test.rb
|
441
497
|
- tests/common.rb
|
442
|
-
-
|
443
|
-
-
|
444
|
-
- views/
|
445
|
-
- views/
|
446
|
-
- views/
|
447
|
-
- views/
|
448
|
-
- views/
|
498
|
+
- tests/rabbit_test.rb
|
499
|
+
- tests/core_ext/string.rb
|
500
|
+
- views/load_balancers/show.xml.haml
|
501
|
+
- views/load_balancers/new.html.haml
|
502
|
+
- views/load_balancers/index.html.haml
|
503
|
+
- views/load_balancers/index.xml.haml
|
504
|
+
- views/load_balancers/show.html.haml
|
505
|
+
- views/docs/operation.xml.haml
|
506
|
+
- views/docs/collection.xml.haml
|
507
|
+
- views/docs/operation.html.haml
|
508
|
+
- views/docs/index.html.haml
|
509
|
+
- views/docs/index.xml.haml
|
510
|
+
- views/docs/collection.html.haml
|
511
|
+
- views/cimi/cloudEntryPoint/index.html.haml
|
512
|
+
- views/cimi/cloudEntryPoint/index.xml.haml
|
513
|
+
- views/cimi/errors/401.html.haml
|
514
|
+
- views/cimi/errors/400.xml.haml
|
515
|
+
- views/cimi/errors/404.html.haml
|
516
|
+
- views/cimi/errors/403.html.haml
|
517
|
+
- views/cimi/errors/401.xml.haml
|
518
|
+
- views/cimi/errors/405.html.haml
|
519
|
+
- views/cimi/errors/502.xml.haml
|
520
|
+
- views/cimi/errors/502.html.haml
|
521
|
+
- views/cimi/errors/404.xml.haml
|
522
|
+
- views/cimi/errors/500.xml.haml
|
523
|
+
- views/cimi/errors/405.xml.haml
|
524
|
+
- views/cimi/errors/backend_capability_failure.html.haml
|
525
|
+
- views/cimi/errors/400.html.haml
|
526
|
+
- views/cimi/errors/403.xml.haml
|
527
|
+
- views/cimi/errors/500.html.haml
|
528
|
+
- views/cimi/volumes/show.xml.haml
|
529
|
+
- views/cimi/volumes/show.html.haml
|
530
|
+
- views/cimi/machines/show.xml.haml
|
531
|
+
- views/cimi/machines/show.html.haml
|
532
|
+
- views/cimi/layout.html.haml
|
533
|
+
- views/cimi/machine_images/show.xml.haml
|
534
|
+
- views/cimi/machine_images/show.html.haml
|
535
|
+
- views/cimi/collection/response.xml.haml
|
536
|
+
- views/cimi/collection/index.html.haml
|
537
|
+
- views/cimi/machine_configurations/show.xml.haml
|
538
|
+
- views/cimi/machine_configurations/show.html.haml
|
539
|
+
- views/cimi/error.html.haml
|
540
|
+
- views/realms/show.xml.haml
|
541
|
+
- views/realms/index.html.haml
|
542
|
+
- views/realms/index.xml.haml
|
543
|
+
- views/realms/show.html.haml
|
544
|
+
- views/addresses/_address.html.haml
|
545
|
+
- views/addresses/show.xml.haml
|
546
|
+
- views/addresses/index.html.haml
|
547
|
+
- views/addresses/associate.html.haml
|
548
|
+
- views/addresses/index.xml.haml
|
549
|
+
- views/addresses/show.html.haml
|
550
|
+
- views/blobs/show.xml.haml
|
551
|
+
- views/blobs/new.html.haml
|
552
|
+
- views/blobs/show.html.haml
|
553
|
+
- views/instances/show.xml.haml
|
554
|
+
- views/instances/run.html.haml
|
555
|
+
- views/instances/new.html.haml
|
556
|
+
- views/instances/index.html.haml
|
557
|
+
- views/instances/run.xml.haml
|
558
|
+
- views/instances/index.xml.haml
|
559
|
+
- views/instances/run_command.html.haml
|
560
|
+
- views/instances/show.html.haml
|
561
|
+
- views/drivers/show.xml.haml
|
449
562
|
- views/drivers/index.html.haml
|
450
563
|
- views/drivers/index.xml.haml
|
451
|
-
- views/drivers/show.
|
452
|
-
- views/hardware_profiles/show.
|
564
|
+
- views/drivers/show.html.haml
|
565
|
+
- views/hardware_profiles/show.xml.haml
|
453
566
|
- views/hardware_profiles/index.html.haml
|
454
567
|
- views/hardware_profiles/index.xml.haml
|
455
|
-
- views/hardware_profiles/show.
|
456
|
-
- views/images/show.html.haml
|
457
|
-
- views/images/new.html.haml
|
458
|
-
- views/images/index.html.haml
|
459
|
-
- views/images/index.xml.haml
|
460
|
-
- views/images/show.xml.haml
|
461
|
-
- views/storage_snapshots/show.html.haml
|
462
|
-
- views/storage_snapshots/new.html.haml
|
463
|
-
- views/storage_snapshots/index.html.haml
|
464
|
-
- views/storage_snapshots/index.xml.haml
|
465
|
-
- views/storage_snapshots/show.xml.haml
|
466
|
-
- views/blobs/show.html.haml
|
467
|
-
- views/blobs/new.html.haml
|
468
|
-
- views/blobs/show.xml.haml
|
469
|
-
- views/buckets/show.html.haml
|
470
|
-
- views/buckets/new.html.haml
|
471
|
-
- views/buckets/index.html.haml
|
472
|
-
- views/buckets/index.xml.haml
|
473
|
-
- views/buckets/show.xml.haml
|
474
|
-
- views/errors/400.html.haml
|
475
|
-
- views/errors/502.html.haml
|
476
|
-
- views/errors/405.xml.haml
|
477
|
-
- views/errors/400.xml.haml
|
478
|
-
- views/errors/403.xml.haml
|
479
|
-
- views/errors/502.xml.haml
|
568
|
+
- views/hardware_profiles/show.html.haml
|
480
569
|
- views/errors/401.html.haml
|
481
|
-
- views/errors/
|
482
|
-
- views/errors/backend_capability_failure.xml.haml
|
570
|
+
- views/errors/400.xml.haml
|
483
571
|
- views/errors/404.html.haml
|
572
|
+
- views/errors/backend_capability_failure.xml.haml
|
484
573
|
- views/errors/403.html.haml
|
574
|
+
- views/errors/401.xml.haml
|
575
|
+
- views/errors/405.html.haml
|
576
|
+
- views/errors/502.xml.haml
|
577
|
+
- views/errors/502.html.haml
|
578
|
+
- views/errors/404.xml.haml
|
485
579
|
- views/errors/500.xml.haml
|
580
|
+
- views/errors/405.xml.haml
|
486
581
|
- views/errors/backend_capability_failure.html.haml
|
582
|
+
- views/errors/400.html.haml
|
583
|
+
- views/errors/403.xml.haml
|
487
584
|
- views/errors/500.html.haml
|
488
|
-
- views/
|
489
|
-
- views/
|
490
|
-
- views/
|
585
|
+
- views/storage_volumes/show.xml.haml
|
586
|
+
- views/storage_volumes/new.html.haml
|
587
|
+
- views/storage_volumes/attach.html.haml
|
588
|
+
- views/storage_volumes/index.html.haml
|
589
|
+
- views/storage_volumes/index.xml.haml
|
590
|
+
- views/storage_volumes/show.html.haml
|
591
|
+
- views/firewalls/show.xml.haml
|
592
|
+
- views/firewalls/new_rule.html.haml
|
593
|
+
- views/firewalls/new.html.haml
|
594
|
+
- views/firewalls/index.html.haml
|
595
|
+
- views/firewalls/index.xml.haml
|
596
|
+
- views/firewalls/show.html.haml
|
491
597
|
- views/api/show.xml.haml
|
492
|
-
- views/
|
493
|
-
- views/
|
494
|
-
- views/
|
495
|
-
- views/
|
496
|
-
- views/
|
497
|
-
- views/
|
498
|
-
- views/
|
598
|
+
- views/api/show.html.haml
|
599
|
+
- views/storage_snapshots/show.xml.haml
|
600
|
+
- views/storage_snapshots/new.html.haml
|
601
|
+
- views/storage_snapshots/index.html.haml
|
602
|
+
- views/storage_snapshots/index.xml.haml
|
603
|
+
- views/storage_snapshots/show.html.haml
|
604
|
+
- views/layout.html.haml
|
605
|
+
- views/root/index.html.haml
|
499
606
|
- views/instance_states/show.xml.haml
|
500
|
-
- views/
|
607
|
+
- views/instance_states/show.html.haml
|
608
|
+
- views/images/show.xml.haml
|
609
|
+
- views/images/new.html.haml
|
610
|
+
- views/images/index.html.haml
|
611
|
+
- views/images/index.xml.haml
|
612
|
+
- views/images/show.html.haml
|
613
|
+
- views/buckets/show.xml.haml
|
614
|
+
- views/buckets/new.html.haml
|
615
|
+
- views/buckets/index.html.haml
|
616
|
+
- views/buckets/index.xml.haml
|
617
|
+
- views/buckets/show.html.haml
|
618
|
+
- views/keys/show.xml.haml
|
501
619
|
- views/keys/new.html.haml
|
502
620
|
- views/keys/index.html.haml
|
503
621
|
- views/keys/index.xml.haml
|
504
|
-
- views/keys/show.
|
505
|
-
- views/load_balancers/show.html.haml
|
506
|
-
- views/load_balancers/new.html.haml
|
507
|
-
- views/load_balancers/index.html.haml
|
508
|
-
- views/load_balancers/index.xml.haml
|
509
|
-
- views/load_balancers/show.xml.haml
|
622
|
+
- views/keys/show.html.haml
|
510
623
|
- views/error.html.haml
|
511
|
-
- views/layout.html.haml
|
512
|
-
- views/instances/show.html.haml
|
513
|
-
- views/instances/new.html.haml
|
514
|
-
- views/instances/run_command.html.haml
|
515
|
-
- views/instances/run.html.haml
|
516
|
-
- views/instances/run.xml.haml
|
517
|
-
- views/instances/index.html.haml
|
518
|
-
- views/instances/index.xml.haml
|
519
|
-
- views/instances/show.xml.haml
|
520
|
-
- views/storage_volumes/show.html.haml
|
521
|
-
- views/storage_volumes/attach.html.haml
|
522
|
-
- views/storage_volumes/new.html.haml
|
523
|
-
- views/storage_volumes/index.html.haml
|
524
|
-
- views/storage_volumes/index.xml.haml
|
525
|
-
- views/storage_volumes/show.xml.haml
|
526
|
-
- views/realms/show.html.haml
|
527
|
-
- views/realms/index.html.haml
|
528
|
-
- views/realms/index.xml.haml
|
529
|
-
- views/realms/show.xml.haml
|
530
|
-
- views/root/index.html.haml
|
531
|
-
- views/docs/operation.html.haml
|
532
|
-
- views/docs/collection.xml.haml
|
533
|
-
- views/docs/collection.html.haml
|
534
|
-
- views/docs/operation.xml.haml
|
535
|
-
- views/docs/index.html.haml
|
536
|
-
- views/docs/index.xml.haml
|
537
624
|
- views/instance_states/show.png.erb
|
538
625
|
- public/favicon.ico
|
626
|
+
- public/images/firewall.png
|
627
|
+
- public/images/topbar-bg.png
|
628
|
+
- public/images/balancer.png
|
629
|
+
- public/images/realm.png
|
539
630
|
- public/images/image.png
|
631
|
+
- public/images/logo-wide.png
|
632
|
+
- public/images/volume.png
|
633
|
+
- public/images/address.png
|
634
|
+
- public/images/profile.png
|
540
635
|
- public/images/cloud.png
|
541
|
-
- public/images/balancer.png
|
542
636
|
- public/images/blob.png
|
543
|
-
- public/images/
|
544
|
-
- public/images/profile.png
|
637
|
+
- public/images/machine.png
|
545
638
|
- public/images/key.png
|
546
|
-
- public/images/realm.png
|
547
|
-
- public/images/address.png
|
548
|
-
- public/images/firewall.png
|
549
639
|
- public/images/bucket.png
|
550
|
-
- public/images/
|
551
|
-
- public/images/
|
552
|
-
- public/javascripts/jquery.min.js
|
640
|
+
- public/images/bread-bg.png
|
641
|
+
- public/images/snapshot.png
|
553
642
|
- public/javascripts/application.js
|
554
|
-
- public/javascripts/jquery.mobile-1.
|
555
|
-
- public/
|
643
|
+
- public/javascripts/jquery.mobile-1.0rc1.min.js
|
644
|
+
- public/javascripts/jquery-1.4.2.min.js
|
645
|
+
- public/javascripts/jquery.min.js
|
646
|
+
- public/javascripts/cmwgapp.js
|
647
|
+
- public/stylesheets/jquery.mobile-1.0rc1.min.css
|
556
648
|
- public/stylesheets/new.css
|
557
|
-
- public/stylesheets/images/grid.png
|
558
|
-
- public/stylesheets/images/logo-wide.png
|
559
|
-
- public/stylesheets/images/rails.png
|
560
|
-
- public/stylesheets/images/icons-36-white.png
|
561
|
-
- public/stylesheets/images/running.png
|
562
|
-
- public/stylesheets/images/ajax-loader.png
|
563
|
-
- public/stylesheets/images/pending.png
|
564
|
-
- public/stylesheets/images/bread-bg.png
|
565
|
-
- public/stylesheets/images/icons-18-black.png
|
566
649
|
- public/stylesheets/images/icons-18-white.png
|
567
650
|
- public/stylesheets/images/topbar-bg.png
|
568
651
|
- public/stylesheets/images/error.png
|
569
|
-
- public/stylesheets/images/
|
652
|
+
- public/stylesheets/images/logo-wide.png
|
570
653
|
- public/stylesheets/images/stopped.png
|
654
|
+
- public/stylesheets/images/pending.png
|
655
|
+
- public/stylesheets/images/grid.png
|
571
656
|
- public/stylesheets/images/icons-36-black.png
|
657
|
+
- public/stylesheets/images/ajax-loader.png
|
658
|
+
- public/stylesheets/images/icons-36-white.png
|
659
|
+
- public/stylesheets/images/icons-18-black.png
|
660
|
+
- public/stylesheets/images/icon-search-black.png
|
661
|
+
- public/stylesheets/images/running.png
|
662
|
+
- public/stylesheets/images/bread-bg.png
|
663
|
+
- public/stylesheets/images/rails.png
|
572
664
|
- public/stylesheets/compiled/application.css
|
573
|
-
- public/stylesheets/compiled/ie.css
|
574
665
|
- public/stylesheets/compiled/print.css
|
666
|
+
- public/stylesheets/compiled/ie.css
|
575
667
|
- public/stylesheets/compiled/screen.css
|
576
668
|
- bin/deltacloudd
|
577
669
|
- LICENSE
|
@@ -608,7 +700,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
608
700
|
requirements: []
|
609
701
|
|
610
702
|
rubyforge_project:
|
611
|
-
rubygems_version: 1.
|
703
|
+
rubygems_version: 1.8.11
|
612
704
|
signing_key:
|
613
705
|
specification_version: 3
|
614
706
|
summary: Deltacloud REST API
|