mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-31 17:39:38 +00:00
modified 'create new instance' screen with compute details
This commit is contained in:
@@ -48,6 +48,10 @@ class Compute(Model):
|
||||
@cached_property
|
||||
def cpu_count(self):
|
||||
return self.proxy.get_node_info()[3]
|
||||
|
||||
@cached_property
|
||||
def cpu_usage(self):
|
||||
return round(self.proxy.get_cpu_usage().get('usage'))
|
||||
|
||||
@cached_property
|
||||
def ram_size(self):
|
||||
|
||||
Reference in New Issue
Block a user