libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [4/5] libcloud git commit: Fixed Cloudwatt attach volume with 'auto' was not allowed
Date Fri, 22 May 2015 15:31:01 GMT
Fixed Cloudwatt attach volume with 'auto' was not allowed

Set default value to None, for device auto-assignment.

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


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

Branch: refs/heads/trunk
Commit: e051b21c928431c8980d14b06a6e58e253c88fbf
Parents: 72876fe
Author: ZuluPro <montheanthony@hotmail.com>
Authored: Tue May 19 00:31:53 2015 -0400
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri May 22 17:22:01 2015 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/cloudwatt.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e051b21c/libcloud/compute/drivers/cloudwatt.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudwatt.py b/libcloud/compute/drivers/cloudwatt.py
index 2fd93c8..fe256f7 100644
--- a/libcloud/compute/drivers/cloudwatt.py
+++ b/libcloud/compute/drivers/cloudwatt.py
@@ -141,6 +141,10 @@ class CloudwattNodeDriver(OpenStack_1_1_NodeDriver):
             **kwargs
         )
 
+    def attach_volume(self, node, volume, device=None):
+        return super(CloudwattNodeDriver, self)\
+            .attach_volume(node, volume, device)
+
     def _ex_connection_class_kwargs(self):
         """
         Includes ``tenant_id`` in Connection.


Mime
View raw message