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/03 17:22:33 UTC
svn commit: r1197201 - /libcloud/trunk/libcloud/compute/drivers/brightbox.py
Author: tomaz
Date: Thu Nov 3 16:22:33 2011
New Revision: 1197201
URL: http://svn.apache.org/viewvc?rev=1197201&view=rev
Log:
Add new "unavailable" state to the BrightboxNodeDriver class. This patch has been
contributed by Tim Fletcher <mail at tfletcher dot com> and is part of
LIBCLOUD-127.
Modified:
libcloud/trunk/libcloud/compute/drivers/brightbox.py
Modified: libcloud/trunk/libcloud/compute/drivers/brightbox.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/brightbox.py?rev=1197201&r1=1197200&r2=1197201&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/brightbox.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/brightbox.py Thu Nov 3 16:22:33 2011
@@ -106,7 +106,8 @@ class BrightboxNodeDriver(NodeDriver):
'inactive': NodeState.UNKNOWN,
'deleting': NodeState.UNKNOWN,
'deleted': NodeState.TERMINATED,
- 'failed': NodeState.UNKNOWN }
+ 'failed': NodeState.UNKNOWN,
+ 'unavailable': NodeState.UNKNOWN }
def _to_node(self, data):
return Node(