libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject git commit: Clarify 'domain' and 'name' docstring in the DNS example.
Date Sat, 17 Aug 2013 18:18:00 GMT
Updated Branches:
  refs/heads/trunk e72a88b26 -> d3b55e77d


Clarify 'domain' and 'name' docstring in the DNS example.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/d3b55e77
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/d3b55e77
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/d3b55e77

Branch: refs/heads/trunk
Commit: d3b55e77d8d9ef3db887c6a3b55c818fd908b408
Parents: e72a88b
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Sat Aug 17 20:07:53 2013 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sat Aug 17 20:07:53 2013 +0200

----------------------------------------------------------------------
 libcloud/dns/base.py | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d3b55e77/libcloud/dns/base.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/base.py b/libcloud/dns/base.py
index e025a3e..a6d5384 100644
--- a/libcloud/dns/base.py
+++ b/libcloud/dns/base.py
@@ -237,7 +237,7 @@ class DNSDriver(BaseDriver):
         """
         Create a new zone.
 
-        :param domain: Zone domain name.
+        :param domain: Zone domain name (e.g. example.com)
         :type domain: ``str``
 
         :param type: Zone type (master / slave).
@@ -261,7 +261,7 @@ class DNSDriver(BaseDriver):
         :param zone: Zone to update.
         :type  zone: :class:`Zone`
 
-        :param domain: Zone domain name.
+        :param domain: Zone domain name (e.g. example.com)
         :type  domain: ``str``
 
         :param type: Zone type (master / slave).
@@ -282,7 +282,10 @@ class DNSDriver(BaseDriver):
         """
         Create a new record.
 
-        :param name: Hostname or FQDN.
+        :param name: Record name without the domain name (e.g. www).
+                     Note: If you want to create a record for a base domain
+                     name, you should specify empty string ('') for this
+                     argument.
         :type  name: ``str``
 
         :param zone: Zone where the requested record is created.
@@ -309,7 +312,10 @@ class DNSDriver(BaseDriver):
         :param record: Record to update.
         :type  record: :class:`Record`
 
-        :param name: Hostname or FQDN.
+        :param name: Record name without the domain name (e.g. www).
+                     Note: If you want to create a record for a base domain
+                     name, you should specify empty string ('') for this
+                     argument.
         :type  name: ``str``
 
         :param type: DNS record type (A, AAAA, ...).


Mime
View raw message