Go to the source code of this file.
Defines | |
#define | EDG_WLL_JOB_SIMPLE EDG_WLL_REGJOB_SIMPLE |
Register job with L&B service. More... | |
Functions | |
int | edg_wll_LogTransfer (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *result, const char *reason, const char *dest_jobid) |
simple wrapper around edg_wll_LogEvent for event Transfer. More... | |
int | edg_wll_LogTransferSTART (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid) |
simple wrapper around edg_wll_LogEvent for event Transfer, result START. More... | |
int | edg_wll_LogTransferOK (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid) |
simple wrapper around edg_wll_LogEvent for event Transfer, result OK. More... | |
int | edg_wll_LogTransferREFUSED (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid) |
simple wrapper around edg_wll_LogEvent for event Transfer, result REFUSED. More... | |
int | edg_wll_LogTransferFAIL (edg_wll_Context context, const edg_wll_Source destination, const char *dest_host, const char *dest_instance, const char *job, const char *reason, const char *dest_jobid) |
simple wrapper around edg_wll_LogEvent for event Transfer, result FAIL. More... | |
int | edg_wll_LogAccepted (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *local_jobid) |
simple wrapper around edg_wll_LogEvent for event Accepted. More... | |
int | edg_wll_LogRefused (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Refused. More... | |
int | edg_wll_LogEnQueued (edg_wll_Context context, const char *queue, const char *job, const char *result, const char *reason) |
simple wrapper around edg_wll_LogEvent for event EnQueued. More... | |
int | edg_wll_LogEnQueuedSTART (edg_wll_Context context, const char *queue, const char *job, const char *reason) |
simple wrapper around edg_wll_LogEvent for event EnQueued, result START. More... | |
int | edg_wll_LogEnQueuedOK (edg_wll_Context context, const char *queue, const char *job, const char *reason) |
simple wrapper around edg_wll_LogEvent for event EnQueued, result OK. More... | |
int | edg_wll_LogEnQueuedREFUSED (edg_wll_Context context, const char *queue, const char *job, const char *reason) |
simple wrapper around edg_wll_LogEvent for event EnQueued, result REFUSED. More... | |
int | edg_wll_LogEnQueuedFAIL (edg_wll_Context context, const char *queue, const char *job, const char *reason) |
simple wrapper around edg_wll_LogEvent for event EnQueued, result FAIL. More... | |
int | edg_wll_LogDeQueued (edg_wll_Context context, const char *queue, const char *local_jobid) |
simple wrapper around edg_wll_LogEvent for event DeQueued. More... | |
int | edg_wll_LogHelperCall (edg_wll_Context context, const char *helper_name, const char *helper_params, const char *src_role) |
simple wrapper around edg_wll_LogEvent for event HelperCall. More... | |
int | edg_wll_LogHelperCallCALLING (edg_wll_Context context, const char *helper_name, const char *helper_params) |
simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLING. More... | |
int | edg_wll_LogHelperCallCALLED (edg_wll_Context context, const char *helper_name, const char *helper_params) |
simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLED. More... | |
int | edg_wll_LogHelperReturn (edg_wll_Context context, const char *helper_name, const char *retval, const char *src_role) |
simple wrapper around edg_wll_LogEvent for event HelperReturn. More... | |
int | edg_wll_LogHelperReturnCALLING (edg_wll_Context context, const char *helper_name, const char *retval) |
simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLING. More... | |
int | edg_wll_LogHelperReturnCALLED (edg_wll_Context context, const char *helper_name, const char *retval) |
simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLED. More... | |
int | edg_wll_LogRunning (edg_wll_Context context, const char *node) |
simple wrapper around edg_wll_LogEvent for event Running. More... | |
int | edg_wll_LogResubmission (edg_wll_Context context, const char *result, const char *reason, const char *tag) |
simple wrapper around edg_wll_LogEvent for event Resubmission. More... | |
int | edg_wll_LogResubmissionWILLRESUB (edg_wll_Context context, const char *reason, const char *tag) |
simple wrapper around edg_wll_LogEvent for event Resubmission, result WILLRESUB. More... | |
int | edg_wll_LogResubmissionWONTRESUB (edg_wll_Context context, const char *reason, const char *tag) |
simple wrapper around edg_wll_LogEvent for event Resubmission, result WONTRESUB. More... | |
int | edg_wll_LogDone (edg_wll_Context context, const char *status_code, const char *reason, const int exit_code) |
simple wrapper around edg_wll_LogEvent for event Done. More... | |
int | edg_wll_LogDoneOK (edg_wll_Context context, const char *reason, const int exit_code) |
simple wrapper around edg_wll_LogEvent for event Done, status_code OK. More... | |
int | edg_wll_LogDoneFAILED (edg_wll_Context context, const char *reason, const int exit_code) |
simple wrapper around edg_wll_LogEvent for event Done, status_code FAILED. More... | |
int | edg_wll_LogDoneCANCELLED (edg_wll_Context context, const char *reason, const int exit_code) |
simple wrapper around edg_wll_LogEvent for event Done, status_code CANCELLED. More... | |
int | edg_wll_LogCancel (edg_wll_Context context, const char *status_code, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Cancel. More... | |
int | edg_wll_LogCancelREQ (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Cancel, status_code REQ. More... | |
int | edg_wll_LogCancelREFUSE (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Cancel, status_code REFUSE. More... | |
int | edg_wll_LogCancelDONE (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Cancel, status_code DONE. More... | |
int | edg_wll_LogCancelABORT (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Cancel, status_code ABORT. More... | |
int | edg_wll_LogAbort (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Abort. More... | |
int | edg_wll_LogClear (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Clear. More... | |
int | edg_wll_LogClearUSER (edg_wll_Context context) |
simple wrapper around edg_wll_LogEvent for event Clear, reason USER. More... | |
int | edg_wll_LogClearTIMEOUT (edg_wll_Context context) |
simple wrapper around edg_wll_LogEvent for event Clear, reason TIMEOUT. More... | |
int | edg_wll_LogClearNOOUTPUT (edg_wll_Context context) |
simple wrapper around edg_wll_LogEvent for event Clear, reason NOOUTPUT. More... | |
int | edg_wll_LogPurge (edg_wll_Context context) |
simple wrapper around edg_wll_LogEvent for event Purge. More... | |
int | edg_wll_LogMatch (edg_wll_Context context, const char *dest_id) |
simple wrapper around edg_wll_LogEvent for event Match. More... | |
int | edg_wll_LogPending (edg_wll_Context context, const char *reason) |
simple wrapper around edg_wll_LogEvent for event Pending. More... | |
int | edg_wll_LogRegJob (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const char *jobtype, const int nsubjobs, const char *seed) |
simple wrapper around edg_wll_LogEvent for event RegJob. More... | |
int | edg_wll_LogRegJobSIMPLE (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed) |
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype SIMPLE. More... | |
int | edg_wll_LogRegJobDAG (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed) |
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype DAG. More... | |
int | edg_wll_LogRegJobPARTITIONABLE (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed) |
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONABLE. More... | |
int | edg_wll_LogRegJobPARTITIONED (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed) |
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONED. More... | |
int | edg_wll_LogChkpt (edg_wll_Context context, const char *tag, const char *classad) |
simple wrapper around edg_wll_LogEvent for event Chkpt. More... | |
int | edg_wll_LogListener (edg_wll_Context context, const char *svc_name, const char *svc_host, const uint16_t svc_port) |
simple wrapper around edg_wll_LogEvent for event Listener. More... | |
int | edg_wll_LogCurDescr (edg_wll_Context context, const char *descr) |
simple wrapper around edg_wll_LogEvent for event CurDescr. More... | |
int | edg_wll_LogUserTag (edg_wll_Context context, const char *name, const char *value) |
simple wrapper around edg_wll_LogEvent for event UserTag. More... | |
int | edg_wll_LogChangeACL (edg_wll_Context context, const char *user_id, const int user_id_type, const int permission, const int permission_type, const int operation) |
simple wrapper around edg_wll_LogEvent for event ChangeACL. More... | |
int | edg_wll_LogEvent (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...) |
Formats a logging message and sends it asynchronously to local-logger generic asynchronous logging function. More... | |
int | edg_wll_LogEventSync (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...) |
Formats a logging message and sends it synchronously to local-logger generic synchronous logging function. More... | |
int | edg_wll_LogFlush (edg_wll_Context context, struct timeval *timeout) |
Instructs interlogger to to deliver all pending events related to current job flush events from interlogger. More... | |
int | edg_wll_LogFlushAll (edg_wll_Context context, struct timeval *timeout) |
Instructs interlogger to to deliver all pending events flush all events from interlogger. More... | |
int | edg_wll_SetLoggingJob (edg_wll_Context context, const edg_wlc_JobId job, const char *code, int flags) |
Set a current job for given context. More... | |
int | edg_wll_RegisterJobSync (edg_wll_Context context, const edg_wlc_JobId job, enum edg_wll_RegJobJobtype type, const char *jdl, const char *ns, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs) |
Synchronous variant of edg_wll_RegisterJob. | |
int | edg_wll_RegisterSubjobs (edg_wll_Context context, const edg_wlc_JobId parent, char const *const *jdls, const char *ns, edg_wlc_JobId const *subjobs) |
Register subjobs in a batch. More... | |
int | edg_wll_GenerateSubjobIds (edg_wll_Context context, const edg_wlc_JobId parent, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs) |
Generate or regenerate set of subjob ID's. More... | |
int | edg_wll_ChangeACL (edg_wll_Context context, const edg_wlc_JobId job, const char *user_id, enum edg_wll_UserIdType user_id_type, enum edg_wll_Permission permission, enum edg_wll_PermissionType permission_type, enum edg_wll_ACLOperation operation) |
Change ACL for given job. More... |
|
Register job with L&B service. Done via logging REGJOB event, may generate subjob id's and create the parent-children associations. Set the job as current for the context and initialize sequence code. Partitionable jobs should set num_subjobs=0 initially, and re-register when number of subjobs becomes known.
|
|
Change ACL for given job.
|
|
Generate or regenerate set of subjob ID's. Calls the same algorithm used to generate subjob ID's in edg_wll_RegisterJob(). Local semantics only, server is not contacted. |
|
simple wrapper around edg_wll_LogEvent for event Abort.
|
|
simple wrapper around edg_wll_LogEvent for event Accepted.
|
|
simple wrapper around edg_wll_LogEvent for event Cancel.
|
|
simple wrapper around edg_wll_LogEvent for event Cancel, status_code ABORT.
|
|
simple wrapper around edg_wll_LogEvent for event Cancel, status_code DONE.
|
|
simple wrapper around edg_wll_LogEvent for event Cancel, status_code REFUSE.
|
|
simple wrapper around edg_wll_LogEvent for event Cancel, status_code REQ.
|
|
simple wrapper around edg_wll_LogEvent for event ChangeACL.
|
|
simple wrapper around edg_wll_LogEvent for event Chkpt.
|
|
simple wrapper around edg_wll_LogEvent for event Clear.
|
|
simple wrapper around edg_wll_LogEvent for event Clear, reason NOOUTPUT.
|
|
simple wrapper around edg_wll_LogEvent for event Clear, reason TIMEOUT.
|
|
simple wrapper around edg_wll_LogEvent for event Clear, reason USER.
|
|
simple wrapper around edg_wll_LogEvent for event CurDescr.
|
|
simple wrapper around edg_wll_LogEvent for event DeQueued.
|
|
simple wrapper around edg_wll_LogEvent for event Done.
|
|
simple wrapper around edg_wll_LogEvent for event Done, status_code CANCELLED.
|
|
simple wrapper around edg_wll_LogEvent for event Done, status_code FAILED.
|
|
simple wrapper around edg_wll_LogEvent for event Done, status_code OK.
|
|
simple wrapper around edg_wll_LogEvent for event EnQueued.
|
|
simple wrapper around edg_wll_LogEvent for event EnQueued, result FAIL.
|
|
simple wrapper around edg_wll_LogEvent for event EnQueued, result OK.
|
|
simple wrapper around edg_wll_LogEvent for event EnQueued, result REFUSED.
|
|
simple wrapper around edg_wll_LogEvent for event EnQueued, result START.
|
|
Formats a logging message and sends it asynchronously to local-logger generic asynchronous logging function.
|
|
Formats a logging message and sends it synchronously to local-logger generic synchronous logging function.
|
|
Instructs interlogger to to deliver all pending events related to current job flush events from interlogger.
|
|
Instructs interlogger to to deliver all pending events flush all events from interlogger.
|
|
simple wrapper around edg_wll_LogEvent for event HelperCall.
|
|
simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLED.
|
|
simple wrapper around edg_wll_LogEvent for event HelperCall, src_role CALLING.
|
|
simple wrapper around edg_wll_LogEvent for event HelperReturn.
|
|
simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLED.
|
|
simple wrapper around edg_wll_LogEvent for event HelperReturn, src_role CALLING.
|
|
simple wrapper around edg_wll_LogEvent for event Listener.
|
|
simple wrapper around edg_wll_LogEvent for event Match.
|
|
simple wrapper around edg_wll_LogEvent for event Pending.
|
|
simple wrapper around edg_wll_LogEvent for event Purge.
|
|
simple wrapper around edg_wll_LogEvent for event Refused.
|
|
simple wrapper around edg_wll_LogEvent for event RegJob.
|
|
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype DAG.
|
|
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONABLE.
|
|
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype PARTITIONED.
|
|
simple wrapper around edg_wll_LogEvent for event RegJob, jobtype SIMPLE.
|
|
simple wrapper around edg_wll_LogEvent for event Resubmission.
|
|
simple wrapper around edg_wll_LogEvent for event Resubmission, result WILLRESUB.
|
|
simple wrapper around edg_wll_LogEvent for event Resubmission, result WONTRESUB.
|
|
simple wrapper around edg_wll_LogEvent for event Running.
|
|
simple wrapper around edg_wll_LogEvent for event Transfer.
|
|
simple wrapper around edg_wll_LogEvent for event Transfer, result FAIL.
|
|
simple wrapper around edg_wll_LogEvent for event Transfer, result OK.
|
|
simple wrapper around edg_wll_LogEvent for event Transfer, result REFUSED.
|
|
simple wrapper around edg_wll_LogEvent for event Transfer, result START.
|
|
simple wrapper around edg_wll_LogEvent for event UserTag.
|
|
Register subjobs in a batch. Mainly used to provide JDL's of individual subjobs in a more efficient way than logging them one by one.
|
|
Set a current job for given context.
|