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 2011/11/07 15:25:57 UTC

svn commit: r1198747 - /libcloud/trunk/libcloud/compute/drivers/cloudstack.py

Author: tomaz
Date: Mon Nov  7 14:25:56 2011
New Revision: 1198747

URL: http://svn.apache.org/viewvc?rev=1198747&view=rev
Log:
Add missing 'Destroyed' state to the CloudStack compute driver. This patch has
been contributed by "gigimon" and is part of GITHUB-36.

Modified:
    libcloud/trunk/libcloud/compute/drivers/cloudstack.py

Modified: libcloud/trunk/libcloud/compute/drivers/cloudstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/cloudstack.py?rev=1198747&r1=1198746&r2=1198747&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/cloudstack.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/cloudstack.py Mon Nov  7 14:25:56 2011
@@ -89,7 +89,8 @@ class CloudStackNodeDriver(CloudStackDri
         'Running': NodeState.RUNNING,
         'Starting': NodeState.REBOOTING,
         'Stopped': NodeState.TERMINATED,
-        'Stopping': NodeState.TERMINATED
+        'Stopping': NodeState.TERMINATED,
+        'Destroyed': NodeState.TERMINATED
     }
 
     def list_images(self, location=None):