[compute|vcloud] move vcloud compute to its own shared area (namespacing should probably be corrected)

This commit is contained in:
geemus 2011-08-24 20:11:42 -05:00
parent 0cc2609f93
commit d6f9fb4c35
49 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@ module Fog
require 'fog/compute/storm_on_demand'
Fog::Compute::StormOnDemand.new(attributes)
when :vcloud
require 'fog/compute/vcloud'
require 'fog/vcloud/compute'
Fog::Vcloud::Compute.new(attributes)
when :virtualbox
require 'fog/virtual_box/compute'

View File

@ -67,9 +67,8 @@ module Fog
recognizes :vcloud_port, :vcloud_scheme, :vcloud_path, :vcloud_default_vdc
recognizes :provider # remove post deprecation
model_path 'fog/compute/models/vcloud'
model_path 'fog/vcloud/models/compute'
model :catalog
require 'fog/compute/models/vcloud/catalog' # why do I need to do this?
collection :catalogs
model :catalog_item
model :catalog_items
@ -84,7 +83,7 @@ module Fog
model :vdc
collection :vdcs
request_path 'fog/compute/requests/vcloud'
request_path 'fog/vcloud/requests/compute'
request :clone_vapp
request :configure_network
request :configure_network_ip

View File

@ -1,3 +1,5 @@
require 'fog/vcloud/models/compute/catalog'
module Fog
module Vcloud
class Compute

View File

@ -1,4 +1,4 @@
require 'fog/compute/models/vcloud/ip'
require 'fog/vcloud/models/compute/ip'
module Fog
module Vcloud

View File

@ -1,4 +1,4 @@
require 'fog/compute/models/vcloud/network'
require 'fog/vcloud/models/compute/network'
module Fog
module Vcloud

View File

@ -1,4 +1,4 @@
require 'fog/compute/models/vcloud/server'
require 'fog/vcloud/models/compute/server'
module Fog
module Vcloud

View File

@ -1,4 +1,4 @@
require 'fog/compute/models/vcloud/task'
require 'fog/vcloud/models/compute/task'
module Fog
module Vcloud

View File

@ -1,4 +1,4 @@
require 'fog/compute/models/vcloud/vdc'
require 'fog/vcloud/models/compute/vdc'
module Fog
module Vcloud