Backend¶
Backend Base¶
-
class
designate.backend.base.
Backend
(target)[source]¶ Bases:
designate.plugin.DriverPlugin
Base class for backend implementations
-
create_zone
(context, zone)[source]¶ Create a DNS zone.
Parameters: - context – Security context information.
- zone – the DNS zone.
-
delete_zone
(context, zone)[source]¶ Delete a DNS zone.
Parameters: - context – Security context information.
- zone – the DNS zone.
-
mdns_api
¶
-
Backend Akamai¶
-
exception
designate.backend.impl_akamai.
DelegationExists
(*args, **kwargs)[source]¶ Bases:
designate.exceptions.BadRequest
,designate.backend.impl_akamai.EnhancedDNSException
Raised when an attempt to delete a zone which is still delegated to Akamai is made
-
error_type
= 'delegation_exists'¶
-
-
exception
designate.backend.impl_akamai.
DuplicateZone
(*args, **kwargs)[source]¶ Bases:
designate.exceptions.DuplicateZone
,designate.backend.impl_akamai.EnhancedDNSException
Raised when an attempt to create a zone which is registered to another Akamai account is made
-
class
designate.backend.impl_akamai.
EnhancedDNSClient
(username, password)[source]¶ Bases:
object
EnhancedDNS SOAP API Client
-
exception
designate.backend.impl_akamai.
EnhancedDNSException
[source]¶ Bases:
designate.exceptions.Backend
-
class
designate.backend.impl_akamai.
EnhancedDNSHttpAuthenticated
(**kwargs)[source]¶ Bases:
suds.transport.https.HttpAuthenticated
-
exception
designate.backend.impl_akamai.
Forbidden
(*args, **kwargs)[source]¶ Bases:
designate.exceptions.Forbidden
,designate.backend.impl_akamai.EnhancedDNSException
Raised when an attempt to modify a zone which is registered to another Akamai account is made.
This appears to be returned when creating a new subzone of zone which already exists in another Akamai account.
Backend Bind9¶
Bind 9 backend. Create and delete zones by executing rndc
-
class
designate.backend.impl_bind9.
Bind9Backend
(target)[source]¶
Backend Designate¶
Backend Dynect¶
-
class
designate.backend.impl_dynect.
DynClient
(customer_name, user_name, password, endpoint='https://api.dynect.net:443', api_version='3.5.6', headers=None, verify=True, retries=1, timeout=10, timings=False, pool_maxsize=10, pool_connections=10)[source]¶ Bases:
object
DynECT service client.
-
poll_response
(response)[source]¶ The API might return a job nr in the response in case of a async response: https://github.com/fog/fog/issues/575
-
-
exception
designate.backend.impl_dynect.
DynClientAuthError
(data=None, job_id=None, msgs=None, http_status=None, url=None, method=None, details=None)[source]¶
-
exception
designate.backend.impl_dynect.
DynClientError
(data=None, job_id=None, msgs=None, http_status=None, url=None, method=None, details=None)[source]¶ Bases:
designate.exceptions.Backend
The base exception class for all HTTP exceptions.
-
exception
designate.backend.impl_dynect.
DynClientOperationBlocked
(*args, **kwargs)[source]¶ Bases:
designate.exceptions.BadRequest
,designate.backend.impl_dynect.DynClientError
-
error_type
= 'operation_blocked'¶
-
-
class
designate.backend.impl_dynect.
DynECTBackend
(target)[source]¶ Bases:
designate.backend.base.Backend
Support for DynECT as a secondary DNS.