You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/08/05 02:01:06 UTC

[1/2] libcloud git commit: Cloudstack: add migrating state to node and volume

Repository: libcloud
Updated Branches:
  refs/heads/trunk 90f967c64 -> 0dced6dae


Cloudstack: add migrating state to node and volume

Closes #847


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

Branch: refs/heads/trunk
Commit: fb2936afd2428a135e966ea4064b8aeb8209779d
Parents: 90f967c
Author: Marc-Aur�le Brothier <m...@brothier.org>
Authored: Thu Aug 4 13:05:54 2016 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Fri Aug 5 11:59:00 2016 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/fb2936af/libcloud/compute/drivers/cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudstack.py b/libcloud/compute/drivers/cloudstack.py
index aff5192..44ef8f5 100644
--- a/libcloud/compute/drivers/cloudstack.py
+++ b/libcloud/compute/drivers/cloudstack.py
@@ -1235,6 +1235,7 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver):
     NODE_STATE_MAP = {
         'Running': NodeState.RUNNING,
         'Starting': NodeState.REBOOTING,
+        'Migrating': NodeState.MIGRATING,
         'Stopped': NodeState.STOPPED,
         'Stopping': NodeState.PENDING,
         'Destroyed': NodeState.TERMINATED,
@@ -1251,7 +1252,8 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver):
         'Allocated': StorageVolumeState.AVAILABLE,
         'Ready': StorageVolumeState.AVAILABLE,
         'Snapshotting': StorageVolumeState.BACKUP,
-        'UploadError': StorageVolumeState.ERROR
+        'UploadError': StorageVolumeState.ERROR,
+        'Migrating': StorageVolumeState.MIGRATING
     }
 
     def __init__(self, key, secret=None, secure=True, host=None,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/fb2936af/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index 49f63a3..740b688 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -271,6 +271,7 @@ class NodeState(Type):
     ERROR = 'error'
     PAUSED = 'paused'
     RECONFIGURING = 'reconfiguring'
+    MIGRATING = 'migrating'
 
 
 class StorageVolumeState(Type):
@@ -286,6 +287,7 @@ class StorageVolumeState(Type):
     BACKUP = 'backup'
     ATTACHING = 'attaching'
     UNKNOWN = 'unknown'
+    MIGRATING = 'migrating'
 
 
 class VolumeSnapshotState(Type):


[2/2] libcloud git commit: add changes for #847

Posted by an...@apache.org.
add changes for #847


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

Branch: refs/heads/trunk
Commit: 0dced6daef63889e0552beccd8774527f0cd71b4
Parents: fb2936a
Author: Anthony Shaw <an...@apache.org>
Authored: Fri Aug 5 12:00:56 2016 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Fri Aug 5 12:00:56 2016 +1000

----------------------------------------------------------------------
 CHANGES.rst | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/0dced6da/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index dc2f626..e2b398e 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,6 +17,10 @@ General
 Compute
 ~~~~~~~
 
+- [cloudstack] Added StorageState-Migrating to the cloudstack driver.
+  (GITHUB-847)
+  [Marc-Aur�le Brothier]
+
 - [google compute] Update copy image logic to match create image.
   (GITHUB-828)
   [Max Illfelder]