From 9410669949e8bbbf6d4447855cf054495b0215c7 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Wed, 30 Jul 2014 15:52:33 +0200 Subject: [PATCH] iotlab driver: Removed the 4 minutes, which were added by default to the leases in order to have aligned timeslots in MySlice --- sfa/iotlab/iotlabshell.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.43.0