From: Loic Baron Date: Wed, 30 Jul 2014 13:52:33 +0000 (+0200) Subject: iotlab driver: Removed the 4 minutes, which were added by default to the leases in... X-Git-Tag: sfa-3.1-10~4^2~2 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=9410669949e8bbbf6d4447855cf054495b0215c7 iotlab driver: Removed the 4 minutes, which were added by default to the leases in order to have aligned timeslots in MySlice --- diff --git a/sfa/iotlab/iotlabshell.py b/sfa/iotlab/iotlabshell.py index 25aba100..34de4b1e 100644 --- a/sfa/iotlab/iotlabshell.py +++ b/sfa/iotlab/iotlabshell.py @@ -498,7 +498,9 @@ class IotlabShell(): # Put the duration in seconds first #desired_walltime = duration * 60 desired_walltime = duration - total_walltime = desired_walltime + 240 #+4 min Update SA 23/10/12 + # JORDAN : removed the 4 minutes added by default in iotlab + # XXX total_walltime = desired_walltime + 240 #+4 min Update SA 23/10/12 + total_walltime = desired_walltime # Needed to have slots aligned in MySlice (temp fix) # JA 11/07/2014 sleep_walltime = desired_walltime # 0 sec added Update SA 23/10/12 walltime = [] #Put the walltime back in str form