libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/3] git commit: Changing the stopped/stopping state within CloudStack to NodeState.STOPPED as opposed to TERMINATED.
Date Fri, 07 Feb 2014 12:15:41 GMT
Updated Branches:
  refs/heads/trunk 00250abf0 -> 67b7b281d


Changing the stopped/stopping state within CloudStack to NodeState.STOPPED as opposed to TERMINATED.

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


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

Branch: refs/heads/trunk
Commit: 77cca8a96baeab939e18ef484405fc978adef02f
Parents: 00250ab
Author: Chris DeRamus <chris@divvycloud.com>
Authored: Thu Feb 6 18:24:29 2014 -0500
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Feb 7 00:30:24 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/77cca8a9/libcloud/compute/drivers/cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudstack.py b/libcloud/compute/drivers/cloudstack.py
index a48ce81..511cfe6 100644
--- a/libcloud/compute/drivers/cloudstack.py
+++ b/libcloud/compute/drivers/cloudstack.py
@@ -422,8 +422,8 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver):
     NODE_STATE_MAP = {
         'Running': NodeState.RUNNING,
         'Starting': NodeState.REBOOTING,
-        'Stopped': NodeState.TERMINATED,
-        'Stopping': NodeState.TERMINATED,
+        'Stopped': NodeState.STOPPED,
+        'Stopping': NodeState.STOPPED,
         'Destroyed': NodeState.TERMINATED,
         'Expunging': NodeState.TERMINATED,
         'Error': NodeState.TERMINATED


Mime
View raw message