mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|glesys] rearrange to match current naming conventions
This commit is contained in:
parent
5f7c5c6c15
commit
3a17ba2249
25 changed files with 9 additions and 9 deletions
|
@ -21,7 +21,7 @@ module Fog
|
||||||
require 'fog/ecloud/compute'
|
require 'fog/ecloud/compute'
|
||||||
Fog::Compute::Ecloud.new(attributes)
|
Fog::Compute::Ecloud.new(attributes)
|
||||||
when :glesys
|
when :glesys
|
||||||
require 'fog/compute/glesys'
|
require 'fog/glesys/compute'
|
||||||
Fog::Compute::Glesys.new(attributes)
|
Fog::Compute::Glesys.new(attributes)
|
||||||
when :gogrid
|
when :gogrid
|
||||||
require 'fog/go_grid/compute'
|
require 'fog/go_grid/compute'
|
||||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
||||||
|
|
||||||
extend Fog::Provider
|
extend Fog::Provider
|
||||||
|
|
||||||
service(:compute, 'compute/glesys')
|
service(:compute, 'glesys/compute')
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -6,7 +6,7 @@ module Fog
|
||||||
|
|
||||||
API_URL = "https://api.glesys.com"
|
API_URL = "https://api.glesys.com"
|
||||||
|
|
||||||
model_path 'fog/compute/models/glesys'
|
model_path 'fog/glesys/models/compute'
|
||||||
collection :servers
|
collection :servers
|
||||||
model :server
|
model :server
|
||||||
collection :templates
|
collection :templates
|
||||||
|
@ -14,7 +14,7 @@ module Fog
|
||||||
collection :ips
|
collection :ips
|
||||||
model :ip
|
model :ip
|
||||||
|
|
||||||
request_path 'fog/compute/requests/glesys'
|
request_path 'fog/glesys/requests/compute'
|
||||||
request :create
|
request :create
|
||||||
request :destroy
|
request :destroy
|
||||||
request :list_servers
|
request :list_servers
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/glesys/ip'
|
require 'fog/glesys/models/compute/ip'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/glesys/server'
|
require 'fog/glesys/models/compute/server'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/glesys/template'
|
require 'fog/glesys/models/compute/template'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
|
@ -5,7 +5,7 @@ require 'fog/dnsimple'
|
||||||
require 'fog/dnsmadeeasy'
|
require 'fog/dnsmadeeasy'
|
||||||
require 'fog/dynect'
|
require 'fog/dynect'
|
||||||
require 'fog/ecloud'
|
require 'fog/ecloud'
|
||||||
require 'fog/providers/glesys'
|
require 'fog/glesys'
|
||||||
require 'fog/go_grid'
|
require 'fog/go_grid'
|
||||||
require 'fog/google'
|
require 'fog/google'
|
||||||
require 'fog/libvirt'
|
require 'fog/libvirt'
|
||||||
|
|
Loading…
Reference in a new issue