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'
|
||||
Fog::Compute::Ecloud.new(attributes)
|
||||
when :glesys
|
||||
require 'fog/compute/glesys'
|
||||
require 'fog/glesys/compute'
|
||||
Fog::Compute::Glesys.new(attributes)
|
||||
when :gogrid
|
||||
require 'fog/go_grid/compute'
|
||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
|||
|
||||
extend Fog::Provider
|
||||
|
||||
service(:compute, 'compute/glesys')
|
||||
service(:compute, 'glesys/compute')
|
||||
|
||||
end
|
||||
end
|
|
@ -6,7 +6,7 @@ module Fog
|
|||
|
||||
API_URL = "https://api.glesys.com"
|
||||
|
||||
model_path 'fog/compute/models/glesys'
|
||||
model_path 'fog/glesys/models/compute'
|
||||
collection :servers
|
||||
model :server
|
||||
collection :templates
|
||||
|
@ -14,7 +14,7 @@ module Fog
|
|||
collection :ips
|
||||
model :ip
|
||||
|
||||
request_path 'fog/compute/requests/glesys'
|
||||
request_path 'fog/glesys/requests/compute'
|
||||
request :create
|
||||
request :destroy
|
||||
request :list_servers
|
||||
|
@ -22,7 +22,7 @@ module Fog
|
|||
request :server_status
|
||||
request :start
|
||||
request :stop
|
||||
# Templates
|
||||
# Templates
|
||||
request :template_list
|
||||
# IP operations
|
||||
request :ip_list_free
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/glesys/ip'
|
||||
require 'fog/glesys/models/compute/ip'
|
||||
|
||||
module Fog
|
||||
module Compute
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/glesys/server'
|
||||
require 'fog/glesys/models/compute/server'
|
||||
|
||||
module Fog
|
||||
module Compute
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/glesys/template'
|
||||
require 'fog/glesys/models/compute/template'
|
||||
|
||||
module Fog
|
||||
module Compute
|
|
@ -5,7 +5,7 @@ require 'fog/dnsimple'
|
|||
require 'fog/dnsmadeeasy'
|
||||
require 'fog/dynect'
|
||||
require 'fog/ecloud'
|
||||
require 'fog/providers/glesys'
|
||||
require 'fog/glesys'
|
||||
require 'fog/go_grid'
|
||||
require 'fog/google'
|
||||
require 'fog/libvirt'
|
||||
|
|
Loading…
Reference in a new issue