Repository: libcloud
Updated Branches:
  refs/heads/trunk 680e23b3b -> 71bf9a340


LIBCLOUD-634 Cloudstack: get template size in list_images extra attributes

Signed-off-by: Sebastien Goasguen <[email protected]>

This closes #389


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

Branch: refs/heads/trunk
Commit: 71bf9a340bcb91a781d1674e88b6384110b980f1
Parents: 680e23b
Author: Loic Lambiel <[email protected]>
Authored: Thu Nov 13 10:51:28 2014 +0100
Committer: Sebastien Goasguen <[email protected]>
Committed: Thu Nov 13 14:01:23 2014 +0100

----------------------------------------------------------------------
 CHANGES.rst                            | 4 ++++
 libcloud/compute/drivers/cloudstack.py | 1 +
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/71bf9a34/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 44bc03f..0c1975d 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -23,6 +23,10 @@ Compute
   (GITHUB-382)
   [Roeland Kuipers]
 
+- Add extra attribute in list_images for CloudStack driver.
+  (GITHUB-389)
+  [Loic Lambiel]
+
 Changes with Apache Libcloud 0.16.0
 -----------------------------------
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/71bf9a34/libcloud/compute/drivers/cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudstack.py 
b/libcloud/compute/drivers/cloudstack.py
index 7b4a8e2..50af6d1 100644
--- a/libcloud/compute/drivers/cloudstack.py
+++ b/libcloud/compute/drivers/cloudstack.py
@@ -982,6 +982,7 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, 
NodeDriver):
                 extra={
                     'hypervisor': img['hypervisor'],
                     'format': img['format'],
+                    'size': img['size'],
                     'os': img['ostypename'],
                     'displaytext': img['displaytext']}))
         return images

Reply via email to