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 2014/02/07 13:15:42 UTC

[2/3] git commit: Mape "Stopping" and "Expunging" state in CloudStack driver to "PENDING".

Mape "Stopping" and "Expunging" state in CloudStack driver to "PENDING".


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

Branch: refs/heads/trunk
Commit: 95b5de425ce57a9fdfe0d8b563b7d6ab14b85a98
Parents: 77cca8a
Author: Tomaz Muraus <to...@apache.org>
Authored: Fri Feb 7 13:09:18 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Fri Feb 7 13:09:18 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/95b5de42/libcloud/compute/drivers/cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudstack.py b/libcloud/compute/drivers/cloudstack.py
index 511cfe6..7bc2516 100644
--- a/libcloud/compute/drivers/cloudstack.py
+++ b/libcloud/compute/drivers/cloudstack.py
@@ -423,9 +423,9 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver):
         'Running': NodeState.RUNNING,
         'Starting': NodeState.REBOOTING,
         'Stopped': NodeState.STOPPED,
-        'Stopping': NodeState.STOPPED,
+        'Stopping': NodeState.PENDING,
         'Destroyed': NodeState.TERMINATED,
-        'Expunging': NodeState.TERMINATED,
+        'Expunging': NodeState.PENDING,
         'Error': NodeState.TERMINATED
     }