You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/04/13 01:53:03 UTC

[1/2] libcloud git commit: dns: sort RecordTypes

Repository: libcloud
Updated Branches:
  refs/heads/trunk e69d6da35 -> 48a3fb906


dns: sort RecordTypes

Sort the list of RecordTypes alphabetically. This will make it simpler
to insert new record types.


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

Branch: refs/heads/trunk
Commit: 53250b06b40b1229f7432eaaa970971a553356be
Parents: e69d6da
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Tue Apr 12 16:20:37 2016 -0600
Committer: anthony-shaw <an...@apache.org>
Committed: Wed Apr 13 09:52:27 2016 +1000

----------------------------------------------------------------------
 libcloud/dns/types.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/53250b06/libcloud/dns/types.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/types.py b/libcloud/dns/types.py
index 0ef8417..119bac9 100644
--- a/libcloud/dns/types.py
+++ b/libcloud/dns/types.py
@@ -72,24 +72,24 @@ class RecordType(object):
     A = 'A'
     AAAA = 'AAAA'
     ALIAS = 'ALIAS'
-    MX = 'MX'
-    NS = 'NS'
     CNAME = 'CNAME'
     DNAME = 'DNAME'
+    GEO = 'GEO'
     HINFO = 'HINFO'
-    TXT = 'TXT'
+    LOC = 'LOC'
+    MX = 'MX'
+    NAPTR = 'NAPTR'
+    NS = 'NS'
     PTR = 'PTR'
+    REDIRECT = 'REDIRECT'
+    RP = 'RP'
     SOA = 'SOA'
     SPF = 'SPF'
     SRV = 'SRV'
     SSHFP = 'SSHFP'
-    RP = 'RP'
-    NAPTR = 'NAPTR'
-    REDIRECT = 'REDIRECT'
-    GEO = 'GEO'
+    TXT = 'TXT'
     URL = 'URL'
     WKS = 'WKS'
-    LOC = 'LOC'
 
 
 class ZoneError(LibcloudError):


[2/2] libcloud git commit: dns: sort Provider types Closes #745 Sort the list of DNS Providers alphabetically so it is simpler to insert new providers.

Posted by an...@apache.org.
dns: sort Provider types
Closes #745
Sort the list of DNS Providers alphabetically so it is simpler to insert
new providers.


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

Branch: refs/heads/trunk
Commit: 48a3fb9067ce424f30599526246f731dee70d7b9
Parents: 53250b0
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Tue Apr 12 16:22:10 2016 -0600
Committer: anthony-shaw <an...@apache.org>
Committed: Wed Apr 13 09:52:32 2016 +1000

----------------------------------------------------------------------
 libcloud/dns/types.py | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/48a3fb90/libcloud/dns/types.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/types.py b/libcloud/dns/types.py
index 119bac9..35994e7 100644
--- a/libcloud/dns/types.py
+++ b/libcloud/dns/types.py
@@ -31,29 +31,29 @@ __all__ = [
 
 class Provider(object):
     DUMMY = 'dummy'
-    LINODE = 'linode'
-    RACKSPACE = 'rackspace'
-    ZERIGO = 'zerigo'
-    ROUTE53 = 'route53'
-    HOSTVIRTUAL = 'hostvirtual'
-    GANDI = 'gandi'
-    GOOGLE = 'google'
-    SOFTLAYER = 'softlayer'
-    DIGITAL_OCEAN = 'digitalocean'
     AURORADNS = 'auroradns'
-    WORLDWIDEDNS = 'worldwidedns'
+    BUDDYNS = 'buddyns'
+    CLOUDFLARE = 'cloudflare'
+    DIGITAL_OCEAN = 'digitalocean'
     DNSIMPLE = 'dnsimple'
-    POINTDNS = 'pointdns'
-    VULTR = 'vultr'
-    LIQUIDWEB = 'liquidweb'
-    ZONOMI = 'zonomi'
     DURABLEDNS = 'durabledns'
+    GANDI = 'gandi'
     GODADDY = 'godaddy'
-    CLOUDFLARE = 'cloudflare'
-    NSONE = 'nsone'
+    GOOGLE = 'google'
+    HOSTVIRTUAL = 'hostvirtual'
+    LINODE = 'linode'
+    LIQUIDWEB = 'liquidweb'
     LUADNS = 'luadns'
     NFSN = 'nfsn'
-    BUDDYNS = 'buddyns'
+    NSONE = 'nsone'
+    POINTDNS = 'pointdns'
+    RACKSPACE = 'rackspace'
+    ROUTE53 = 'route53'
+    SOFTLAYER = 'softlayer'
+    VULTR = 'vultr'
+    WORLDWIDEDNS = 'worldwidedns'
+    ZERIGO = 'zerigo'
+    ZONOMI = 'zonomi'
     # Deprecated
     RACKSPACE_US = 'rackspace_us'
     RACKSPACE_UK = 'rackspace_uk'