GitHub user wrigri opened a pull request:
https://github.com/apache/libcloud/pull/197
LIBCLOUD-450: Update GCE to v1
Update GCE to v1.
The primary change for v1 from v1beta16 is that ephemeral disks have gone
away and now all disks are persistent. This means that create_node is now
creating a disk first if an existing disk isn't supplied.
Also, add support for snapshots.
This is obviously a fairly large change, although most of the actual
changed lines are for test fixtures. Now that v1 has launched, the treadmill
of releases with large changes should slow down to a more reasonable pace.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wrigri/libcloud LIBCLOUD-450_GCEv1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/197.patch
----
commit 07f6b9403c4bc50552071c085e7cf07a7243a676
Author: Rick Wright <[email protected]>
Date: 2013-12-04T21:17:25Z
Update API to v1 and remove traces of ephemeral disks.
The primary change here is updating ex_create_multiple_nodes to create
disks and
nodes in parallel.
commit 0d477589953643dd87084eb1af7c53701f30667e
Author: Rick Wright <[email protected]>
Date: 2013-12-05T01:12:15Z
Add functionality to create_node & create_volume to use existing
disks of the same name.
Also some pep8 fixes.
commit 2d3caa8cf79aae4ed7fead824178eeac5fa9ba82
Author: Rick Wright <[email protected]>
Date: 2013-12-13T21:07:26Z
Test updates for v1 plus additional changes:
Add snapshot support
Add .get() to many locations to make the conversion from json dictionary
to
libcloud objects more robust.
commit ca96c9b659772d9fb22cd15219dc460a4f284c93
Author: Rick Wright <[email protected]>
Date: 2013-12-16T18:30:49Z
Add Snapshots to demo code and a snapshot fix
commit a0aa455735ac8b2c1c4bb1a02dc8e7a96eba3920
Author: Rick Wright <[email protected]>
Date: 2013-12-16T20:29:34Z
Fixes for dealing with disk on multiple node creation/destruction.
commit ea7662ac4909b72a837ebbd54cd61baee770d2f0
Author: Rick Wright <[email protected]>
Date: 2013-12-16T21:28:33Z
Tests for Snapshots (plus fix for list_targetpools test)
----