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 <[email protected]> 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 <[email protected]> Authored: Thu Feb 6 18:24:29 2014 -0500 Committer: Tomaz Muraus <[email protected]> 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
