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/10/22 11:16:44 UTC
[2/4] git commit: Add missing docstring for a new node state.
Add missing docstring for a new node state.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5a9b2185
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5a9b2185
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5a9b2185
Branch: refs/heads/trunk
Commit: 5a9b2185e26b8de45d2558e911ad0ac9b562842e
Parents: dbbe1a2
Author: Tomaz Muraus <to...@apache.org>
Authored: Tue Oct 22 11:05:37 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Tue Oct 22 11:06:00 2013 +0200
----------------------------------------------------------------------
libcloud/compute/types.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/5a9b2185/libcloud/compute/types.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/types.py b/libcloud/compute/types.py
index d1e8028..757b1b6 100644
--- a/libcloud/compute/types.py
+++ b/libcloud/compute/types.py
@@ -164,11 +164,12 @@ class NodeState(object):
"""
Standard states for a node
- :cvar RUNNING: Node is running
- :cvar REBOOTING: Node is rebooting
- :cvar TERMINATED: Node is terminated
- :cvar PENDING: Node is pending
- :cvar UNKNOWN: Node state is unknown
+ :cvar RUNNING: Node is running.
+ :cvar REBOOTING: Node is rebooting.
+ :cvar TERMINATED: Node is terminated. This node can't be started later on.
+ :cvar STOPPED: Node is stopped. This node can be started later on.
+ :cvar PENDING: Node is pending.
+ :cvar UNKNOWN: Node state is unknown.
"""
RUNNING = 0
REBOOTING = 1