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
Guillaume Hervier
slapos.core
Commits
e10d1a7d
Commit
e10d1a7d
authored
Nov 22, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do less heavy network communication.
parent
0ae6ef4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+4
-3
No files found.
slapos/grid/slapgrid.py
View file @
e10d1a7d
...
@@ -667,7 +667,8 @@ class Slapgrid(object):
...
@@ -667,7 +667,8 @@ class Slapgrid(object):
clean_run
=
True
clean_run
=
True
#We loop on the different computer partitions
#We loop on the different computer partitions
for
computer_partition
in
slap_computer_usage
.
getComputerPartitionList
():
computer_partition_list
=
slap_computer_usage
.
getComputerPartitionList
()
for
computer_partition
in
computer_partition_list
:
computer_partition_id
=
computer_partition
.
getId
()
computer_partition_id
=
computer_partition
.
getId
()
#We want execute all the script in the report folder
#We want execute all the script in the report folder
...
@@ -726,7 +727,7 @@ class Slapgrid(object):
...
@@ -726,7 +727,7 @@ class Slapgrid(object):
#Now we loop through the different computer partitions to ggetId()et reports
#Now we loop through the different computer partitions to ggetId()et reports
report_usage_issue_cp_list
=
[]
report_usage_issue_cp_list
=
[]
for
computer_partition
in
slap_computer_usage
.
getComputerPartitionList
()
:
for
computer_partition
in
computer_partition_list
:
filename_delete_list
=
[]
filename_delete_list
=
[]
computer_partition_id
=
computer_partition
.
getId
()
computer_partition_id
=
computer_partition
.
getId
()
instance_path
=
os
.
path
.
join
(
self
.
instance_root
,
computer_partition_id
)
instance_path
=
os
.
path
.
join
(
self
.
instance_root
,
computer_partition_id
)
...
@@ -800,7 +801,7 @@ class Slapgrid(object):
...
@@ -800,7 +801,7 @@ class Slapgrid(object):
computer_partition
.
error
(
issue
)
computer_partition
.
error
(
issue
)
report_usage_issue_cp_list
.
append
(
computer_partition_id
)
report_usage_issue_cp_list
.
append
(
computer_partition_id
)
for
computer_partition
in
slap_computer_usage
.
getComputerPartitionList
()
:
for
computer_partition
in
computer_partition_list
:
computer_partition_id
=
computer_partition
.
getId
()
computer_partition_id
=
computer_partition
.
getId
()
try
:
try
:
software_url
=
computer_partition
.
getSoftwareRelease
().
getURI
()
software_url
=
computer_partition
.
getSoftwareRelease
().
getURI
()
...
...
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