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 <ktdre...@ktdreyer.com> Authored: Tue Apr 12 16:22:10 2016 -0600 Committer: anthony-shaw <anthonys...@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'