mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dns|slicehost] move slicehost dns to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
0763c6370a
commit
2922a62768
20 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ module Fog
|
|||
extend Fog::Provider
|
||||
|
||||
service(:compute, 'compute/slicehost')
|
||||
service(:dns, 'dns/slicehost')
|
||||
service(:dns, 'slicehost/slicehost')
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,13 +5,13 @@ module Fog
|
|||
requires :slicehost_password
|
||||
recognizes :host, :port, :scheme, :persistent
|
||||
|
||||
model_path 'fog/dns/models/slicehost'
|
||||
model_path 'fog/slicehost/models/dns'
|
||||
model :record
|
||||
collection :records
|
||||
model :zone
|
||||
collection :zones
|
||||
|
||||
request_path 'fog/dns/requests/slicehost'
|
||||
request_path 'fog/slicehost/requests/dns'
|
||||
request :create_record
|
||||
request :create_zone
|
||||
request :delete_record
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/dns/models/slicehost/record'
|
||||
require 'fog/slicehost/models/dns/record'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/dns/models/slicehost/records'
|
||||
require 'fog/slicehost/models/dns/records'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/dns/models/slicehost/zone'
|
||||
require 'fog/slicehost/models/dns/zone'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/create_record'
|
||||
require 'fog/slicehost/parsers/dns/create_record'
|
||||
|
||||
# Create a new record in a DNS zone - or update an existing one
|
||||
# ==== Parameters
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/create_zone'
|
||||
require 'fog/slicehost/parsers/dns/create_zone'
|
||||
|
||||
# Create a new zone for Slicehost's DNS servers to serve/host
|
||||
# ==== Parameters
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/get_record'
|
||||
require 'fog/slicehost/parsers/dns/get_record'
|
||||
|
||||
# Get an individual DNS record from the specified zone
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/get_records'
|
||||
require 'fog/slicehost/parsers/dns/get_records'
|
||||
|
||||
# Get all the DNS records across all the DNS zones for this account
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/get_zone'
|
||||
require 'fog/slicehost/parsers/dns/get_zone'
|
||||
|
||||
# Get details of a DNS zone
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Slicehost
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/slicehost/get_zones'
|
||||
require 'fog/slicehost/parsers/dns/get_zones'
|
||||
|
||||
# Get list of all DNS zones hosted on Slicehost (for this account)
|
||||
#
|
Loading…
Reference in a new issue