Commit 25124d4a authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Add new Node attribute powered

This is just a state of record field and does not necessary
reflect the reality.
Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarMichael Hanselmann <>
parent ccc6345b
......@@ -931,6 +931,7 @@ class Node(TaggableObject):
def UpgradeConfig(self):
......@@ -948,6 +949,9 @@ class Node(TaggableObject):
if self.ndparams is None:
self.ndparams = {}
if self.powered is None:
self.powered = True
class NodeGroup(ConfigObject):
"""Config object representing a node group."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment