You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/04/14 18:56:18 UTC
[1/7] libcloud git commit: backup: sort Provider types
Repository: libcloud
Updated Branches:
refs/heads/trunk 1874dbd2b -> eaba89186
backup: sort Provider types
Sort the list of backup Providers alphabetically so it is simpler to
insert new providers.
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6fb35d48
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6fb35d48
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6fb35d48
Branch: refs/heads/trunk
Commit: 6fb35d48904987e735767c4f36698ba1bac33b53
Parents: 1874dbd
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 07:56:36 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:05 2016 +0200
----------------------------------------------------------------------
libcloud/backup/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6fb35d48/libcloud/backup/types.py
----------------------------------------------------------------------
diff --git a/libcloud/backup/types.py b/libcloud/backup/types.py
index 0264268..022301a 100644
--- a/libcloud/backup/types.py
+++ b/libcloud/backup/types.py
@@ -22,9 +22,9 @@ __all__ = [
class Provider(object):
DUMMY = 'dummy'
+ DIMENSIONDATA = 'dimensiondata'
EBS = 'ebs'
GCE = 'gce'
- DIMENSIONDATA = 'dimensiondata'
class BackupTargetType(object):
[2/7] libcloud git commit: compute: sort Providers types
Posted by to...@apache.org.
compute: sort Providers types
Sort the list of compute Providers alphabetically so it is simpler to
insert new providers.
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/4063a169
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/4063a169
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/4063a169
Branch: refs/heads/trunk
Commit: 4063a169348674312adc44f556238b541c079f34
Parents: 6fb35d4
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 07:57:26 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:21 2016 +0200
----------------------------------------------------------------------
libcloud/compute/types.py | 156 ++++++++++++++++++++---------------------
1 file changed, 78 insertions(+), 78 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/4063a169/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index f2abf96..5f53cbd 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -60,111 +60,111 @@ class Provider(Type):
Defines for each of the supported providers
:cvar DUMMY: Example provider
+ :cvar ABIQUO: Abiquo driver
+ :cvar ALIYUN_ECS: Aliyun ECS driver.
+ :cvar AURORACOMPUTE: Aurora Compute driver.
+ :cvar AZURE: Azure driver.
+ :cvar BLUEBOX: Bluebox
+ :cvar CLOUDSIGMA: CloudSigma
+ :cvar CLOUDSIGMA_US: CloudSigma US Las Vegas
+ :cvar CLOUDSTACK: CloudStack
+ :cvar DIMENSIONDATA: Dimension Data Cloud
+ :cvar EC2_EU_WEST: Amazon AWS EU Ireland
:cvar EC2_US_EAST: Amazon AWS US N. Virgina
:cvar EC2_US_WEST: Amazon AWS US N. California
- :cvar EC2_EU_WEST: Amazon AWS EU Ireland
- :cvar RACKSPACE: Rackspace next-gen OpenStack based Cloud Servers
- :cvar RACKSPACE_FIRST_GEN: Rackspace First Gen Cloud Servers
+ :cvar EC2_US_WEST_OREGON: Amazon AWS US West 2 (Oregon)
+ :cvar ECP: Enomaly
+ :cvar ELASTICHOSTS: ElasticHosts.com
+ :cvar EXOSCALE: Exoscale driver.
:cvar GCE: Google Compute Engine
:cvar GOGRID: GoGrid
- :cvar VPSNET: VPS.net
- :cvar LINODE: Linode.com
- :cvar VCLOUD: vmware vCloud
- :cvar RIMUHOSTING: RimuHosting.com
- :cvar ECP: Enomaly
+ :cvar GRIDSPOT: Gridspot driver
:cvar IBM: IBM Developer Cloud
- :cvar OPENNEBULA: OpenNebula.org
- :cvar ELASTICHOSTS: ElasticHosts.com
- :cvar CLOUDSIGMA: CloudSigma
- :cvar NIMBUS: Nimbus
- :cvar BLUEBOX: Bluebox
- :cvar OPSOURCE: Opsource Cloud
- :cvar DIMENSIONDATA: Dimension Data Cloud
- :cvar NINEFOLD: Ninefold
- :cvar TERREMARK: Terremark
- :cvar EC2_US_WEST_OREGON: Amazon AWS US West 2 (Oregon)
- :cvar CLOUDSTACK: CloudStack
- :cvar CLOUDSIGMA_US: CloudSigma US Las Vegas
- :cvar LIBVIRT: Libvirt driver
+ :cvar IKOULA: Ikoula driver.
:cvar JOYENT: Joyent driver
- :cvar VCL: VCL driver
:cvar KTUCLOUD: kt ucloud driver
- :cvar GRIDSPOT: Gridspot driver
- :cvar ABIQUO: Abiquo driver
+ :cvar LIBVIRT: Libvirt driver
+ :cvar LINODE: Linode.com
:cvar NEPHOSCALE: NephoScale driver
- :cvar EXOSCALE: Exoscale driver.
- :cvar IKOULA: Ikoula driver.
- :cvar OUTSCALE_SAS: Outscale SAS driver.
+ :cvar NIMBUS: Nimbus
+ :cvar NINEFOLD: Ninefold
+ :cvar OPENNEBULA: OpenNebula.org
+ :cvar OPSOURCE: Opsource Cloud
:cvar OUTSCALE_INC: Outscale INC driver.
+ :cvar OUTSCALE_SAS: Outscale SAS driver.
:cvar PROFIT_BRICKS: ProfitBricks driver.
+ :cvar RACKSPACE: Rackspace next-gen OpenStack based Cloud Servers
+ :cvar RACKSPACE_FIRST_GEN: Rackspace First Gen Cloud Servers
+ :cvar RIMUHOSTING: RimuHosting.com
+ :cvar TERREMARK: Terremark
+ :cvar VCL: VCL driver
+ :cvar VCLOUD: vmware vCloud
+ :cvar VPSNET: VPS.net
:cvar VULTR: vultr driver.
- :cvar AZURE: Azure driver.
- :cvar AURORACOMPUTE: Aurora Compute driver.
- :cvar ALIYUN_ECS: Aliyun ECS driver.
"""
- AZURE = 'azure'
DUMMY = 'dummy'
+ ABIQUO = 'abiquo'
+ ALIYUN_ECS = 'aliyun_ecs'
+ AURORACOMPUTE = 'aurora_compute'
+ AZURE = 'azure'
+ BLUEBOX = 'bluebox'
+ BRIGHTBOX = 'brightbox'
+ BSNL = 'bsnl'
+ CISCOCCS = 'ciscoccs'
+ CLOUDFRAMES = 'cloudframes'
+ CLOUDSIGMA = 'cloudsigma'
+ CLOUDSTACK = 'cloudstack'
+ CLOUDWATT = 'cloudwatt'
+ DIGITAL_OCEAN = 'digitalocean'
+ DIMENSIONDATA = 'dimensiondata'
EC2 = 'ec2'
- RACKSPACE = 'rackspace'
+ ECP = 'ecp'
+ ELASTICHOSTS = 'elastichosts'
+ EUCALYPTUS = 'eucalyptus'
+ EXOSCALE = 'exoscale'
+ GANDI = 'gandi'
GCE = 'gce'
GOGRID = 'gogrid'
- VPSNET = 'vpsnet'
- LINODE = 'linode'
- VCLOUD = 'vcloud'
- RIMUHOSTING = 'rimuhosting'
- VOXEL = 'voxel'
- SOFTLAYER = 'softlayer'
- EUCALYPTUS = 'eucalyptus'
- ECP = 'ecp'
+ GRIDSPOT = 'gridspot'
+ HOSTVIRTUAL = 'hostvirtual'
IBM = 'ibm'
- OPENNEBULA = 'opennebula'
- ELASTICHOSTS = 'elastichosts'
- BRIGHTBOX = 'brightbox'
- CLOUDSIGMA = 'cloudsigma'
+ IKOULA = 'ikoula'
+ INDOSAT = 'indosat'
+ INTERNETSOLUTIONS = 'internetsolutions'
+ JOYENT = 'joyent'
+ KTUCLOUD = 'ktucloud'
+ LIBVIRT = 'libvirt'
+ LINODE = 'linode'
+ MEDONE = 'medone'
+ NEPHOSCALE = 'nephoscale'
NIMBUS = 'nimbus'
- BLUEBOX = 'bluebox'
- GANDI = 'gandi'
- OPSOURCE = 'opsource'
- DIMENSIONDATA = 'dimensiondata'
+ NINEFOLD = 'ninefold'
+ NTTA = 'ntta'
+ OPENNEBULA = 'opennebula'
OPENSTACK = 'openstack'
- SKALICLOUD = 'skalicloud'
+ OPSOURCE = 'opsource'
+ OUTSCALE_INC = 'outscale_inc'
+ OUTSCALE_SAS = 'outscale_sas'
+ PACKET = 'packet'
+ PROFIT_BRICKS = 'profitbricks'
+ RACKSPACE = 'rackspace'
+ RACKSPACE_FIRST_GEN = 'rackspace_first_gen'
+ RIMUHOSTING = 'rimuhosting'
+ RUNABOVE = 'runabove'
SERVERLOVE = 'serverlove'
- NINEFOLD = 'ninefold'
+ SKALICLOUD = 'skalicloud'
+ SOFTLAYER = 'softlayer'
TERREMARK = 'terremark'
- CLOUDSTACK = 'cloudstack'
- LIBVIRT = 'libvirt'
- JOYENT = 'joyent'
VCL = 'vcl'
- KTUCLOUD = 'ktucloud'
- GRIDSPOT = 'gridspot'
- RACKSPACE_FIRST_GEN = 'rackspace_first_gen'
- HOSTVIRTUAL = 'hostvirtual'
- ABIQUO = 'abiquo'
- DIGITAL_OCEAN = 'digitalocean'
- NEPHOSCALE = 'nephoscale'
- CLOUDFRAMES = 'cloudframes'
- EXOSCALE = 'exoscale'
- IKOULA = 'ikoula'
- OUTSCALE_SAS = 'outscale_sas'
- OUTSCALE_INC = 'outscale_inc'
+ VCLOUD = 'vcloud'
+ VOXEL = 'voxel'
+ VPSNET = 'vpsnet'
VSPHERE = 'vsphere'
- PROFIT_BRICKS = 'profitbricks'
VULTR = 'vultr'
- AURORACOMPUTE = 'aurora_compute'
- CLOUDWATT = 'cloudwatt'
- PACKET = 'packet'
- RUNABOVE = 'runabove'
- INTERNETSOLUTIONS = 'internetsolutions'
- INDOSAT = 'indosat'
- BSNL = 'bsnl'
- NTTA = 'ntta'
- MEDONE = 'medone'
- CISCOCCS = 'ciscoccs'
- ALIYUN_ECS = 'aliyun_ecs'
# OpenStack based providers
- HPCLOUD = 'hpcloud'
CLOUDWATT = 'cloudwatt'
+ HPCLOUD = 'hpcloud'
KILI = 'kili'
ONAPP = 'onapp'
[4/7] libcloud git commit: loadbalancer: sort Providers types
Posted by to...@apache.org.
loadbalancer: sort Providers types
Sort the list of loadbalancer Providers alphabetically so it is simpler
to insert new providers.
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9380a5d0
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9380a5d0
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9380a5d0
Branch: refs/heads/trunk
Commit: 9380a5d0832e658afd47044f03a92cf4bac6f7cb
Parents: 460198d
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 07:58:18 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:27 2016 +0200
----------------------------------------------------------------------
libcloud/loadbalancer/types.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/9380a5d0/libcloud/loadbalancer/types.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/types.py b/libcloud/loadbalancer/types.py
index b0fba05..6e3340a 100644
--- a/libcloud/loadbalancer/types.py
+++ b/libcloud/loadbalancer/types.py
@@ -37,16 +37,16 @@ class Provider(object):
"""
:cvar ALIYUN_SLB: Aliyun SLB loadbalancer driver
"""
- RACKSPACE = 'rackspace'
- GOGRID = 'gogrid'
- NINEFOLD = 'ninefold'
+ ALIYUN_SLB = 'aliyun_slb'
BRIGHTBOX = 'brightbox'
- ELB = 'elb'
CLOUDSTACK = 'cloudstack'
+ DIMENSIONDATA = 'dimensiondata'
+ ELB = 'elb'
GCE = 'gce'
+ GOGRID = 'gogrid'
+ NINEFOLD = 'ninefold'
+ RACKSPACE = 'rackspace'
SOFTLAYER = 'softlayer'
- DIMENSIONDATA = 'dimensiondata'
- ALIYUN_SLB = 'aliyun_slb'
# Deprecated
RACKSPACE_US = 'rackspace_us'
[3/7] libcloud git commit: container: sort Providers types
Posted by to...@apache.org.
container: sort Providers types
Sort the list of container Providers alphabetically so it is simpler to
insert new providers.
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/460198db
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/460198db
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/460198db
Branch: refs/heads/trunk
Commit: 460198db1f42068636c06316ec06dfe29610f63b
Parents: 4063a16
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 07:57:56 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:24 2016 +0200
----------------------------------------------------------------------
libcloud/container/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/460198db/libcloud/container/types.py
----------------------------------------------------------------------
diff --git a/libcloud/container/types.py b/libcloud/container/types.py
index 263d9d4..61b1c2e 100644
--- a/libcloud/container/types.py
+++ b/libcloud/container/types.py
@@ -42,8 +42,8 @@ class Type(object):
class Provider(object):
DUMMY = 'dummy'
DOCKER = 'docker'
- JOYENT = 'joyent'
ECS = 'ecs'
+ JOYENT = 'joyent'
KUBERNETES = 'kubernetes'
[6/7] libcloud git commit: add doc string comments re: Provider sort
ordering
Posted by to...@apache.org.
add doc string comments re: Provider sort ordering
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/02dc1303
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/02dc1303
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/02dc1303
Branch: refs/heads/trunk
Commit: 02dc1303532dcc8245af94b0dcab3409c376096e
Parents: 50c7711
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 10:42:13 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:33 2016 +0200
----------------------------------------------------------------------
libcloud/backup/types.py | 6 ++++++
libcloud/compute/types.py | 3 +++
libcloud/container/types.py | 6 ++++++
libcloud/dns/types.py | 6 ++++++
libcloud/loadbalancer/types.py | 5 +++++
libcloud/storage/types.py | 3 +++
6 files changed, 29 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/backup/types.py
----------------------------------------------------------------------
diff --git a/libcloud/backup/types.py b/libcloud/backup/types.py
index 022301a..8a4f987 100644
--- a/libcloud/backup/types.py
+++ b/libcloud/backup/types.py
@@ -21,6 +21,12 @@ __all__ = [
class Provider(object):
+ """
+ Defines for each of the supported providers
+
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+ """
DUMMY = 'dummy'
DIMENSIONDATA = 'dimensiondata'
EBS = 'ebs'
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index 5f53cbd..43e6fd8 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -59,6 +59,9 @@ class Provider(Type):
"""
Defines for each of the supported providers
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+
:cvar DUMMY: Example provider
:cvar ABIQUO: Abiquo driver
:cvar ALIYUN_ECS: Aliyun ECS driver.
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/container/types.py
----------------------------------------------------------------------
diff --git a/libcloud/container/types.py b/libcloud/container/types.py
index 61b1c2e..bddca7f 100644
--- a/libcloud/container/types.py
+++ b/libcloud/container/types.py
@@ -40,6 +40,12 @@ class Type(object):
class Provider(object):
+ """
+ Defines for each of the supported providers
+
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+ """
DUMMY = 'dummy'
DOCKER = 'docker'
ECS = 'ecs'
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/dns/types.py
----------------------------------------------------------------------
diff --git a/libcloud/dns/types.py b/libcloud/dns/types.py
index 35994e7..d1fac12 100644
--- a/libcloud/dns/types.py
+++ b/libcloud/dns/types.py
@@ -30,6 +30,12 @@ __all__ = [
class Provider(object):
+ """
+ Defines for each of the supported providers
+
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+ """
DUMMY = 'dummy'
AURORADNS = 'auroradns'
BUDDYNS = 'buddyns'
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/loadbalancer/types.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/types.py b/libcloud/loadbalancer/types.py
index 6e3340a..391fdf7 100644
--- a/libcloud/loadbalancer/types.py
+++ b/libcloud/loadbalancer/types.py
@@ -35,6 +35,11 @@ class LibcloudLBImmutableError(LibcloudLBError):
class Provider(object):
"""
+ Defines for each of the supported providers
+
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+
:cvar ALIYUN_SLB: Aliyun SLB loadbalancer driver
"""
ALIYUN_SLB = 'aliyun_slb'
http://git-wip-us.apache.org/repos/asf/libcloud/blob/02dc1303/libcloud/storage/types.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/types.py b/libcloud/storage/types.py
index 0879934..c4c61bd 100644
--- a/libcloud/storage/types.py
+++ b/libcloud/storage/types.py
@@ -34,6 +34,9 @@ class Provider(object):
"""
Defines for each of the supported providers
+ Non-Dummy drivers are sorted in alphabetical order. Please preserve this
+ ordering when adding new drivers.
+
:cvar DUMMY: Example provider
:cvar ALIYUN_OSS: Aliyun OSS storage driver
:cvar AURORAOBJECTS: AuroraObjects storage driver
[7/7] libcloud git commit: Remove docstrings for deprecated drivers.
Posted by to...@apache.org.
Remove docstrings for deprecated drivers.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/eaba8918
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/eaba8918
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/eaba8918
Branch: refs/heads/trunk
Commit: eaba89186facee090782b905b286cc1f75e21f73
Parents: 02dc130
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Thu Apr 14 18:54:58 2016 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:54:58 2016 +0200
----------------------------------------------------------------------
libcloud/compute/types.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/eaba8918/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index 43e6fd8..49f63a3 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -69,13 +69,9 @@ class Provider(Type):
:cvar AZURE: Azure driver.
:cvar BLUEBOX: Bluebox
:cvar CLOUDSIGMA: CloudSigma
- :cvar CLOUDSIGMA_US: CloudSigma US Las Vegas
:cvar CLOUDSTACK: CloudStack
:cvar DIMENSIONDATA: Dimension Data Cloud
- :cvar EC2_EU_WEST: Amazon AWS EU Ireland
- :cvar EC2_US_EAST: Amazon AWS US N. Virgina
- :cvar EC2_US_WEST: Amazon AWS US N. California
- :cvar EC2_US_WEST_OREGON: Amazon AWS US West 2 (Oregon)
+ :cvar EC2: Amazon AWS.
:cvar ECP: Enomaly
:cvar ELASTICHOSTS: ElasticHosts.com
:cvar EXOSCALE: Exoscale driver.
[5/7] libcloud git commit: storage: sort Providers types
Posted by to...@apache.org.
storage: sort Providers types
Sort the list of storage Providers alphabetically so it is simpler to
insert new providers.
Closes #748
Signed-off-by: Tomaz Muraus <to...@tomaz.me>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/50c77116
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/50c77116
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/50c77116
Branch: refs/heads/trunk
Commit: 50c77116d6d7fd3e192b7c2c7c2638db80f59765
Parents: 9380a5d
Author: Ken Dreyer <kt...@ktdreyer.com>
Authored: Wed Apr 13 07:58:42 2016 -0600
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Thu Apr 14 18:48:30 2016 +0200
----------------------------------------------------------------------
libcloud/storage/types.py | 48 +++++++++++++++++++++---------------------
1 file changed, 24 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/50c77116/libcloud/storage/types.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/types.py b/libcloud/storage/types.py
index ea8f645..0879934 100644
--- a/libcloud/storage/types.py
+++ b/libcloud/storage/types.py
@@ -35,43 +35,43 @@ class Provider(object):
Defines for each of the supported providers
:cvar DUMMY: Example provider
+ :cvar ALIYUN_OSS: Aliyun OSS storage driver
+ :cvar AURORAOBJECTS: AuroraObjects storage driver
:cvar CLOUDFILES: CloudFiles
+ :cvar GOOGLE_STORAGE Google Storage
+ :cvar LOCAL: Local storage driver
+ :cvar NIMBUS: Nimbus.io driver
+ :cvar NINEFOLD: Ninefold
:cvar S3: Amazon S3 US
- :cvar S3_US_WEST: Amazon S3 US West (Northern California)
- :cvar S3_EU_WEST: Amazon S3 EU West (Ireland)
- :cvar S3_AP_SOUTHEAST_HOST: Amazon S3 Asia South East (Singapore)
:cvar S3_AP_NORTHEAST_HOST: Amazon S3 Asia South East (Tokyo)
+ :cvar S3_AP_SOUTHEAST_HOST: Amazon S3 Asia South East (Singapore)
+ :cvar S3_EU_WEST: Amazon S3 EU West (Ireland)
:cvar S3_RGW_OUTSCALE: OUTSCALE RGW S3
- :cvar NINEFOLD: Ninefold
- :cvar GOOGLE_STORAGE Google Storage
+ :cvar S3_US_WEST: Amazon S3 US West (Northern California)
:cvar S3_US_WEST_OREGON: Amazon S3 US West 2 (Oregon)
- :cvar NIMBUS: Nimbus.io driver
- :cvar LOCAL: Local storage driver
- :cvar AURORAOBJECTS: AuroraObjects storage driver
- :cvar ALIYUN_OSS: Aliyun OSS storage driver
"""
DUMMY = 'dummy'
+ ALIYUN_OSS = 'aliyun_oss'
+ AURORAOBJECTS = 'auroraobjects'
+ AZURE_BLOBS = 'azure_blobs'
+ BACKBLAZE_B2 = 'backblaze_b2'
+ CLOUDFILES = 'cloudfiles'
+ GOOGLE_STORAGE = 'google_storage'
+ KTUCLOUD = 'ktucloud'
+ LOCAL = 'local'
+ NIMBUS = 'nimbus'
+ NINEFOLD = 'ninefold'
+ OPENSTACK_SWIFT = 'openstack_swift'
S3 = 's3'
- S3_US_WEST = 's3_us_west'
- S3_EU_WEST = 's3_eu_west'
- S3_AP_SOUTHEAST = 's3_ap_southeast'
S3_AP_NORTHEAST = 's3_ap_northeast'
S3_AP_NORTHEAST1 = 's3_ap_northeast_1'
S3_AP_NORTHEAST2 = 's3_ap_northeast_2'
- S3_SA_EAST = 's3_sa_east'
+ S3_AP_SOUTHEAST = 's3_ap_southeast'
+ S3_EU_WEST = 's3_eu_west'
S3_RGW_OUTSCALE = 's3_rgw_outscale'
- NINEFOLD = 'ninefold'
- GOOGLE_STORAGE = 'google_storage'
+ S3_SA_EAST = 's3_sa_east'
+ S3_US_WEST = 's3_us_west'
S3_US_WEST_OREGON = 's3_us_west_oregon'
- NIMBUS = 'nimbus'
- LOCAL = 'local'
- OPENSTACK_SWIFT = 'openstack_swift'
- CLOUDFILES = 'cloudfiles'
- AZURE_BLOBS = 'azure_blobs'
- KTUCLOUD = 'ktucloud'
- AURORAOBJECTS = 'auroraobjects'
- BACKBLAZE_B2 = 'backblaze_b2'
- ALIYUN_OSS = 'aliyun_oss'
# Deperecated
CLOUDFILES_US = 'cloudfiles_us'