Commit 634d30f4 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

objects.Node: Add static hv/disk state

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarRené Nussbaumer <>
parent 18bf85b1
......@@ -990,7 +990,14 @@ class OS(ConfigObject):
class Node(TaggableObject):
"""Config object representing a node."""
"""Config object representing a node.
@ivar hv_state: Hypervisor state (e.g. number of CPUs)
@ivar hv_state_static: Hypervisor state overriden by user
@ivar disk_state: Disk state (e.g. free space)
@ivar disk_state_static: Disk state overriden by user
__slots__ = [
......@@ -1005,7 +1012,9 @@ class Node(TaggableObject):
def UpgradeConfig(self):
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