- /*
- * The bug #14699 cannot allow us to set up an event trace which
- * begin by SURF_RESOURCE_OFF, otherwise, the host will be down at startup
- * and the associate process will fail to start. So, here, we generate a
- * first useless event.
- */
- //Set a availability trace for the node
- char* generator_id = bprintf("state_host_%ld", node->id);
- probabilist_event_generator_t date_generator =
- tmgr_event_generator_new_weibull(generator_id, 80, 1.5);
- host_parameters.state_trace = tmgr_trace_generator_state(generator_id,
- date_generator,
- SURF_RESOURCE_ON);
-