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

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

This commit is contained in:
geemus 2011-08-24 20:31:12 -05:00
parent 5c6e40bd0c
commit 4002c9ff89
73 changed files with 12 additions and 11 deletions

View file

@ -4,6 +4,7 @@ module Fog
module Brightbox
extend Fog::Provider
service(:compute, 'compute/brightbox')
service(:compute, 'brightbox/compute')
end
end

View file

@ -7,7 +7,7 @@ module Fog
requires :brightbox_client_id, :brightbox_secret
recognizes :brightbox_auth_url, :brightbox_api_url
model_path 'fog/compute/models/brightbox'
model_path 'fog/brightbox/models/compute'
model :account # Singular resource, no collection
collection :servers
model :server
@ -24,7 +24,7 @@ module Fog
collection :users
model :user
request_path 'fog/compute/requests/brightbox'
request_path 'fog/brightbox/requests/compute'
request :activate_console_server
request :add_listeners_load_balancer
request :add_nodes_load_balancer

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -15,7 +15,7 @@ module Fog
require 'fog/compute/bluebox'
Fog::Compute::Bluebox.new(attributes)
when :brightbox
require 'fog/compute/brightbox'
require 'fog/brightbox/brightbox'
Fog::Compute::Brightbox.new(attributes)
when :ecloud
require 'fog/ecloud/compute'