libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/3] git commit: Mape "Stopping" and "Expunging" state in CloudStack driver to "PENDING".
Date Fri, 07 Feb 2014 12:15:42 GMT
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 <tomaz@apache.org>
Authored: Fri Feb 7 13:09:18 2014 +0100
Committer: Tomaz Muraus <tomaz@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
     }
 


Mime
View raw message