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
Thomas Leymonerie
slapos.core
Commits
6316da76
Commit
6316da76
authored
May 26, 2017
by
Tomáš Peterka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve some comments
parent
cd9b672c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+4
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+6
-1
No files found.
slapos/grid/SlapObject.py
View file @
6316da76
...
...
@@ -321,7 +321,10 @@ class Software(object):
class
Partition
(
object
):
"""This class is responsible of the installation of an instance
"""This class is responsible of the software installation into an instance.
It has nothing in common with `slapos.format.Partition` which is executed as root and
prepares underlaying system to accomodate an software release afterwards.
"""
retention_lock_delay_filename
=
'.slapos-retention-lock-delay'
retention_lock_date_filename
=
'.slapos-retention-lock-date'
...
...
slapos/grid/slapgrid.py
View file @
6316da76
...
...
@@ -925,7 +925,12 @@ stderr_logfile_backups=1
def
processComputerPartition
(
self
,
computer_partition
):
"""
Process a Computer Partition, depending on its state
Apply configuration received from SlapOS Master to given partition.
This function takes care only of Software Releases installed inside
partitions. It is different from `slapos.format.Partition` processing.
:param computer_partition: slapos.slap.slap.Computer,
"""
computer_partition_id
=
computer_partition
.
getId
()
...
...
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