mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dns|bluebox] move bluebox dns to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
9121c8bff0
commit
5e2a7f3c9d
22 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ module Fog
|
|||
extend Fog::Provider
|
||||
|
||||
service(:compute, 'compute/bluebox')
|
||||
service(:dns, 'dns/bluebox')
|
||||
service(:dns, 'bluebox/dns')
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,13 +5,13 @@ module Fog
|
|||
requires :bluebox_api_key, :bluebox_customer_id
|
||||
recognizes :bluebox_host, :bluebox_port, :bluebox_scheme, :persistent
|
||||
|
||||
model_path 'fog/dns/models/bluebox'
|
||||
model_path 'fog/bluebox/models/dns'
|
||||
model :record
|
||||
collection :records
|
||||
model :zone
|
||||
collection :zones
|
||||
|
||||
request_path 'fog/dns/requests/bluebox'
|
||||
request_path 'fog/bluebox/requests/dns'
|
||||
request :create_record
|
||||
request :update_record
|
||||
request :delete_record
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/dns/models/bluebox/record'
|
||||
require 'fog/bluebox/models/dns/record'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/dns/models/bluebox/records'
|
||||
require 'fog/bluebox/models/dns/records'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/dns/models/bluebox/zone'
|
||||
require 'fog/bluebox/models/dns/zone'
|
||||
|
||||
module Fog
|
||||
module DNS
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/create_record'
|
||||
require 'fog/bluebox/parsers/dns/create_record'
|
||||
|
||||
# Create a new record in a DNS zone
|
||||
# ==== Parameters
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/create_zone'
|
||||
require 'fog/bluebox/parsers/dns/create_zone'
|
||||
|
||||
# Create a new DNS zone
|
||||
# ==== Parameters
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/get_record'
|
||||
require 'fog/bluebox/parsers/dns/get_record'
|
||||
|
||||
# Get an individual DNS record from the specified zone
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/get_records'
|
||||
require 'fog/bluebox/parsers/dns/get_records'
|
||||
|
||||
# Get all the DNS records across all the DNS zones for this account
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/get_zone'
|
||||
require 'fog/bluebox/parsers/dns/get_zone'
|
||||
|
||||
# Get details of a DNS zone
|
||||
#
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class Bluebox
|
||||
class Real
|
||||
|
||||
require 'fog/dns/parsers/bluebox/get_zones'
|
||||
require 'fog/bluebox/parsers/dns/get_zones'
|
||||
|
||||
# Get list of all DNS zones hosted on Bluebox (for this account)
|
||||
#
|
Loading…
Reference in a new issue