libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1428611 - /libcloud/trunk/libcloud/compute/drivers/openstack.py
Date Thu, 03 Jan 2013 21:41:20 GMT
Author: tomaz
Date: Thu Jan  3 21:41:19 2013
New Revision: 1428611

URL: http://svn.apache.org/viewvc?rev=1428611&view=rev
Log:
Add mapping from 'deleted' -> 'terminated' state to OpenStack compute drivers.

Reported by Jayyy, part of LIBCLOUD-276.

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

Modified: libcloud/trunk/libcloud/compute/drivers/openstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/openstack.py?rev=1428611&r1=1428610&r2=1428611&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/openstack.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/openstack.py Thu Jan  3 21:41:19 2013
@@ -160,6 +160,7 @@ class OpenStackNodeDriver(NodeDriver, Op
         'REBUILD': NodeState.PENDING,
         'ACTIVE': NodeState.RUNNING,
         'SUSPENDED': NodeState.TERMINATED,
+        'DELETED': NodeState.TERMINATED,
         'QUEUE_RESIZE': NodeState.PENDING,
         'PREP_RESIZE': NodeState.PENDING,
         'VERIFY_RESIZE': NodeState.RUNNING,



Mime
View raw message