Multiproviders support for Chameleon
Multiprovider support is about synchronizing an experiment between Chameleon platform and one or several external platforms (Fit, G5k). At the provider level it's about implementing more precisely(see below) some methods.
-
test_slot
. The current Chameleon provider inherit from the default behaviour and all slots will be considered as potential candidate. As a side-effect all tested slots will lead to the creation of a lease on Chameleon (critical as this avoid to spam the scheduler) -
set_reservation
. This allows for changing the reservation date dynamically (important). This function takes a POSIX timestamp and must transform it into a date understandable by blazar. -
async_init
The purpose of this method is to submit the lease, make sure it's running and return (this should correspond to the first steps of theinit
function) (important). Some work is required to better handle possible Exceptions (e.gInvalidReservationTime
, ...) as this is used by theProviders
logic to take its decisions. -
offset_walltime
. This allows for changing the walltime to make some final adjustement (less important)