Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.core
Commits
e6b8c500
Commit
e6b8c500
authored
Jun 02, 2016
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format: Add more hardware informations to collect.
parent
67e6b1c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
slapos/format.py
slapos/format.py
+13
-0
No files found.
slapos/format.py
View file @
e6b8c500
...
...
@@ -255,7 +255,20 @@ class Computer(object):
self
.
ipv6_interface
=
ipv6_interface
self
.
software_user
=
software_user
self
.
tap_gateway_interface
=
tap_gateway_interface
# The follow properties are updated on update() method
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
):
return
(
self
.
reference
,
self
.
interface
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment