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

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

This commit is contained in:
geemus 2011-08-24 14:40:47 -05:00
parent a662046d1a
commit 0763c6370a
31 changed files with 17 additions and 17 deletions

View file

@ -30,7 +30,7 @@ module Fog
require 'fog/dns/slicehost'
Fog::DNS::Slicehost.new(attributes)
when :zerigo
require 'fog/dns/zerigo'
require 'fog/zerigo/dns'
Fog::DNS::Zerigo.new(attributes)
else
raise ArgumentError.new("#{provider} is not a recognized dns provider")

View file

@ -5,7 +5,7 @@ module Fog
extend Fog::Provider
service(:dns, 'dns/zerigo')
service(:dns, 'zerigo/dns')
end
end

View file

@ -5,13 +5,13 @@ module Fog
requires :zerigo_email, :zerigo_token
recognizes :host, :persistent, :port, :scheme, :timeout
model_path 'fog/dns/models/zerigo'
model_path 'fog/zerigo/models/dns'
model :record
collection :records
model :zone
collection :zones
request_path 'fog/dns/requests/zerigo'
request_path 'fog/zerigo/requests/dns'
request :count_hosts
request :count_zones
request :create_host

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/dns/models/zerigo/record'
require 'fog/zerigo/models/dns/record'
module Fog
module DNS

View file

@ -1,5 +1,5 @@
require 'fog/core/model'
require 'fog/dns/models/zerigo/records'
require 'fog/zerigo/models/dns/records'
module Fog
module DNS

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/dns/models/zerigo/zone'
require 'fog/zerigo/models/dns/zone'
module Fog
module DNS

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/count_hosts'
require 'fog/zerigo/parsers/dns/count_hosts'
# total number of hosts available for the specified zone. It is the same value as provided
# in the X-Query-Count header in the list_hosts API method

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/count_zones'
require 'fog/zerigo/parsers/dns/count_zones'
# Total number of zones hosted Zerigo for this account. It is the same value as provided
# in the X-Query-Count header in the list_zones API method

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/create_host'
require 'fog/zerigo/parsers/dns/create_host'
# Create a new host in the specified zone
#

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/create_zone'
require 'fog/zerigo/parsers/dns/create_zone'
# Create a new zone for Zerigo's DNS servers to serve/host
# ==== Parameters

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/find_hosts'
require 'fog/zerigo/parsers/dns/find_hosts'
# Get list of all the host records that match the FQDN. If desired, can limit
# search to a specific zone

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/get_host'
require 'fog/zerigo/parsers/dns/get_host'
# get details about a given host record
#

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/get_zone'
require 'fog/zerigo/parsers/dns/get_zone'
# Get details of a DNS zone. The response is similar to list_zones, with the
# addition of hosts-count and possibly hosts.

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/get_zone_stats'
require 'fog/zerigo/parsers/dns/get_zone_stats'
# returns current traffic statistics about this zone. Queries is measured from the
# beginning of the current period through the time of the API call.

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/list_hosts'
require 'fog/zerigo/parsers/dns/list_hosts'
# Get list of all DNS zones hosted on Slicehost (for this account)
#

View file

@ -3,7 +3,7 @@ module Fog
class Zerigo
class Real
require 'fog/dns/parsers/zerigo/list_zones'
require 'fog/zerigo/parsers/dns/list_zones'
# Get list of all DNS zones hosted on Slicehost (for this account)
#