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 2013/01/03 22:41:20 UTC
svn commit: r1428611 - /libcloud/trunk/libcloud/compute/drivers/openstack.py
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,