1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

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

This commit is contained in:
geemus 2011-08-24 20:35:05 -05:00
parent eff5e70e7d
commit 01238bc720
27 changed files with 16 additions and 16 deletions

View file

@ -36,7 +36,7 @@ module Fog
require 'fog/rackspace/compute'
Fog::Compute::Rackspace.new(attributes)
when :slicehost
require 'fog/compute/slicehost'
require 'fog/slicehost/compute'
Fog::Compute::Slicehost.new(attributes)
when :stormondemand
require 'fog/storm_on_demand/compute'

View file

@ -5,8 +5,8 @@ module Fog
extend Fog::Provider
service(:compute, 'compute/slicehost')
service(:dns, 'slicehost/slicehost')
service(:compute, 'slicehost/compute')
service(:dns, 'slicehost/dns')
end
end

View file

@ -5,7 +5,7 @@ module Fog
requires :slicehost_password
recognizes :host, :port, :scheme, :persistent
model_path 'fog/compute/models/slicehost'
model_path 'fog/slicehost/models/compute'
model :flavor
collection :flavors
model :image
@ -13,7 +13,7 @@ module Fog
model :server
collection :servers
request_path 'fog/compute/requests/slicehost'
request_path 'fog/slicehost/requests/compute'
request :create_slice
request :delete_slice
request :get_backups

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/slicehost/flavor'
require 'fog/slicehost/models/compute/flavor'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/slicehost/image'
require 'fog/slicehost/models/compute/image'
module Fog
module Compute

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/compute/models/slicehost/server'
require 'fog/slicehost/models/compute/server'
module Fog
module Compute

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/create_slice'
require 'fog/slicehost/parsers/compute/create_slice'
# Create a new slice
# ==== Parameters

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_backups'
require 'fog/slicehost/parsers/compute/get_backups'
# Get list of backups
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_flavor'
require 'fog/slicehost/parsers/compute/get_flavor'
# Get details of a flavor
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_flavors'
require 'fog/slicehost/parsers/compute/get_flavors'
# Get list of flavors
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_image'
require 'fog/slicehost/parsers/compute/get_image'
# Get details of an image
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_images'
require 'fog/slicehost/parsers/compute/get_images'
# Get list of images
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_slice'
require 'fog/slicehost/parsers/compute/get_slice'
# Get details of a slice
#

View file

@ -3,7 +3,7 @@ module Fog
class Slicehost
class Real
require 'fog/compute/parsers/slicehost/get_slices'
require 'fog/slicehost/parsers/compute/get_slices'
# Get list of slices
#