Permalink
Browse files

Add 'website' attribute to the DNS driver constructor docstrings. Con…

…tributed by

Ilgiz Islamgulov part of LIBCLOUD-217.


git-svn-id: https://svn.apache.org/repos/asf/libcloud/trunk@1352380 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent c0ed4bf commit 40a286a07bc53666f72eb2a4452f45e11ade32f4 @Kami Kami committed Jun 21, 2012
View
@@ -131,6 +131,7 @@ class DNSDriver(BaseDriver):
"""
connectionCls = ConnectionUserAndKey
name = None
+ website = None
def __init__(self, key, secret=None, secure=True, host=None, port=None, **kwargs):
"""
@@ -31,6 +31,7 @@ class DummyDNSDriver(DNSDriver):
"""
name = 'Dummy DNS Provider'
+ website = 'http://example.com'
def __init__(self, api_key, api_secret):
"""
@@ -58,6 +58,7 @@ class LinodeDNSConnection(LinodeConnection):
class LinodeDNSDriver(DNSDriver):
type = Provider.LINODE
name = 'Linode DNS'
+ website = 'http://www.linode.com/'
connectionCls = LinodeDNSConnection
RECORD_TYPE_MAP = {
@@ -128,6 +128,7 @@ class RackspaceUKDNSConnection(RackspaceDNSConnection):
class RackspaceDNSDriver(DNSDriver, OpenStackDriverMixin):
+ website = 'http://www.rackspace.com/'
def __init__(self, *args, **kwargs):
"""
@@ -113,6 +113,7 @@ def _get_aws_auth_b64(self, secret_key, time_string):
class Route53DNSDriver(DNSDriver):
type = Provider.ROUTE53
name = 'Route53 DNS'
+ website = 'http://aws.amazon.com/route53/'
connectionCls = Route53Connection
RECORD_TYPE_MAP = {
@@ -125,6 +125,7 @@ def request(self, action, params=None, data='', headers=None,
class ZerigoDNSDriver(DNSDriver):
type = Provider.ZERIGO
name = 'Zerigo DNS'
+ website = 'http://www.zerigo.com/'
connectionCls = ZerigoDNSConnection
RECORD_TYPE_MAP = {

0 comments on commit 40a286a

Please sign in to comment.