reservation_list = unfiltered_reservation_list
- self.update_jobs_in_iotlabdb(job_oar_list, jobs_psql_id_list)
+ self.iotlab_db.update_jobs_in_iotlabdb(job_oar_list, jobs_psql_id_list)
logger.debug(" IOTLABDRIVER.PY \tGetLeases reservation_list %s"\
%(reservation_list))
self.iotlab_session.close()
self.iotlab_session = None
- def update_jobs_in_iotlabdb( job_oar_list, jobs_psql):
+ def update_jobs_in_iotlabdb(self, job_oar_list, jobs_psql):
""" Cleans the iotlab db by deleting expired and cancelled jobs.
Compares the list of job ids given by OAR with the job ids that
are already in the database, deletes the jobs that are no longer in