Commit e6b8c500 authored by Rafael Monnerat's avatar Rafael Monnerat

format: Add more hardware informations to collect.

parent 67e6b1c4
...@@ -255,7 +255,20 @@ class Computer(object): ...@@ -255,7 +255,20 @@ class Computer(object):
self.ipv6_interface = ipv6_interface self.ipv6_interface = ipv6_interface
self.software_user = software_user self.software_user = software_user
self.tap_gateway_interface = tap_gateway_interface self.tap_gateway_interface = tap_gateway_interface
# The follow properties are updated on update() method
self.public_ipv4_address = None self.public_ipv4_address = None
self.os_type = None
self.python_version = None
self.slapos_version = None
self.cpu_core = None
self.cpu_type = None
self.cpu_frequency = None
self.memory_size = None
self.memory_type = None
self.disk_size = None
self.disk_raid = None
self.disk_type = None
def __getinitargs__(self): def __getinitargs__(self):
return (self.reference, self.interface) return (self.reference, self.interface)
......
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