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 2020/11/03 15:52:17 UTC

[libcloud] branch trunk updated (d9c1701 -> 26a1ea6)

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git.


    from d9c1701  Add additional test case and assertions.
     new 6b9ab0a  Fix lint and code issue.
     new 5dc072d  Fix lint.
     new b092129  Add tests for local storage lock context manager.
     new 26a1ea6  Re-generate provider tables.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/compute/_supported_methods_block_storage.rst  |   2 +
 .../_supported_methods_image_management.rst        |   2 +
 .../_supported_methods_key_pair_management.rst     |   2 +
 docs/compute/_supported_methods_main.rst           |   2 +
 docs/compute/_supported_providers.rst              | 140 +++++++++++----------
 docs/storage/_supported_methods_cdn.rst            |   1 -
 docs/storage/_supported_methods_main.rst           |   2 -
 docs/storage/_supported_providers.rst              |  39 +++---
 libcloud/storage/drivers/local.py                  |  20 +--
 libcloud/test/storage/test_local.py                |  49 +++++++-
 10 files changed, 158 insertions(+), 101 deletions(-)


[libcloud] 04/04: Re-generate provider tables.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 26a1ea6d66eea9c6412bb10ded3718ad38c4a737
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Tue Nov 3 16:52:04 2020 +0100

    Re-generate provider tables.
---
 docs/compute/_supported_methods_block_storage.rst  |   2 +
 .../_supported_methods_image_management.rst        |   2 +
 .../_supported_methods_key_pair_management.rst     |   2 +
 docs/compute/_supported_methods_main.rst           |   2 +
 docs/compute/_supported_providers.rst              | 140 +++++++++++----------
 docs/storage/_supported_methods_cdn.rst            |   1 -
 docs/storage/_supported_methods_main.rst           |   2 -
 docs/storage/_supported_providers.rst              |  39 +++---
 8 files changed, 98 insertions(+), 92 deletions(-)

diff --git a/docs/compute/_supported_methods_block_storage.rst b/docs/compute/_supported_methods_block_storage.rst
index f7c796b..4d24dfb 100644
--- a/docs/compute/_supported_methods_block_storage.rst
+++ b/docs/compute/_supported_methods_block_storage.rst
@@ -67,6 +67,7 @@ Provider                              list volumes create volume destroy volume
 `vCloud`_                             no           no            no             no            no            no             no             
 `Voxel VoxCLOUD`_                     no           no            no             no            no            no             no             
 `vps.net`_                            no           no            no             no            no            no             no             
+`VMware vSphere`_                     no           no            no             no            no            no             no             
 `Vultr`_                              no           no            no             no            no            no             no             
 ===================================== ============ ============= ============== ============= ============= ============== ===============
 
@@ -134,4 +135,5 @@ Provider                              list volumes create volume destroy volume
 .. _`vCloud`: http://www.vmware.com/products/vcloud/
 .. _`Voxel VoxCLOUD`: http://www.voxel.net/
 .. _`vps.net`: http://vps.net/
+.. _`VMware vSphere`: http://www.vmware.com/products/vsphere/
 .. _`Vultr`: https://www.vultr.com
diff --git a/docs/compute/_supported_methods_image_management.rst b/docs/compute/_supported_methods_image_management.rst
index 8c6749d..6a82123 100644
--- a/docs/compute/_supported_methods_image_management.rst
+++ b/docs/compute/_supported_methods_image_management.rst
@@ -67,6 +67,7 @@ Provider                              list images get image create image delete
 `vCloud`_                             yes         no        no           no           no        
 `Voxel VoxCLOUD`_                     yes         no        no           no           no        
 `vps.net`_                            yes         no        no           no           no        
+`VMware vSphere`_                     yes         no        no           no           no        
 `Vultr`_                              yes         no        no           no           no        
 ===================================== =========== ========= ============ ============ ==========
 
@@ -134,4 +135,5 @@ Provider                              list images get image create image delete
 .. _`vCloud`: http://www.vmware.com/products/vcloud/
 .. _`Voxel VoxCLOUD`: http://www.voxel.net/
 .. _`vps.net`: http://vps.net/
+.. _`VMware vSphere`: http://www.vmware.com/products/vsphere/
 .. _`Vultr`: https://www.vultr.com
diff --git a/docs/compute/_supported_methods_key_pair_management.rst b/docs/compute/_supported_methods_key_pair_management.rst
index f5e484c..cb2c0de 100644
--- a/docs/compute/_supported_methods_key_pair_management.rst
+++ b/docs/compute/_supported_methods_key_pair_management.rst
@@ -67,6 +67,7 @@ Provider                              list key pairs get key pair create key pai
 `vCloud`_                             no             no           no              no                            no                          no             
 `Voxel VoxCLOUD`_                     no             no           no              no                            no                          no             
 `vps.net`_                            no             no           no              no                            no                          no             
+`VMware vSphere`_                     no             no           no              no                            no                          no             
 `Vultr`_                              yes            no           yes             no                            no                          yes            
 ===================================== ============== ============ =============== ============================= =========================== ===============
 
@@ -134,4 +135,5 @@ Provider                              list key pairs get key pair create key pai
 .. _`vCloud`: http://www.vmware.com/products/vcloud/
 .. _`Voxel VoxCLOUD`: http://www.voxel.net/
 .. _`vps.net`: http://vps.net/
+.. _`VMware vSphere`: http://www.vmware.com/products/vsphere/
 .. _`Vultr`: https://www.vultr.com
diff --git a/docs/compute/_supported_methods_main.rst b/docs/compute/_supported_methods_main.rst
index 21961e5..bf6418c 100644
--- a/docs/compute/_supported_methods_main.rst
+++ b/docs/compute/_supported_methods_main.rst
@@ -67,6 +67,7 @@ Provider                              list nodes create node reboot node destroy
 `vCloud`_                             yes        yes         yes         yes          no         no        yes         yes        yes        
 `Voxel VoxCLOUD`_                     yes        yes         yes         yes          no         no        yes         yes        no         
 `vps.net`_                            yes        yes         yes         yes          no         no        yes         yes        no         
+`VMware vSphere`_                     yes        yes         yes         yes          yes        yes       yes         yes        no         
 `Vultr`_                              yes        yes         yes         yes          no         no        yes         yes        no         
 ===================================== ========== =========== =========== ============ ========== ========= =========== ========== ===========
 
@@ -134,4 +135,5 @@ Provider                              list nodes create node reboot node destroy
 .. _`vCloud`: http://www.vmware.com/products/vcloud/
 .. _`Voxel VoxCLOUD`: http://www.voxel.net/
 .. _`vps.net`: http://vps.net/
+.. _`VMware vSphere`: http://www.vmware.com/products/vsphere/
 .. _`Vultr`: https://www.vultr.com
diff --git a/docs/compute/_supported_providers.rst b/docs/compute/_supported_providers.rst
index 6fa2684..65bf608 100644
--- a/docs/compute/_supported_providers.rst
+++ b/docs/compute/_supported_providers.rst
@@ -1,74 +1,75 @@
 .. NOTE: This file has been generated automatically using generate_provider_feature_matrix_table.py script, don't manually edit it
 
-===================================== ================================================= =================== ========================================================================================================================================================================================================================================================= ================================================= ====================================
-Provider                              Documentation                                     Provider Constant   Supported Regions                                                                                                                                                                                                                                         Module                                            Class Name                          
-===================================== ================================================= =================== ========================================================================================================================================================================================================================================================= ================================================= ====================================
-`Abiquo`_                                                                               ABIQUO              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.abiquo`            :class:`AbiquoNodeDriver`           
-`Aliyun ECS`_                         :doc:`Click </compute/drivers/aliyun_ecs>`        ALIYUN_ECS          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ecs`               :class:`ECSDriver`                  
-`PCextreme AuroraCompute`_            :doc:`Click </compute/drivers/auroracompute>`     AURORACOMPUTE       single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.auroracompute`     :class:`AuroraComputeNodeDriver`    
-`Azure Virtual machines`_             :doc:`Click </compute/drivers/azure>`             AZURE               single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.azure`             :class:`AzureNodeDriver`            
-`Azure Virtual machines`_             :doc:`Click </compute/drivers/azure_arm>`         AZURE_ARM           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.azure_arm`         :class:`AzureNodeDriver`            
-`Bluebox Blocks`_                                                                       BLUEBOX             single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.bluebox`           :class:`BlueboxNodeDriver`          
-`Brightbox`_                                                                            BRIGHTBOX           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.brightbox`         :class:`BrightboxNodeDriver`        
-`BSNL`_                               :doc:`Click </compute/drivers/bsnl>`              BSNL                single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.bsnl`              :class:`BSNLNodeDriver`             
-`Cloudscale`_                         :doc:`Click </compute/drivers/cloudscale>`        CLOUDSCALE          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.cloudscale`        :class:`CloudscaleNodeDriver`       
-`CloudSigma (API v2.0)`_              :doc:`Click </compute/drivers/cloudsigma>`        CLOUDSIGMA          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.cloudsigma`        :class:`CloudSigmaNodeDriver`       
-`CloudStack`_                         :doc:`Click </compute/drivers/cloudstack>`        CLOUDSTACK          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.cloudstack`        :class:`CloudStackNodeDriver`       
-`Cloudwatt`_                          :doc:`Click </compute/drivers/cloudwatt>`         CLOUDWATT           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.cloudwatt`         :class:`CloudwattNodeDriver`        
-`DigitalOcean`_                       :doc:`Click </compute/drivers/digital_ocean>`     DIGITAL_OCEAN       single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.digitalocean`      :class:`DigitalOceanNodeDriver`     
-`DimensionData`_                      :doc:`Click </compute/drivers/dimensiondata>`     DIMENSIONDATA       single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.dimensiondata`     :class:`DimensionDataNodeDriver`    
-`Amazon EC2`_                         :doc:`Click </compute/drivers/ec2>`               EC2                 ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.compute.drivers.ec2`               :class:`EC2NodeDriver`              
-`Enomaly Elastic Computing Platform`_                                                   ECP                 single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ecp`               :class:`ECPNodeDriver`              
-`ElasticHosts`_                                                                         ELASTICHOSTS        single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.elastichosts`      :class:`ElasticHostsNodeDriver`     
-`Eucalyptus`_                                                                           EUCALYPTUS          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ec2`               :class:`EucNodeDriver`              
-`Exoscale`_                           :doc:`Click </compute/drivers/exoscale>`          EXOSCALE            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.exoscale`          :class:`ExoscaleNodeDriver`         
-`Gandi`_                              :doc:`Click </compute/drivers/gandi>`             GANDI               single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.gandi`             :class:`GandiNodeDriver`            
-`Google Compute Engine`_              :doc:`Click </compute/drivers/gce>`               GCE                 single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.gce`               :class:`GCENodeDriver`              
-`GiG G8 Node Provider`_                                                                 GIG_G8              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.gig_g8`            :class:`G8NodeDriver`               
-`GoGrid`_                                                                               GOGRID              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.gogrid`            :class:`GoGridNodeDriver`           
-`Gridscale`_                          :doc:`Click </compute/drivers/gridscale>`         GRIDSCALE           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.gridscale`         :class:`GridscaleNodeDriver`        
-`HostVirtual`_                                                                          HOSTVIRTUAL         single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.hostvirtual`       :class:`HostVirtualNodeDriver`      
-`Ikoula`_                             :doc:`Click </compute/drivers/ikoula>`            IKOULA              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ikoula`            :class:`IkoulaNodeDriver`           
-`Indosat`_                            :doc:`Click </compute/drivers/indosat>`           INDOSAT             single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.indosat`           :class:`IndosatNodeDriver`          
-`InternetSolutions`_                  :doc:`Click </compute/drivers/internetsolutions>` INTERNETSOLUTIONS   single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.internetsolutions` :class:`InternetSolutionsNodeDriver`
-`Joyent`_                                                                               JOYENT              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.joyent`            :class:`JoyentNodeDriver`           
-`Kamatera`_                           :doc:`Click </compute/drivers/kamatera>`          KAMATERA            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.kamatera`          :class:`KamateraNodeDriver`         
-`Kili Public Cloud`_                  :doc:`Click </compute/drivers/kili>`              KILI                single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.kili`              :class:`KiliCloudNodeDriver`        
-`KTUCloud`_                                                                             KTUCLOUD            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ktucloud`          :class:`KTUCloudNodeDriver`         
-`kubevirt`_                                                                             KUBEVIRT            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.kubevirt`          :class:`KubeVirtNodeDriver`         
-`Libvirt`_                            :doc:`Click </compute/drivers/libvirt>`           LIBVIRT             single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.libvirt_driver`    :class:`LibvirtNodeDriver`          
-`Linode`_                                                                               LINODE              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.linode`            :class:`LinodeNodeDriver`           
-`Maxihost`_                           :doc:`Click </compute/drivers/maxihost>`          MAXIHOST            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.maxihost`          :class:`MaxihostNodeDriver`         
-`MedOne`_                             :doc:`Click </compute/drivers/medone>`            MEDONE              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.medone`            :class:`MedOneNodeDriver`           
-`NephoScale`_                                                                           NEPHOSCALE          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.nephoscale`        :class:`NephoscaleNodeDriver`       
-`Nimbus`_                             :doc:`Click </compute/drivers/nimbus>`            NIMBUS              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ec2`               :class:`NimbusNodeDriver`           
-`NTTAmerica`_                         :doc:`Click </compute/drivers/ntta>`              NTTA                single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ntta`              :class:`NTTAmericaNodeDriver`       
-`NTTC-CIS`_                           :doc:`Click </compute/drivers/nttcis>`            NTTCIS              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.nttcis`            :class:`NttCisNodeDriver`           
-`OnApp`_                              :doc:`Click </compute/drivers/onapp>`             ONAPP               single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.onapp`             :class:`OnAppNodeDriver`            
-`1and1`_                              :doc:`Click </compute/drivers/oneandone>`         ONEANDONE           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.oneandone`         :class:`OneAndOneNodeDriver`        
-`OpenNebula (v3.8)`_                                                                    OPENNEBULA          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.opennebula`        :class:`OpenNebulaNodeDriver`       
-`OpenStack`_                          :doc:`Click </compute/drivers/openstack>`         OPENSTACK           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.openstack`         :class:`OpenStackNodeDriver`        
-`Outscale API`_                       :doc:`Click </compute/drivers/outscale>`          OUTSCALE            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.outscale`          :class:`OutscaleNodeDriver`         
-`Outscale INC`_                       :doc:`Click </compute/drivers/outscale_inc>`      OUTSCALE_INC        single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ec2`               :class:`OutscaleINCNodeDriver`      
-`Outscale SAS`_                       :doc:`Click </compute/drivers/outscale_sas>`      OUTSCALE_SAS        single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ec2`               :class:`OutscaleSASNodeDriver`      
-`Ovh`_                                :doc:`Click </compute/drivers/ovh>`               OVH                 single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.ovh`               :class:`OvhNodeDriver`              
-`Packet`_                             :doc:`Click </compute/drivers/packet>`            PACKET              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.packet`            :class:`PacketNodeDriver`           
-`ProfitBricks`_                                                                         PROFIT_BRICKS       single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.profitbricks`      :class:`ProfitBricksNodeDriver`     
-`Rackspace Cloud (Next Gen)`_         :doc:`Click </compute/drivers/rackspace>`         RACKSPACE           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.rackspace`         :class:`RackspaceNodeDriver`        
-`Rackspace Cloud (First Gen)`_                                                          RACKSPACE_FIRST_GEN single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.rackspace`         :class:`RackspaceFirstGenNodeDriver`
-`RimuHosting`_                                                                          RIMUHOSTING         single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.rimuhosting`       :class:`RimuHostingNodeDriver`      
-`Scaleway`_                           :doc:`Click </compute/drivers/scaleway>`          SCALEWAY            single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.scaleway`          :class:`ScalewayNodeDriver`         
-`ServerLove`_                                                                           SERVERLOVE          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.serverlove`        :class:`ServerLoveNodeDriver`       
-`skalicloud`_                                                                           SKALICLOUD          single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.skalicloud`        :class:`SkaliCloudNodeDriver`       
-`SoftLayer`_                                                                            SOFTLAYER           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.softlayer`         :class:`SoftLayerNodeDriver`        
-`vCloud`_                                                                               TERREMARK           single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.vcloud`            :class:`TerremarkDriver`            
-`Upcloud`_                            :doc:`Click </compute/drivers/upcloud>`           UPCLOUD             single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.upcloud`           :class:`UpcloudDriver`              
-`VCL`_                                                                                  VCL                 single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.vcl`               :class:`VCLNodeDriver`              
-`vCloud`_                             :doc:`Click </compute/drivers/vcloud>`            VCLOUD              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.vcloud`            :class:`VCloudNodeDriver`           
-`Voxel VoxCLOUD`_                                                                       VOXEL               single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.voxel`             :class:`VoxelNodeDriver`            
-`vps.net`_                                                                              VPSNET              single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.vpsnet`            :class:`VPSNetNodeDriver`           
-`Vultr`_                              :doc:`Click </compute/drivers/vultr>`             VULTR               single region driver                                                                                                                                                                                                                                      :mod:`libcloud.compute.drivers.vultr`             :class:`VultrNodeDriver`            
-===================================== ================================================= =================== ========================================================================================================================================================================================================================================================= ================================================= ====================================
+===================================== ================================================= =================== ===================================================================================================================================================================================================================================================================== ================================================= ====================================
+Provider                              Documentation                                     Provider Constant   Supported Regions                                                                                                                                                                                                                                                     Module                                            Class Name                          
+===================================== ================================================= =================== ===================================================================================================================================================================================================================================================================== ================================================= ====================================
+`Abiquo`_                                                                               ABIQUO              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.abiquo`            :class:`AbiquoNodeDriver`           
+`Aliyun ECS`_                         :doc:`Click </compute/drivers/aliyun_ecs>`        ALIYUN_ECS          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ecs`               :class:`ECSDriver`                  
+`PCextreme AuroraCompute`_            :doc:`Click </compute/drivers/auroracompute>`     AURORACOMPUTE       single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.auroracompute`     :class:`AuroraComputeNodeDriver`    
+`Azure Virtual machines`_             :doc:`Click </compute/drivers/azure>`             AZURE               single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.azure`             :class:`AzureNodeDriver`            
+`Azure Virtual machines`_             :doc:`Click </compute/drivers/azure_arm>`         AZURE_ARM           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.azure_arm`         :class:`AzureNodeDriver`            
+`Bluebox Blocks`_                                                                       BLUEBOX             single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.bluebox`           :class:`BlueboxNodeDriver`          
+`Brightbox`_                                                                            BRIGHTBOX           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.brightbox`         :class:`BrightboxNodeDriver`        
+`BSNL`_                               :doc:`Click </compute/drivers/bsnl>`              BSNL                single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.bsnl`              :class:`BSNLNodeDriver`             
+`Cloudscale`_                         :doc:`Click </compute/drivers/cloudscale>`        CLOUDSCALE          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.cloudscale`        :class:`CloudscaleNodeDriver`       
+`CloudSigma (API v2.0)`_              :doc:`Click </compute/drivers/cloudsigma>`        CLOUDSIGMA          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.cloudsigma`        :class:`CloudSigmaNodeDriver`       
+`CloudStack`_                         :doc:`Click </compute/drivers/cloudstack>`        CLOUDSTACK          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.cloudstack`        :class:`CloudStackNodeDriver`       
+`Cloudwatt`_                          :doc:`Click </compute/drivers/cloudwatt>`         CLOUDWATT           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.cloudwatt`         :class:`CloudwattNodeDriver`        
+`DigitalOcean`_                       :doc:`Click </compute/drivers/digital_ocean>`     DIGITAL_OCEAN       single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.digitalocean`      :class:`DigitalOceanNodeDriver`     
+`DimensionData`_                      :doc:`Click </compute/drivers/dimensiondata>`     DIMENSIONDATA       single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.dimensiondata`     :class:`DimensionDataNodeDriver`    
+`Amazon EC2`_                         :doc:`Click </compute/drivers/ec2>`               EC2                 ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-north-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.compute.drivers.ec2`               :class:`EC2NodeDriver`              
+`Enomaly Elastic Computing Platform`_                                                   ECP                 single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ecp`               :class:`ECPNodeDriver`              
+`ElasticHosts`_                                                                         ELASTICHOSTS        single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.elastichosts`      :class:`ElasticHostsNodeDriver`     
+`Eucalyptus`_                                                                           EUCALYPTUS          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ec2`               :class:`EucNodeDriver`              
+`Exoscale`_                           :doc:`Click </compute/drivers/exoscale>`          EXOSCALE            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.exoscale`          :class:`ExoscaleNodeDriver`         
+`Gandi`_                              :doc:`Click </compute/drivers/gandi>`             GANDI               single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.gandi`             :class:`GandiNodeDriver`            
+`Google Compute Engine`_              :doc:`Click </compute/drivers/gce>`               GCE                 single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.gce`               :class:`GCENodeDriver`              
+`GiG G8 Node Provider`_                                                                 GIG_G8              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.gig_g8`            :class:`G8NodeDriver`               
+`GoGrid`_                                                                               GOGRID              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.gogrid`            :class:`GoGridNodeDriver`           
+`Gridscale`_                          :doc:`Click </compute/drivers/gridscale>`         GRIDSCALE           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.gridscale`         :class:`GridscaleNodeDriver`        
+`HostVirtual`_                                                                          HOSTVIRTUAL         single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.hostvirtual`       :class:`HostVirtualNodeDriver`      
+`Ikoula`_                             :doc:`Click </compute/drivers/ikoula>`            IKOULA              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ikoula`            :class:`IkoulaNodeDriver`           
+`Indosat`_                            :doc:`Click </compute/drivers/indosat>`           INDOSAT             single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.indosat`           :class:`IndosatNodeDriver`          
+`InternetSolutions`_                  :doc:`Click </compute/drivers/internetsolutions>` INTERNETSOLUTIONS   single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.internetsolutions` :class:`InternetSolutionsNodeDriver`
+`Joyent`_                                                                               JOYENT              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.joyent`            :class:`JoyentNodeDriver`           
+`Kamatera`_                           :doc:`Click </compute/drivers/kamatera>`          KAMATERA            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.kamatera`          :class:`KamateraNodeDriver`         
+`Kili Public Cloud`_                  :doc:`Click </compute/drivers/kili>`              KILI                single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.kili`              :class:`KiliCloudNodeDriver`        
+`KTUCloud`_                                                                             KTUCLOUD            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ktucloud`          :class:`KTUCloudNodeDriver`         
+`kubevirt`_                                                                             KUBEVIRT            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.kubevirt`          :class:`KubeVirtNodeDriver`         
+`Libvirt`_                            :doc:`Click </compute/drivers/libvirt>`           LIBVIRT             single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.libvirt_driver`    :class:`LibvirtNodeDriver`          
+`Linode`_                                                                               LINODE              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.linode`            :class:`LinodeNodeDriver`           
+`Maxihost`_                           :doc:`Click </compute/drivers/maxihost>`          MAXIHOST            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.maxihost`          :class:`MaxihostNodeDriver`         
+`MedOne`_                             :doc:`Click </compute/drivers/medone>`            MEDONE              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.medone`            :class:`MedOneNodeDriver`           
+`NephoScale`_                                                                           NEPHOSCALE          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.nephoscale`        :class:`NephoscaleNodeDriver`       
+`Nimbus`_                             :doc:`Click </compute/drivers/nimbus>`            NIMBUS              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ec2`               :class:`NimbusNodeDriver`           
+`NTTAmerica`_                         :doc:`Click </compute/drivers/ntta>`              NTTA                single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ntta`              :class:`NTTAmericaNodeDriver`       
+`NTTC-CIS`_                           :doc:`Click </compute/drivers/nttcis>`            NTTCIS              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.nttcis`            :class:`NttCisNodeDriver`           
+`OnApp`_                              :doc:`Click </compute/drivers/onapp>`             ONAPP               single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.onapp`             :class:`OnAppNodeDriver`            
+`1and1`_                              :doc:`Click </compute/drivers/oneandone>`         ONEANDONE           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.oneandone`         :class:`OneAndOneNodeDriver`        
+`OpenNebula (v3.8)`_                                                                    OPENNEBULA          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.opennebula`        :class:`OpenNebulaNodeDriver`       
+`OpenStack`_                          :doc:`Click </compute/drivers/openstack>`         OPENSTACK           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.openstack`         :class:`OpenStackNodeDriver`        
+`Outscale API`_                       :doc:`Click </compute/drivers/outscale>`          OUTSCALE            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.outscale`          :class:`OutscaleNodeDriver`         
+`Outscale INC`_                       :doc:`Click </compute/drivers/outscale_inc>`      OUTSCALE_INC        single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ec2`               :class:`OutscaleINCNodeDriver`      
+`Outscale SAS`_                       :doc:`Click </compute/drivers/outscale_sas>`      OUTSCALE_SAS        single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.ec2`               :class:`OutscaleSASNodeDriver`      
+`Ovh`_                                :doc:`Click </compute/drivers/ovh>`               OVH                 ca, eu                                                                                                                                                                                                                                                                :mod:`libcloud.compute.drivers.ovh`               :class:`OvhNodeDriver`              
+`Packet`_                             :doc:`Click </compute/drivers/packet>`            PACKET              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.packet`            :class:`PacketNodeDriver`           
+`ProfitBricks`_                                                                         PROFIT_BRICKS       single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.profitbricks`      :class:`ProfitBricksNodeDriver`     
+`Rackspace Cloud (Next Gen)`_         :doc:`Click </compute/drivers/rackspace>`         RACKSPACE           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.rackspace`         :class:`RackspaceNodeDriver`        
+`Rackspace Cloud (First Gen)`_                                                          RACKSPACE_FIRST_GEN single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.rackspace`         :class:`RackspaceFirstGenNodeDriver`
+`RimuHosting`_                                                                          RIMUHOSTING         single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.rimuhosting`       :class:`RimuHostingNodeDriver`      
+`Scaleway`_                           :doc:`Click </compute/drivers/scaleway>`          SCALEWAY            single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.scaleway`          :class:`ScalewayNodeDriver`         
+`ServerLove`_                                                                           SERVERLOVE          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.serverlove`        :class:`ServerLoveNodeDriver`       
+`skalicloud`_                                                                           SKALICLOUD          single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.skalicloud`        :class:`SkaliCloudNodeDriver`       
+`SoftLayer`_                                                                            SOFTLAYER           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.softlayer`         :class:`SoftLayerNodeDriver`        
+`vCloud`_                                                                               TERREMARK           single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vcloud`            :class:`TerremarkDriver`            
+`Upcloud`_                            :doc:`Click </compute/drivers/upcloud>`           UPCLOUD             single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.upcloud`           :class:`UpcloudDriver`              
+`VCL`_                                                                                  VCL                 single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vcl`               :class:`VCLNodeDriver`              
+`vCloud`_                             :doc:`Click </compute/drivers/vcloud>`            VCLOUD              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vcloud`            :class:`VCloudNodeDriver`           
+`Voxel VoxCLOUD`_                                                                       VOXEL               single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.voxel`             :class:`VoxelNodeDriver`            
+`vps.net`_                                                                              VPSNET              single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vpsnet`            :class:`VPSNetNodeDriver`           
+`VMware vSphere`_                     :doc:`Click </compute/drivers/vsphere>`           VSPHERE             single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vsphere`           :class:`VSphereNodeDriver`          
+`Vultr`_                              :doc:`Click </compute/drivers/vultr>`             VULTR               single region driver                                                                                                                                                                                                                                                  :mod:`libcloud.compute.drivers.vultr`             :class:`VultrNodeDriver`            
+===================================== ================================================= =================== ===================================================================================================================================================================================================================================================================== ================================================= ====================================
 
 .. _`Abiquo`: http://www.abiquo.com/
 .. _`Aliyun ECS`: https://www.aliyun.com/product/ecs
@@ -134,4 +135,5 @@ Provider                              Documentation
 .. _`vCloud`: http://www.vmware.com/products/vcloud/
 .. _`Voxel VoxCLOUD`: http://www.voxel.net/
 .. _`vps.net`: http://vps.net/
+.. _`VMware vSphere`: http://www.vmware.com/products/vsphere/
 .. _`Vultr`: https://www.vultr.com
diff --git a/docs/storage/_supported_methods_cdn.rst b/docs/storage/_supported_methods_cdn.rst
index dce6f75..01251d6 100644
--- a/docs/storage/_supported_methods_cdn.rst
+++ b/docs/storage/_supported_methods_cdn.rst
@@ -33,7 +33,6 @@ Provider                      enable container cdn enable object cdn get contain
 `RGW Outscale`_               no                   no                no                    no                
 `Amazon S3 (sa-east-1)`_      no                   no                no                    yes               
 `Amazon S3 (us-east-2)`_      no                   no                no                    yes               
-`Amazon S3 (us-gov-east-1)`_  no                   no                no                    yes
 `Amazon S3 (us-gov-west-1)`_  no                   no                no                    yes               
 `Amazon S3 (us-west-1)`_      no                   no                no                    yes               
 `Amazon S3 (us-west-2)`_      no                   no                no                    yes               
diff --git a/docs/storage/_supported_methods_main.rst b/docs/storage/_supported_methods_main.rst
index 6a6c19d..ea5534a 100644
--- a/docs/storage/_supported_methods_main.rst
+++ b/docs/storage/_supported_methods_main.rst
@@ -33,7 +33,6 @@ Provider                      list containers list objects create container dele
 `RGW Outscale`_               yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
 `Amazon S3 (sa-east-1)`_      yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
 `Amazon S3 (us-east-2)`_      yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
-`Amazon S3 (us-gov-east-1)`_  yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes
 `Amazon S3 (us-gov-west-1)`_  yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
 `Amazon S3 (us-west-1)`_      yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
 `Amazon S3 (us-west-2)`_      yes             yes          yes              yes              yes           yes                     yes             yes                        yes                       yes                               yes          
@@ -69,7 +68,6 @@ Provider                      list containers list objects create container dele
 .. _`RGW Outscale`: https://en.outscale.com/
 .. _`Amazon S3 (sa-east-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-east-2)`: http://aws.amazon.com/s3/
-.. _`Amazon S3 (us-gov-east-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-gov-west-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-west-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-west-2)`: http://aws.amazon.com/s3/
diff --git a/docs/storage/_supported_providers.rst b/docs/storage/_supported_providers.rst
index 9a7178f..80f979b 100644
--- a/docs/storage/_supported_providers.rst
+++ b/docs/storage/_supported_providers.rst
@@ -1,24 +1,24 @@
 .. NOTE: This file has been generated automatically using generate_provider_feature_matrix_table.py script, don't manually edit it
 
-========================== =================================================== =================== ============================================================================================================================================================================================================================================================================================ =================================================== ========================================
-Provider                   Documentation                                       Provider Constant   Supported Regions                                                                                                                                                                                                                                                                            Module                                              Class Name                              
-========================== =================================================== =================== ============================================================================================================================================================================================================================================================================================ =================================================== ========================================
-`Aliyun OSS`_                                                                  ALIYUN_OSS          single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.oss`                 :class:`OSSStorageDriver`               
-`PCextreme AuroraObjects`_ :doc:`Click </storage/drivers/auroraobjects>`       AURORAOBJECTS       single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.auroraobjects`       :class:`AuroraObjectsStorageDriver`     
-`Microsoft Azure (blobs)`_ :doc:`Click </storage/drivers/azure_blobs>`         AZURE_BLOBS         single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.azure_blobs`         :class:`AzureBlobsStorageDriver`        
-`Backblaze B2`_            :doc:`Click </storage/drivers/backblaze_b2>`        BACKBLAZE_B2        single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.backblaze_b2`        :class:`BackblazeB2StorageDriver`       
-`CloudFiles`_                                                                  CLOUDFILES          dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                 :mod:`libcloud.storage.drivers.cloudfiles`          :class:`CloudFilesStorageDriver`        
-`DigitalOcean Spaces`_     :doc:`Click </storage/drivers/digitalocean_spaces>` DIGITALOCEAN_SPACES single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.digitalocean_spaces` :class:`DigitalOceanSpacesStorageDriver`
-`Google Cloud Storage`_    :doc:`Click </storage/drivers/google_storage>`      GOOGLE_STORAGE      single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.google_storage`      :class:`GoogleStorageDriver`            
-`KTUCloud Storage`_                                                            KTUCLOUD            dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                 :mod:`libcloud.storage.drivers.ktucloud`            :class:`KTUCloudStorageDriver`          
-`Local Storage`_                                                               LOCAL               single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.local`               :class:`LocalStorageDriver`             
-`Nimbus.io`_                                                                   NIMBUS              single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.nimbus`              :class:`NimbusStorageDriver`            
-`Ninefold`_                                                                    NINEFOLD            single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.ninefold`            :class:`NinefoldStorageDriver`          
-`OpenStack Swift`_         :doc:`Click </storage/drivers/openstack_swift>`     OPENSTACK_SWIFT     dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                 :mod:`libcloud.storage.drivers.cloudfiles`          :class:`OpenStackSwiftStorageDriver`    
-`Amazon S3`_               :doc:`Click </storage/drivers/s3>`                  S3                  ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-north-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, sa-east-2, us-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.storage.drivers.s3`                  :class:`S3StorageDriver`
-`Ceph RGW`_                                                                    S3_RGW              single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.rgw`                 :class:`S3RGWStorageDriver`             
-`RGW Outscale`_                                                                S3_RGW_OUTSCALE     single region driver                                                                                                                                                                                                                                                                         :mod:`libcloud.storage.drivers.rgw`                 :class:`S3RGWOutscaleStorageDriver`     
-========================== =================================================== =================== ============================================================================================================================================================================================================================================================================================ =================================================== ========================================
+========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
+Provider                   Documentation                                       Provider Constant   Supported Regions                                                                                                                                                                                                                                                                                           Module                                              Class Name                              
+========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
+`Aliyun OSS`_                                                                  ALIYUN_OSS          single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.oss`                 :class:`OSSStorageDriver`               
+`PCextreme AuroraObjects`_ :doc:`Click </storage/drivers/auroraobjects>`       AURORAOBJECTS       single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.auroraobjects`       :class:`AuroraObjectsStorageDriver`     
+`Microsoft Azure (blobs)`_ :doc:`Click </storage/drivers/azure_blobs>`         AZURE_BLOBS         single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.azure_blobs`         :class:`AzureBlobsStorageDriver`        
+`Backblaze B2`_            :doc:`Click </storage/drivers/backblaze_b2>`        BACKBLAZE_B2        single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.backblaze_b2`        :class:`BackblazeB2StorageDriver`       
+`CloudFiles`_                                                                  CLOUDFILES          dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                                :mod:`libcloud.storage.drivers.cloudfiles`          :class:`CloudFilesStorageDriver`        
+`DigitalOcean Spaces`_     :doc:`Click </storage/drivers/digitalocean_spaces>` DIGITALOCEAN_SPACES single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.digitalocean_spaces` :class:`DigitalOceanSpacesStorageDriver`
+`Google Cloud Storage`_    :doc:`Click </storage/drivers/google_storage>`      GOOGLE_STORAGE      single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.google_storage`      :class:`GoogleStorageDriver`            
+`KTUCloud Storage`_                                                            KTUCLOUD            dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                                :mod:`libcloud.storage.drivers.ktucloud`            :class:`KTUCloudStorageDriver`          
+`Local Storage`_                                                               LOCAL               single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.local`               :class:`LocalStorageDriver`             
+`Nimbus.io`_                                                                   NIMBUS              single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.nimbus`              :class:`NimbusStorageDriver`            
+`Ninefold`_                                                                    NINEFOLD            single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.ninefold`            :class:`NinefoldStorageDriver`          
+`OpenStack Swift`_         :doc:`Click </storage/drivers/openstack_swift>`     OPENSTACK_SWIFT     dfw, hkg, iad, lon, ord, syd                                                                                                                                                                                                                                                                                :mod:`libcloud.storage.drivers.cloudfiles`          :class:`OpenStackSwiftStorageDriver`    
+`Amazon S3`_               :doc:`Click </storage/drivers/s3>`                  S3                  ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-north-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, sa-east-2, us-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2 :mod:`libcloud.storage.drivers.s3`                  :class:`S3StorageDriver`                
+`Ceph RGW`_                                                                    S3_RGW              single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.rgw`                 :class:`S3RGWStorageDriver`             
+`RGW Outscale`_                                                                S3_RGW_OUTSCALE     single region driver                                                                                                                                                                                                                                                                                        :mod:`libcloud.storage.drivers.rgw`                 :class:`S3RGWOutscaleStorageDriver`     
+========================== =================================================== =================== =========================================================================================================================================================================================================================================================================================================== =================================================== ========================================
 
 .. _`Aliyun OSS`: http://www.aliyun.com/product/oss
 .. _`PCextreme AuroraObjects`: https://www.pcextreme.com/aurora/objects
@@ -50,7 +50,6 @@ Provider                   Documentation                                       P
 .. _`RGW Outscale`: https://en.outscale.com/
 .. _`Amazon S3 (sa-east-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-east-2)`: http://aws.amazon.com/s3/
-.. _`Amazon S3 (us-gov-east-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-gov-west-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-west-1)`: http://aws.amazon.com/s3/
 .. _`Amazon S3 (us-west-2)`: http://aws.amazon.com/s3/


[libcloud] 03/04: Add tests for local storage lock context manager.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit b0921294333a8c44da5c575b825a308f0fd724a6
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Tue Nov 3 16:26:05 2020 +0100

    Add tests for local storage lock context manager.
---
 libcloud/storage/drivers/local.py   | 16 +++++++-----
 libcloud/test/storage/test_local.py | 49 +++++++++++++++++++++++++++++++++++--
 2 files changed, 57 insertions(+), 8 deletions(-)

diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py
index 603cee4..aa4ddeb 100644
--- a/libcloud/storage/drivers/local.py
+++ b/libcloud/storage/drivers/local.py
@@ -55,8 +55,9 @@ class LockLocalStorage(object):
     A class to help in locking a local path before being updated
     """
 
-    def __init__(self, path):
+    def __init__(self, path, timeout=5):
         self.path = path
+        self.lock_acquire_timeout = timeout
 
         self.ipc_lock_path = os.path.join(tempfile.gettempdir(), "%s.lock" % (
             sha256(path.encode("utf-8")).hexdigest()))
@@ -68,7 +69,7 @@ class LockLocalStorage(object):
         self.ipc_lock = fasteners.InterProcessLock(self.ipc_lock_path)
 
     def __enter__(self):
-        lock_acquire_timeout = 5
+        lock_acquire_timeout = self.lock_acquire_timeout
         start_time = int(time.time())
         end_time = start_time + lock_acquire_timeout
 
@@ -82,14 +83,17 @@ class LockLocalStorage(object):
 
         if not success:
             raise LibcloudError("Failed to acquire thread lock for path %s "
-                                "in 5 seconds" % (self.path))
+                                "in %s seconds" % (self.path,
+                                                   lock_acquire_timeout))
 
-        success = self.ipc_lock.acquire(blocking=True, timeout=5)
+        success = self.ipc_lock.acquire(blocking=True,
+                                        timeout=lock_acquire_timeout)
 
         if not success:
             raise LibcloudError("Failed to acquire IPC lock (%s) for path %s "
-                                "in 5 seconds" %
-                                (self.ipc_lock_path, self.path))
+                                "in %s seconds" %
+                                (self.ipc_lock_path, self.path,
+                                 lock_acquire_timeout))
 
     def __exit__(self, type, value, traceback):
         if self.thread_lock.locked():
diff --git a/libcloud/test/storage/test_local.py b/libcloud/test/storage/test_local.py
index e01e91c..8fa5b41 100644
--- a/libcloud/test/storage/test_local.py
+++ b/libcloud/test/storage/test_local.py
@@ -20,9 +20,9 @@ import sys
 import platform
 import shutil
 import unittest
+import time
 import tempfile
-
-import mock
+import multiprocessing
 
 from libcloud.common.types import LibcloudError
 from libcloud.storage.base import Container
@@ -74,6 +74,51 @@ class LocalTests(unittest.TestCase):
                 return
             raise e
 
+    def test_lock_local_storage(self):
+        # 1. Acquire succeeds
+        lock = LockLocalStorage("/tmp/a")
+        with lock:
+            self.assertTrue(True)
+
+        # 2. Acquire fails because lock is already acquired
+        lock = LockLocalStorage("/tmp/b", timeout=0.5)
+        with lock:
+            expected_msg = "Failed to acquire thread lock"
+            self.assertRaisesRegex(LibcloudError, expected_msg, lock.__enter__)
+
+        # 3. Multiprocessing scenario where IPC lock is involved
+        def acquire_lock_in_subprocess(pid, success):
+            # For first process acquire should succeed and for the second it should fail
+
+            lock = LockLocalStorage("/tmp/c", timeout=0.5)
+
+            if pid == 1:
+                with lock:
+                    time.sleep(1)
+
+                success.value = 1
+            elif pid == 2:
+                expected_msg = "Failed to acquire IPC lock"
+                self.assertRaisesRegex(LibcloudError, expected_msg, lock.__enter__)
+                success.value = 1
+            else:
+                raise ValueError("Invalid pid")
+
+        success_1  = multiprocessing.Value('i', 0)
+        success_2  = multiprocessing.Value('i', 0)
+
+        p1 = multiprocessing.Process(target=acquire_lock_in_subprocess, args=(1, success_1,))
+        p1.start()
+
+        p2 = multiprocessing.Process(target=acquire_lock_in_subprocess, args=(2, success_2,))
+        p2.start()
+
+        p1.join()
+        p2.join()
+
+        self.assertEqual(bool(success_1.value), True, "Check didn't pass")
+        self.assertEqual(bool(success_2.value), True, "Second check didn't pass")
+
     def test_list_containers_empty(self):
         containers = self.driver.list_containers()
         self.assertEqual(len(containers), 0)


[libcloud] 02/04: Fix lint.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 5dc072d1150d1d6c07a8a73aff99a351a285853f
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Tue Nov 3 16:08:24 2020 +0100

    Fix lint.
---
 libcloud/storage/drivers/local.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py
index 96330a2..603cee4 100644
--- a/libcloud/storage/drivers/local.py
+++ b/libcloud/storage/drivers/local.py
@@ -73,7 +73,9 @@ class LockLocalStorage(object):
         end_time = start_time + lock_acquire_timeout
 
         while int(time.time()) < end_time:
+            # pylint: disable=assignment-from-no-return
             success = self.thread_lock.acquire(blocking=False)
+            # enable: disable=assignment-from-no-return
 
             if success:
                 break


[libcloud] 01/04: Fix lint and code issue.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 6b9ab0a98bbcae34228b531f0d16dc9a3431f022
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Nov 1 22:50:12 2020 +0100

    Fix lint and code issue.
---
 libcloud/storage/drivers/local.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcloud/storage/drivers/local.py b/libcloud/storage/drivers/local.py
index 12e948a..96330a2 100644
--- a/libcloud/storage/drivers/local.py
+++ b/libcloud/storage/drivers/local.py
@@ -73,7 +73,7 @@ class LockLocalStorage(object):
         end_time = start_time + lock_acquire_timeout
 
         while int(time.time()) < end_time:
-            success = self.thread_lock.acquire(blocking=True)
+            success = self.thread_lock.acquire(blocking=False)
 
             if success:
                 break