Commit 90423956 by Guba Sándor

node: add driver_version property

parent f03b1685
......@@ -288,6 +288,11 @@ class Node(OperatedMixin, TimeStampedModel):
@property
@node_available
def driver_version(self):
return self.info['driver_version']
@property
@node_available
def cpu_usage(self):
return self.monitor_info.get('cpu.percent') / 100
......
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 sign in to comment