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 2015/03/04 23:37:07 UTC

[5/5] libcloud git commit: Document create volume from snapshot changes

Document create volume from snapshot changes

Closes #467

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


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

Branch: refs/heads/trunk
Commit: 659d64cece8aeb6b1679e40e00dd639eee7a9cde
Parents: eff4644
Author: Allard Hoeve <al...@gmail.com>
Authored: Sun Mar 1 12:51:15 2015 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Wed Mar 4 23:30:51 2015 +0100

----------------------------------------------------------------------
 CHANGES.rst            |  6 ++++++
 docs/upgrade_notes.rst | 10 ++++++++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/659d64ce/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 96b3971..b33aede 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -15,6 +15,12 @@ General
 Compute
 ~~~~~~~
 
+- Add support for creating volumes based on snapshots to EC2 and OS drivers.
+  Also modify signature of base NodeDriver.create_volume to reflect the fact
+  that all drivers expect a StorageSnapshot object as the snapshot argument.
+  (GITHUB-467, LIBCLOUD-672)
+  [Allard Hoeve]
+
 - Improve GCE create_node, make sure ex_get_disktype function
   (GITHUB-448)
   [Markos Gogoulos]

http://git-wip-us.apache.org/repos/asf/libcloud/blob/659d64ce/docs/upgrade_notes.rst
----------------------------------------------------------------------
diff --git a/docs/upgrade_notes.rst b/docs/upgrade_notes.rst
index dd6c52b..93a104d 100644
--- a/docs/upgrade_notes.rst
+++ b/docs/upgrade_notes.rst
@@ -5,6 +5,16 @@ This page describes how to upgrade from a previous version to a new version
 which contains backward incompatible or semi-incompatible changes and how to
 preserve the old behavior when this is possible.
 
+Development
+-----------
+
+* The base signature of NodeDriver.create_volume has changed. The snapshot
+  argument is now expected to be a VolumeSnapshot instead of a string.
+  The older signature was never correct for built-in drivers, but custom
+  drivers may break. (GCE accepted strings, names or None and still does.
+  Other drivers did not implement creating volumes from snapshots at all
+  until now.)
+
 Libcloud 0.16.0
 ---------------