Main Page | Modules | Data Structures | File List | Data Fields | Globals

producer.h File Reference

client API for storing data into L&B service More...

#include "glite/lb/context.h"
#include "glite/lb/events.h"

Go to the source code of this file.

Defines

#define EDG_WLL_FORMAT_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.PRIORITY=%d DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.EVNT=\"%s\" DG.JOBID=\"%s\" DG.SEQCODE=\"%|Us\" "
#define EDG_WLL_FORMAT_USER   "DG.USER=\"%|Us\" "
#define EDG_WLL_FORMAT_TRANSFER   "DG.TRANSFER.DESTINATION=\"%s\" DG.TRANSFER.DEST_HOST=\"%|Us\" DG.TRANSFER.DEST_INSTANCE=\"%|Us\" DG.TRANSFER.JOB=\"%|Us\" DG.TRANSFER.RESULT=\"%s\" DG.TRANSFER.REASON=\"%|Us\" DG.TRANSFER.DEST_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_ACCEPTED   "DG.ACCEPTED.FROM=\"%s\" DG.ACCEPTED.FROM_HOST=\"%|Us\" DG.ACCEPTED.FROM_INSTANCE=\"%|Us\" DG.ACCEPTED.LOCAL_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_REFUSED   "DG.REFUSED.FROM=\"%s\" DG.REFUSED.FROM_HOST=\"%|Us\" DG.REFUSED.FROM_INSTANCE=\"%|Us\" DG.REFUSED.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_ENQUEUED   "DG.ENQUEUED.QUEUE=\"%|Us\" DG.ENQUEUED.JOB=\"%|Us\" DG.ENQUEUED.RESULT=\"%s\" DG.ENQUEUED.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_DEQUEUED   "DG.DEQUEUED.QUEUE=\"%|Us\" DG.DEQUEUED.LOCAL_JOBID=\"%|Us\" "
#define EDG_WLL_FORMAT_HELPERCALL   "DG.HELPERCALL.HELPER_NAME=\"%|Us\" DG.HELPERCALL.HELPER_PARAMS=\"%|Us\" DG.HELPERCALL.SRC_ROLE=\"%s\" "
#define EDG_WLL_FORMAT_HELPERRETURN   "DG.HELPERRETURN.HELPER_NAME=\"%|Us\" DG.HELPERRETURN.RETVAL=\"%|Us\" DG.HELPERRETURN.SRC_ROLE=\"%s\" "
#define EDG_WLL_FORMAT_RUNNING   "DG.RUNNING.NODE=\"%|Us\" "
#define EDG_WLL_FORMAT_RESUBMISSION   "DG.RESUBMISSION.RESULT=\"%s\" DG.RESUBMISSION.REASON=\"%|Us\" DG.RESUBMISSION.TAG=\"%|Us\" "
#define EDG_WLL_FORMAT_DONE   "DG.DONE.STATUS_CODE=\"%s\" DG.DONE.REASON=\"%|Us\" DG.DONE.EXIT_CODE=\"%d\" "
#define EDG_WLL_FORMAT_CANCEL   "DG.CANCEL.STATUS_CODE=\"%s\" DG.CANCEL.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_ABORT   "DG.ABORT.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CLEAR   "DG.CLEAR.REASON=\"%s\" "
#define EDG_WLL_FORMAT_PURGE   ""
#define EDG_WLL_FORMAT_MATCH   "DG.MATCH.DEST_ID=\"%|Us\" "
#define EDG_WLL_FORMAT_PENDING   "DG.PENDING.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_REGJOB   "DG.REGJOB.JDL=\"%|Us\" DG.REGJOB.NS=\"%|Us\" DG.REGJOB.PARENT=\"%s\" DG.REGJOB.JOBTYPE=\"%s\" DG.REGJOB.NSUBJOBS=\"%d\" DG.REGJOB.SEED=\"%|Us\" "
#define EDG_WLL_FORMAT_CHKPT   "DG.CHKPT.TAG=\"%|Us\" DG.CHKPT.CLASSAD=\"%|Us\" "
#define EDG_WLL_FORMAT_LISTENER   "DG.LISTENER.SVC_NAME=\"%|Us\" DG.LISTENER.SVC_HOST=\"%|Us\" DG.LISTENER.SVC_PORT=\"%d\" "
#define EDG_WLL_FORMAT_CURDESCR   "DG.CURDESCR.DESCR=\"%|Us\" "
#define EDG_WLL_FORMAT_USERTAG   "DG.USERTAG.NAME=\"%|Us\" DG.USERTAG.VALUE=\"%|Us\" "
#define EDG_WLL_FORMAT_CHANGEACL   "DG.CHANGEACL.USER_ID=\"%|Us\" DG.CHANGEACL.USER_ID_TYPE=\"%d\" DG.CHANGEACL.PERMISSION=\"%d\" DG.CHANGEACL.PERMISSION_TYPE=\"%d\" DG.CHANGEACL.OPERATION=\"%d\" "
#define EDG_WLL_FORMAT_NOTIFICATION   "DG.NOTIFICATION.NOTIFID=\"%s\" DG.NOTIFICATION.OWNER=\"%|Us\" DG.NOTIFICATION.DEST_HOST=\"%|Us\" DG.NOTIFICATION.DEST_PORT=\"%d\" DG.NOTIFICATION.JOBSTAT=\"%|Us\" "
#define EDG_WLL_FORMAT_RESOURCEUSAGE   "DG.RESOURCEUSAGE.RESOURCE=\"%|Us\" DG.RESOURCEUSAGE.QUANTITY=\"%f\" DG.RESOURCEUSAGE.UNIT=\"%|Us\" "
#define EDG_WLL_FORMAT_REALLYRUNNING   "DG.REALLYRUNNING.WN_SEQ=\"%|Us\" "
#define EDG_WLL_FORMAT_SUSPEND   "DG.SUSPEND.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_RESUME   "DG.RESUME.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_COLLECTIONSTATE   "DG.COLLECTIONSTATE.STATE=\"%|Us\" DG.COLLECTIONSTATE.DONE_CODE=\"%d\" DG.COLLECTIONSTATE.HISTOGRAM=\"%|Us\" DG.COLLECTIONSTATE.CHILD=\"%s\" DG.COLLECTIONSTATE.CHILD_EVENT=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSQUEUED   "DG.PBSQUEUED.QUEUE=\"%|Us\" DG.PBSQUEUED.OWNER=\"%|Us\" DG.PBSQUEUED.NAME=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSMATCH   "DG.PBSMATCH.DEST_HOST=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSPENDING   "DG.PBSPENDING.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSRUN   "DG.PBSRUN.SCHEDULER=\"%|Us\" DG.PBSRUN.DEST_HOST=\"%|Us\" DG.PBSRUN.PID=\"%d\" "
#define EDG_WLL_FORMAT_PBSRERUN   ""
#define EDG_WLL_FORMAT_PBSDONE   "DG.PBSDONE.EXIT_STATUS=\"%d\" "
#define EDG_WLL_FORMAT_PBSDEQUEUED   ""
#define EDG_WLL_FORMAT_PBSRESOURCEUSAGE   "DG.PBSRESOURCEUSAGE.USAGE=\"%s\" DG.PBSRESOURCEUSAGE.NAME=\"%|Us\" DG.PBSRESOURCEUSAGE.QUANTITY=\"%f\" DG.PBSRESOURCEUSAGE.UNIT=\"%|Us\" "
#define EDG_WLL_FORMAT_PBSERROR   "DG.PBSERROR.ERROR_DESC=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORMATCH   "DG.CONDORMATCH.OWNER=\"%|Us\" DG.CONDORMATCH.MATCHED_HOST=\"%|Us\" DG.CONDORMATCH.PREEMPTING=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORREJECT   "DG.CONDORREJECT.OWNER=\"%|Us\" DG.CONDORREJECT.STATUS_CODE=\"%s\" "
#define EDG_WLL_FORMAT_CONDORRUN   "DG.CONDORRUN.CONDOR_ID=\"%|Us\" DG.CONDORRUN.UNIVERSE=\"%|Us\" DG.CONDORRUN.SCHEDULER=\"%|Us\" DG.CONDORRUN.DEST_HOST=\"%|Us\" DG.CONDORRUN.PID=\"%d\" "
#define EDG_WLL_FORMAT_CONDORCHKPT   "DG.CONDORCHKPT.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDOREVICT   "DG.CONDOREVICT.SHADOW_EXIT_STATUS=\"%d\" DG.CONDOREVICT.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORTERMINATE   "DG.CONDORTERMINATE.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORTERMINATE.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORABORT   "DG.CONDORABORT.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORABORT.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORSUSPEND   "DG.CONDORSUSPEND.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORSUSPEND.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORUNSUSPEND   "DG.CONDORUNSUSPEND.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORUNSUSPEND.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORHOLD   "DG.CONDORHOLD.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORHOLD.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORRELEASE   "DG.CONDORRELEASE.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORRELEASE.REASON=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORNODEEXECUTE   "DG.CONDORNODEEXECUTE.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORNODETERMINATE   "DG.CONDORNODETERMINATE.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORPOSTSCTIPTTERMINATE   "DG.CONDORPOSTSCTIPTTERMINATE.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORGLOBUSSUBMIT   "DG.CONDORGLOBUSSUBMIT.STATUS_CODE=\"%s\" DG.CONDORGLOBUSSUBMIT.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_CONDORGLOBUSRESOURCE   "DG.CONDORGLOBUSRESOURCE.STATUS_CODE=\"%s\" DG.CONDORGLOBUSRESOURCE.INFO=\"%|Us\" "
#define EDG_WLL_FORMAT_NOTIFICATION_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.TYPE=\"notification\" "
#define EDG_WLL_FORMAT_SYSCMPSTAT   "DG.SCHED.STATUS=\"%|Us\" "
#define EDG_WLL_FORMAT_SYSCLSTAT   "DG.SCHED.NODE=\"%|Us\" DG.SCHED.STATUS=\"%|Us\" "
#define EDG_WLL_JOB_SIMPLE   EDG_WLL_REGJOB_SIMPLE

Enumerations

enum  edg_wll_Permission { EDG_WLL_PERM_READ = 1, EDG_WLL_PERM_WRITE = 4, EDG_WLL_PERM_ADMIN = 8 }
enum  edg_wll_PermissionType { EDG_WLL_PERM_ALLOW, EDG_WLL_PERM_DENY }
enum  edg_wll_ACLOperation { EDG_WLL_ACL_ADD, EDG_WLL_ACL_REMOVE }
enum  edg_wll_UserIdType { EDG_WLL_USER_SUBJECT, EDG_WLL_USER_VOMS_GROUP }

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
int edg_wll_LogTransferProxy (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)
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
int edg_wll_LogTransferSTARTProxy (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)
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
int edg_wll_LogTransferOKProxy (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)
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
int edg_wll_LogTransferREFUSEDProxy (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)
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
int edg_wll_LogTransferFAILProxy (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)
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
int edg_wll_LogAcceptedProxy (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *local_jobid)
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
int edg_wll_LogRefusedProxy (edg_wll_Context context, const edg_wll_Source from, const char *from_host, const char *from_instance, const char *reason)
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
int edg_wll_LogEnQueuedProxy (edg_wll_Context context, const char *queue, const char *job, const char *result, const char *reason)
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
int edg_wll_LogEnQueuedSTARTProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
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
int edg_wll_LogEnQueuedOKProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
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
int edg_wll_LogEnQueuedREFUSEDProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
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
int edg_wll_LogEnQueuedFAILProxy (edg_wll_Context context, const char *queue, const char *job, const char *reason)
int edg_wll_LogDeQueued (edg_wll_Context context, const char *queue, const char *local_jobid)
 simple wrapper around edg_wll_LogEvent for event DeQueued
int edg_wll_LogDeQueuedProxy (edg_wll_Context context, const char *queue, const char *local_jobid)
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
int edg_wll_LogHelperCallProxy (edg_wll_Context context, const char *helper_name, const char *helper_params, const char *src_role)
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
int edg_wll_LogHelperCallCALLINGProxy (edg_wll_Context context, const char *helper_name, const char *helper_params)
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
int edg_wll_LogHelperCallCALLEDProxy (edg_wll_Context context, const char *helper_name, const char *helper_params)
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
int edg_wll_LogHelperReturnProxy (edg_wll_Context context, const char *helper_name, const char *retval, const char *src_role)
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
int edg_wll_LogHelperReturnCALLINGProxy (edg_wll_Context context, const char *helper_name, const char *retval)
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
int edg_wll_LogHelperReturnCALLEDProxy (edg_wll_Context context, const char *helper_name, const char *retval)
int edg_wll_LogRunning (edg_wll_Context context, const char *node)
 simple wrapper around edg_wll_LogEvent for event Running
int edg_wll_LogRunningProxy (edg_wll_Context context, const char *node)
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
int edg_wll_LogResubmissionProxy (edg_wll_Context context, const char *result, const char *reason, const char *tag)
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
int edg_wll_LogResubmissionWILLRESUBProxy (edg_wll_Context context, const char *reason, const char *tag)
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
int edg_wll_LogResubmissionWONTRESUBProxy (edg_wll_Context context, const char *reason, const char *tag)
int edg_wll_LogResubmissionSHALLOW (edg_wll_Context context, const char *reason, const char *tag)
 simple wrapper around edg_wll_LogEvent for event Resubmission, result SHALLOW
int edg_wll_LogResubmissionSHALLOWProxy (edg_wll_Context context, const char *reason, const char *tag)
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
int edg_wll_LogDoneProxy (edg_wll_Context context, const char *status_code, const char *reason, const int exit_code)
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
int edg_wll_LogDoneOKProxy (edg_wll_Context context, const char *reason, const int exit_code)
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
int edg_wll_LogDoneFAILEDProxy (edg_wll_Context context, const char *reason, const int exit_code)
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
int edg_wll_LogDoneCANCELLEDProxy (edg_wll_Context context, const char *reason, const int exit_code)
int edg_wll_LogCancel (edg_wll_Context context, const char *status_code, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Cancel
int edg_wll_LogCancelProxy (edg_wll_Context context, const char *status_code, const char *reason)
int edg_wll_LogCancelREQ (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Cancel, status_code REQ
int edg_wll_LogCancelREQProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogCancelREFUSE (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Cancel, status_code REFUSE
int edg_wll_LogCancelREFUSEProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogCancelDONE (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Cancel, status_code DONE
int edg_wll_LogCancelDONEProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogCancelABORT (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Cancel, status_code ABORT
int edg_wll_LogCancelABORTProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogAbort (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Abort
int edg_wll_LogAbortProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogClear (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Clear
int edg_wll_LogClearProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogClearUSER (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event Clear, reason USER
int edg_wll_LogClearUSERProxy (edg_wll_Context context)
int edg_wll_LogClearTIMEOUT (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event Clear, reason TIMEOUT
int edg_wll_LogClearTIMEOUTProxy (edg_wll_Context context)
int edg_wll_LogClearNOOUTPUT (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event Clear, reason NOOUTPUT
int edg_wll_LogClearNOOUTPUTProxy (edg_wll_Context context)
int edg_wll_LogPurge (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event Purge
int edg_wll_LogPurgeProxy (edg_wll_Context context)
int edg_wll_LogMatch (edg_wll_Context context, const char *dest_id)
 simple wrapper around edg_wll_LogEvent for event Match
int edg_wll_LogMatchProxy (edg_wll_Context context, const char *dest_id)
int edg_wll_LogPending (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Pending
int edg_wll_LogPendingProxy (edg_wll_Context context, const char *reason)
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
int edg_wll_LogRegJobProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const char *jobtype, const int nsubjobs, const char *seed)
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
int edg_wll_LogRegJobSIMPLEProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
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
int edg_wll_LogRegJobDAGProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
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
int edg_wll_LogRegJobPARTITIONABLEProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
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
int edg_wll_LogRegJobPARTITIONEDProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
int edg_wll_LogRegJobCOLLECTION (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 COLLECTION
int edg_wll_LogRegJobCOLLECTIONProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
int edg_wll_LogRegJobPBS (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 PBS
int edg_wll_LogRegJobPBSProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
int edg_wll_LogRegJobCONDOR (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 CONDOR
int edg_wll_LogRegJobCONDORProxy (edg_wll_Context context, const char *jdl, const char *ns, const edg_wlc_JobId parent, const int nsubjobs, const char *seed)
int edg_wll_LogChkpt (edg_wll_Context context, const char *tag, const char *classad)
 simple wrapper around edg_wll_LogEvent for event Chkpt
int edg_wll_LogChkptProxy (edg_wll_Context context, const char *tag, const char *classad)
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
int edg_wll_LogListenerProxy (edg_wll_Context context, const char *svc_name, const char *svc_host, const uint16_t svc_port)
int edg_wll_LogCurDescr (edg_wll_Context context, const char *descr)
 simple wrapper around edg_wll_LogEvent for event CurDescr
int edg_wll_LogCurDescrProxy (edg_wll_Context context, const char *descr)
int edg_wll_LogUserTag (edg_wll_Context context, const char *name, const char *value)
 simple wrapper around edg_wll_LogEvent for event UserTag
int edg_wll_LogUserTagProxy (edg_wll_Context context, const char *name, const char *value)
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
int edg_wll_LogChangeACLProxy (edg_wll_Context context, const char *user_id, const int user_id_type, const int permission, const int permission_type, const int operation)
int edg_wll_LogNotification (edg_wll_Context context, const edg_wll_NotifId notifId, const char *owner, const char *dest_host, const uint16_t dest_port, const char *jobstat)
 simple wrapper around edg_wll_LogEvent for event Notification
int edg_wll_LogNotificationProxy (edg_wll_Context context, const edg_wll_NotifId notifId, const char *owner, const char *dest_host, const uint16_t dest_port, const char *jobstat)
int edg_wll_LogResourceUsage (edg_wll_Context context, const char *resource, const double quantity, const char *unit)
 simple wrapper around edg_wll_LogEvent for event ResourceUsage
int edg_wll_LogResourceUsageProxy (edg_wll_Context context, const char *resource, const double quantity, const char *unit)
int edg_wll_LogReallyRunning (edg_wll_Context context, const char *wn_seq)
 simple wrapper around edg_wll_LogEvent for event ReallyRunning
int edg_wll_LogReallyRunningProxy (edg_wll_Context context, const char *wn_seq)
int edg_wll_LogSuspend (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Suspend
int edg_wll_LogSuspendProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogResume (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event Resume
int edg_wll_LogResumeProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogCollectionState (edg_wll_Context context, const char *state, const int done_code, const char *histogram, const edg_wlc_JobId child, const char *child_event)
 simple wrapper around edg_wll_LogEvent for event CollectionState
int edg_wll_LogCollectionStateProxy (edg_wll_Context context, const char *state, const int done_code, const char *histogram, const edg_wlc_JobId child, const char *child_event)
int edg_wll_LogPBSQueued (edg_wll_Context context, const char *queue, const char *owner, const char *name)
 simple wrapper around edg_wll_LogEvent for event PBSQueued
int edg_wll_LogPBSQueuedProxy (edg_wll_Context context, const char *queue, const char *owner, const char *name)
int edg_wll_LogPBSMatch (edg_wll_Context context, const char *dest_host)
 simple wrapper around edg_wll_LogEvent for event PBSMatch
int edg_wll_LogPBSMatchProxy (edg_wll_Context context, const char *dest_host)
int edg_wll_LogPBSPending (edg_wll_Context context, const char *reason)
 simple wrapper around edg_wll_LogEvent for event PBSPending
int edg_wll_LogPBSPendingProxy (edg_wll_Context context, const char *reason)
int edg_wll_LogPBSRun (edg_wll_Context context, const char *scheduler, const char *dest_host, const int pid)
 simple wrapper around edg_wll_LogEvent for event PBSRun
int edg_wll_LogPBSRunProxy (edg_wll_Context context, const char *scheduler, const char *dest_host, const int pid)
int edg_wll_LogPBSRerun (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event PBSRerun
int edg_wll_LogPBSRerunProxy (edg_wll_Context context)
int edg_wll_LogPBSDone (edg_wll_Context context, const int exit_status)
 simple wrapper around edg_wll_LogEvent for event PBSDone
int edg_wll_LogPBSDoneProxy (edg_wll_Context context, const int exit_status)
int edg_wll_LogPBSDequeued (edg_wll_Context context)
 simple wrapper around edg_wll_LogEvent for event PBSDequeued
int edg_wll_LogPBSDequeuedProxy (edg_wll_Context context)
int edg_wll_LogPBSResourceUsage (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
 simple wrapper around edg_wll_LogEvent for event PBSResourceUsage
int edg_wll_LogPBSResourceUsageProxy (edg_wll_Context context, const char *usage, const char *name, const double quantity, const char *unit)
int edg_wll_LogPBSResourceUsageREQUESTED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage REQUESTED
int edg_wll_LogPBSResourceUsageREQUESTEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
int edg_wll_LogPBSResourceUsageUSED (edg_wll_Context context, const char *name, const double quantity, const char *unit)
 simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage USED
int edg_wll_LogPBSResourceUsageUSEDProxy (edg_wll_Context context, const char *name, const double quantity, const char *unit)
int edg_wll_LogPBSError (edg_wll_Context context, const char *error_desc)
 simple wrapper around edg_wll_LogEvent for event PBSError
int edg_wll_LogPBSErrorProxy (edg_wll_Context context, const char *error_desc)
int edg_wll_LogCondorMatch (edg_wll_Context context, const char *owner, const char *matched_host, const char *preempting)
 simple wrapper around edg_wll_LogEvent for event CondorMatch
int edg_wll_LogCondorMatchProxy (edg_wll_Context context, const char *owner, const char *matched_host, const char *preempting)
int edg_wll_LogCondorReject (edg_wll_Context context, const char *owner, const char *status_code)
 simple wrapper around edg_wll_LogEvent for event CondorReject
int edg_wll_LogCondorRejectProxy (edg_wll_Context context, const char *owner, const char *status_code)
int edg_wll_LogCondorRejectNOMATCH (edg_wll_Context context, const char *owner)
 simple wrapper around edg_wll_LogEvent for event CondorReject, status_code NOMATCH
int edg_wll_LogCondorRejectNOMATCHProxy (edg_wll_Context context, const char *owner)
int edg_wll_LogCondorRejectOTHER (edg_wll_Context context, const char *owner)
 simple wrapper around edg_wll_LogEvent for event CondorReject, status_code OTHER
int edg_wll_LogCondorRejectOTHERProxy (edg_wll_Context context, const char *owner)
int edg_wll_LogCondorRun (edg_wll_Context context, const char *condor_id, const char *universe, const char *scheduler, const char *dest_host, const int pid)
 simple wrapper around edg_wll_LogEvent for event CondorRun
int edg_wll_LogCondorRunProxy (edg_wll_Context context, const char *condor_id, const char *universe, const char *scheduler, const char *dest_host, const int pid)
int edg_wll_LogCondorChkpt (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorChkpt
int edg_wll_LogCondorChkptProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorEvict (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorEvict
int edg_wll_LogCondorEvictProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorTerminate (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorTerminate
int edg_wll_LogCondorTerminateProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorAbort (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorAbort
int edg_wll_LogCondorAbortProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorSuspend (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorSuspend
int edg_wll_LogCondorSuspendProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorUnsuspend (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorUnsuspend
int edg_wll_LogCondorUnsuspendProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorHold (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorHold
int edg_wll_LogCondorHoldProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorRelease (edg_wll_Context context, const int shadow_exit_status, const char *reason)
 simple wrapper around edg_wll_LogEvent for event CondorRelease
int edg_wll_LogCondorReleaseProxy (edg_wll_Context context, const int shadow_exit_status, const char *reason)
int edg_wll_LogCondorNodeExecute (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorNodeExecute
int edg_wll_LogCondorNodeExecuteProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorNodeTerminate (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorNodeTerminate
int edg_wll_LogCondorNodeTerminateProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorPostSctiptTerminate (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorPostSctiptTerminate
int edg_wll_LogCondorPostSctiptTerminateProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorGlobusSubmit (edg_wll_Context context, const char *status_code, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit
int edg_wll_LogCondorGlobusSubmitProxy (edg_wll_Context context, const char *status_code, const char *info)
int edg_wll_LogCondorGlobusSubmitOK (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit, status_code OK
int edg_wll_LogCondorGlobusSubmitOKProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorGlobusSubmitFAIL (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit, status_code FAIL
int edg_wll_LogCondorGlobusSubmitFAILProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorGlobusResource (edg_wll_Context context, const char *status_code, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusResource
int edg_wll_LogCondorGlobusResourceProxy (edg_wll_Context context, const char *status_code, const char *info)
int edg_wll_LogCondorGlobusResourceUP (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusResource, status_code UP
int edg_wll_LogCondorGlobusResourceUPProxy (edg_wll_Context context, const char *info)
int edg_wll_LogCondorGlobusResourceDOWN (edg_wll_Context context, const char *info)
 simple wrapper around edg_wll_LogEvent for event CondorGlobusResource, status_code DOWN
int edg_wll_LogCondorGlobusResourceDOWNProxy (edg_wll_Context context, const char *info)
int edg_wll_LogEvent (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic asynchronous logging function
int edg_wll_LogEventSync (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic synchronous logging function
int edg_wll_LogEventProxy (edg_wll_Context context, edg_wll_EventCode event, char *fmt,...)
 generic synchronous logging function
int edg_wll_LogFlush (edg_wll_Context context, struct timeval *timeout)
 flush events from interlogger
int edg_wll_LogFlushAll (edg_wll_Context context, struct timeval *timeout)
 flush all events from interlogger
int edg_wll_SetLoggingJob (edg_wll_Context context, const edg_wlc_JobId job, const char *code, int flags)
int edg_wll_SetLoggingJobProxy (edg_wll_Context context, const edg_wlc_JobId job, const char *code, const char *user, int flags)
int edg_wll_RegisterJob (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)
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)
int edg_wll_RegisterJobProxy (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)
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)
int edg_wll_RegisterSubjobsProxy (edg_wll_Context context, const edg_wlc_JobId parent, char const *const *jdls, const char *ns, edg_wlc_JobId const *subjobs)
int edg_wll_GenerateSubjobIds (edg_wll_Context context, const edg_wlc_JobId parent, int num_subjobs, const char *seed, edg_wlc_JobId **subjobs)
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)


Detailed Description

client API for storing data into L&B service


Define Documentation

#define EDG_WLL_FORMAT_ABORT   "DG.ABORT.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_ACCEPTED   "DG.ACCEPTED.FROM=\"%s\" DG.ACCEPTED.FROM_HOST=\"%|Us\" DG.ACCEPTED.FROM_INSTANCE=\"%|Us\" DG.ACCEPTED.LOCAL_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CANCEL   "DG.CANCEL.STATUS_CODE=\"%s\" DG.CANCEL.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CHANGEACL   "DG.CHANGEACL.USER_ID=\"%|Us\" DG.CHANGEACL.USER_ID_TYPE=\"%d\" DG.CHANGEACL.PERMISSION=\"%d\" DG.CHANGEACL.PERMISSION_TYPE=\"%d\" DG.CHANGEACL.OPERATION=\"%d\" "
 

#define EDG_WLL_FORMAT_CHKPT   "DG.CHKPT.TAG=\"%|Us\" DG.CHKPT.CLASSAD=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CLEAR   "DG.CLEAR.REASON=\"%s\" "
 

#define EDG_WLL_FORMAT_COLLECTIONSTATE   "DG.COLLECTIONSTATE.STATE=\"%|Us\" DG.COLLECTIONSTATE.DONE_CODE=\"%d\" DG.COLLECTIONSTATE.HISTOGRAM=\"%|Us\" DG.COLLECTIONSTATE.CHILD=\"%s\" DG.COLLECTIONSTATE.CHILD_EVENT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.PRIORITY=%d DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.EVNT=\"%s\" DG.JOBID=\"%s\" DG.SEQCODE=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORABORT   "DG.CONDORABORT.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORABORT.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORCHKPT   "DG.CONDORCHKPT.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDOREVICT   "DG.CONDOREVICT.SHADOW_EXIT_STATUS=\"%d\" DG.CONDOREVICT.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORGLOBUSRESOURCE   "DG.CONDORGLOBUSRESOURCE.STATUS_CODE=\"%s\" DG.CONDORGLOBUSRESOURCE.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORGLOBUSSUBMIT   "DG.CONDORGLOBUSSUBMIT.STATUS_CODE=\"%s\" DG.CONDORGLOBUSSUBMIT.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORHOLD   "DG.CONDORHOLD.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORHOLD.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORMATCH   "DG.CONDORMATCH.OWNER=\"%|Us\" DG.CONDORMATCH.MATCHED_HOST=\"%|Us\" DG.CONDORMATCH.PREEMPTING=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORNODEEXECUTE   "DG.CONDORNODEEXECUTE.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORNODETERMINATE   "DG.CONDORNODETERMINATE.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORPOSTSCTIPTTERMINATE   "DG.CONDORPOSTSCTIPTTERMINATE.INFO=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORREJECT   "DG.CONDORREJECT.OWNER=\"%|Us\" DG.CONDORREJECT.STATUS_CODE=\"%s\" "
 

#define EDG_WLL_FORMAT_CONDORRELEASE   "DG.CONDORRELEASE.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORRELEASE.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORRUN   "DG.CONDORRUN.CONDOR_ID=\"%|Us\" DG.CONDORRUN.UNIVERSE=\"%|Us\" DG.CONDORRUN.SCHEDULER=\"%|Us\" DG.CONDORRUN.DEST_HOST=\"%|Us\" DG.CONDORRUN.PID=\"%d\" "
 

#define EDG_WLL_FORMAT_CONDORSUSPEND   "DG.CONDORSUSPEND.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORSUSPEND.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORTERMINATE   "DG.CONDORTERMINATE.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORTERMINATE.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CONDORUNSUSPEND   "DG.CONDORUNSUSPEND.SHADOW_EXIT_STATUS=\"%d\" DG.CONDORUNSUSPEND.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_CURDESCR   "DG.CURDESCR.DESCR=\"%|Us\" "
 

#define EDG_WLL_FORMAT_DEQUEUED   "DG.DEQUEUED.QUEUE=\"%|Us\" DG.DEQUEUED.LOCAL_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_DONE   "DG.DONE.STATUS_CODE=\"%s\" DG.DONE.REASON=\"%|Us\" DG.DONE.EXIT_CODE=\"%d\" "
 

#define EDG_WLL_FORMAT_ENQUEUED   "DG.ENQUEUED.QUEUE=\"%|Us\" DG.ENQUEUED.JOB=\"%|Us\" DG.ENQUEUED.RESULT=\"%s\" DG.ENQUEUED.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_HELPERCALL   "DG.HELPERCALL.HELPER_NAME=\"%|Us\" DG.HELPERCALL.HELPER_PARAMS=\"%|Us\" DG.HELPERCALL.SRC_ROLE=\"%s\" "
 

#define EDG_WLL_FORMAT_HELPERRETURN   "DG.HELPERRETURN.HELPER_NAME=\"%|Us\" DG.HELPERRETURN.RETVAL=\"%|Us\" DG.HELPERRETURN.SRC_ROLE=\"%s\" "
 

#define EDG_WLL_FORMAT_LISTENER   "DG.LISTENER.SVC_NAME=\"%|Us\" DG.LISTENER.SVC_HOST=\"%|Us\" DG.LISTENER.SVC_PORT=\"%d\" "
 

#define EDG_WLL_FORMAT_MATCH   "DG.MATCH.DEST_ID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_NOTIFICATION   "DG.NOTIFICATION.NOTIFID=\"%s\" DG.NOTIFICATION.OWNER=\"%|Us\" DG.NOTIFICATION.DEST_HOST=\"%|Us\" DG.NOTIFICATION.DEST_PORT=\"%d\" DG.NOTIFICATION.JOBSTAT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_NOTIFICATION_COMMON   "DATE=%s HOST=\"%|Us\" PROG=edg-wms LVL=%s DG.SOURCE=\"%|Us\" DG.SRC_INSTANCE=\"%|Us\" DG.TYPE=\"notification\" "
 

#define EDG_WLL_FORMAT_PBSDEQUEUED   ""
 

#define EDG_WLL_FORMAT_PBSDONE   "DG.PBSDONE.EXIT_STATUS=\"%d\" "
 

#define EDG_WLL_FORMAT_PBSERROR   "DG.PBSERROR.ERROR_DESC=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSMATCH   "DG.PBSMATCH.DEST_HOST=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSPENDING   "DG.PBSPENDING.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSQUEUED   "DG.PBSQUEUED.QUEUE=\"%|Us\" DG.PBSQUEUED.OWNER=\"%|Us\" DG.PBSQUEUED.NAME=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSRERUN   ""
 

#define EDG_WLL_FORMAT_PBSRESOURCEUSAGE   "DG.PBSRESOURCEUSAGE.USAGE=\"%s\" DG.PBSRESOURCEUSAGE.NAME=\"%|Us\" DG.PBSRESOURCEUSAGE.QUANTITY=\"%f\" DG.PBSRESOURCEUSAGE.UNIT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PBSRUN   "DG.PBSRUN.SCHEDULER=\"%|Us\" DG.PBSRUN.DEST_HOST=\"%|Us\" DG.PBSRUN.PID=\"%d\" "
 

#define EDG_WLL_FORMAT_PENDING   "DG.PENDING.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_PURGE   ""
 

#define EDG_WLL_FORMAT_REALLYRUNNING   "DG.REALLYRUNNING.WN_SEQ=\"%|Us\" "
 

#define EDG_WLL_FORMAT_REFUSED   "DG.REFUSED.FROM=\"%s\" DG.REFUSED.FROM_HOST=\"%|Us\" DG.REFUSED.FROM_INSTANCE=\"%|Us\" DG.REFUSED.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_REGJOB   "DG.REGJOB.JDL=\"%|Us\" DG.REGJOB.NS=\"%|Us\" DG.REGJOB.PARENT=\"%s\" DG.REGJOB.JOBTYPE=\"%s\" DG.REGJOB.NSUBJOBS=\"%d\" DG.REGJOB.SEED=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESOURCEUSAGE   "DG.RESOURCEUSAGE.RESOURCE=\"%|Us\" DG.RESOURCEUSAGE.QUANTITY=\"%f\" DG.RESOURCEUSAGE.UNIT=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESUBMISSION   "DG.RESUBMISSION.RESULT=\"%s\" DG.RESUBMISSION.REASON=\"%|Us\" DG.RESUBMISSION.TAG=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RESUME   "DG.RESUME.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_RUNNING   "DG.RUNNING.NODE=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SUSPEND   "DG.SUSPEND.REASON=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SYSCLSTAT   "DG.SCHED.NODE=\"%|Us\" DG.SCHED.STATUS=\"%|Us\" "
 

#define EDG_WLL_FORMAT_SYSCMPSTAT   "DG.SCHED.STATUS=\"%|Us\" "
 

#define EDG_WLL_FORMAT_TRANSFER   "DG.TRANSFER.DESTINATION=\"%s\" DG.TRANSFER.DEST_HOST=\"%|Us\" DG.TRANSFER.DEST_INSTANCE=\"%|Us\" DG.TRANSFER.JOB=\"%|Us\" DG.TRANSFER.RESULT=\"%s\" DG.TRANSFER.REASON=\"%|Us\" DG.TRANSFER.DEST_JOBID=\"%|Us\" "
 

#define EDG_WLL_FORMAT_USER   "DG.USER=\"%|Us\" "
 

#define EDG_WLL_FORMAT_USERTAG   "DG.USERTAG.NAME=\"%|Us\" DG.USERTAG.VALUE=\"%|Us\" "
 

#define EDG_WLL_JOB_SIMPLE   EDG_WLL_REGJOB_SIMPLE
 

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.

Parameters:
[in,out] context context to work with
[in] job jobId
[in] type EDG_WLL_JOB_SIMPLE, EDG_WLL_JOB_DAG, or EDG_WLL_JOB_PARTITIONABLE
[in] jdl user-specified JDL
[in] ns network server contact
[in] num_subjobs number of subjobs to create
[in] seed seed used for subjob id's generator. Use non-NULL value to be able to regenerate the set of jobid's
[out] subjobs returned subjob id's


Enumeration Type Documentation

enum edg_wll_ACLOperation
 

Enumeration values:
EDG_WLL_ACL_ADD 
EDG_WLL_ACL_REMOVE 

enum edg_wll_Permission
 

Enumeration values:
EDG_WLL_PERM_READ 
EDG_WLL_PERM_WRITE 
EDG_WLL_PERM_ADMIN 

enum edg_wll_PermissionType
 

Enumeration values:
EDG_WLL_PERM_ALLOW 
EDG_WLL_PERM_DENY 

enum edg_wll_UserIdType
 

Enumeration values:
EDG_WLL_USER_SUBJECT 
EDG_WLL_USER_VOMS_GROUP 


Function Documentation

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.

Parameters:
[in,out] context context to work with
[in] job jobId
[in] user_id specification of user's credential
[in] user_id_type type of user_id, for EDG_WLL_USER_SUBJECT the user_id parameter is expected to be user's subject name for EDG_WLL_USER_VOMS_GROUP the user_id is expected to be of the form VO:group specifying required group membersip as managed by VOMS
[in] permission ACL permission to change
[in] permission_type type of given permission (allow or deny operation)
[in] operation operation to perform with ACL (add or remove record)

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. Calls the same algorithm used to generate subjob ID's in edg_wll_RegisterJob(). Local semantics only, server is not contacted.

int edg_wll_LogAbort edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Abort

Parameters:
[in,out] context context to work with,
[in] reason Reason why the job was aborted by the system.
See also:
edg_wll_LogEvent()

int edg_wll_LogAbortProxy edg_wll_Context  context,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] from The software component the job was received from.
[in] from_host Hostname of the component the job was received from.
[in] from_instance Instance of the component the job was received from.
[in] local_jobid New job id as assigned by the receiving component.
See also:
edg_wll_LogEvent()

int edg_wll_LogAcceptedProxy edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  local_jobid
 

int edg_wll_LogCancel edg_wll_Context  context,
const char *  status_code,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Cancel

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelABORT edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Cancel, status_code ABORT

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelABORTProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogCancelDONE edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Cancel, status_code DONE

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelDONEProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogCancelProxy edg_wll_Context  context,
const char *  status_code,
const char *  reason
 

int edg_wll_LogCancelREFUSE edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Cancel, status_code REFUSE

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelREFUSEProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogCancelREQ edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Cancel, status_code REQ

Parameters:
[in,out] context context to work with,
[in] status_code Classification of the attempt to cancel the job (REQ, REFUSE, DONE or ABORT).
[in] reason Detailed description of the attempt to cancel the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogCancelREQProxy edg_wll_Context  context,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] user_id DN or VOMS parameter (in format VO:group).
[in] user_id_type Type of information given in user_id (DN or VOMS).
[in] permission ACL permission to change (currently only READ).
[in] permission_type Type of permission requested ('allow', 'deny').
[in] operation Operation requested to perform with ACL (add, remove).
See also:
edg_wll_LogEvent()

int edg_wll_LogChangeACLProxy edg_wll_Context  context,
const char *  user_id,
const int  user_id_type,
const int  permission,
const int  permission_type,
const int  operation
 

int edg_wll_LogChkpt edg_wll_Context  context,
const char *  tag,
const char *  classad
 

simple wrapper around edg_wll_LogEvent for event Chkpt

Parameters:
[in,out] context context to work with,
[in] tag Application specific checkpoint tag.
[in] classad Application specific checkpoint value.
See also:
edg_wll_LogEvent()

int edg_wll_LogChkptProxy edg_wll_Context  context,
const char *  tag,
const char *  classad
 

int edg_wll_LogClear edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Clear

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEvent()

int edg_wll_LogClearNOOUTPUT edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event Clear, reason NOOUTPUT

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEvent()

int edg_wll_LogClearNOOUTPUTProxy edg_wll_Context  context  ) 
 

int edg_wll_LogClearProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogClearTIMEOUT edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event Clear, reason TIMEOUT

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEvent()

int edg_wll_LogClearTIMEOUTProxy edg_wll_Context  context  ) 
 

int edg_wll_LogClearUSER edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event Clear, reason USER

Parameters:
[in,out] context context to work with,
[in] reason Description of the reason why the job was cleared and the output sandbox removed (USER, TIMEOUT or NOOUTPUT).
See also:
edg_wll_LogEvent()

int edg_wll_LogClearUSERProxy edg_wll_Context  context  ) 
 

int edg_wll_LogCollectionState edg_wll_Context  context,
const char *  state,
const int  done_code,
const char *  histogram,
const edg_wlc_JobId  child,
const char *  child_event
 

simple wrapper around edg_wll_LogEvent for event CollectionState

Parameters:
[in,out] context context to work with,
[in] state New collection state.
[in] done_code In case of (state == Done) contains done code
[in] histogram User readable histogram; useful for debugging.
[in] child JobId of subjob, which triggered the state change.
[in] child_event Event which triggered the state change.
See also:
edg_wll_LogEvent()

int edg_wll_LogCollectionStateProxy edg_wll_Context  context,
const char *  state,
const int  done_code,
const char *  histogram,
const edg_wlc_JobId  child,
const char *  child_event
 

int edg_wll_LogCondorAbort edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorAbort

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorAbortProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorChkpt edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorChkpt

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorChkptProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorEvict edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorEvict

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorEvictProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorGlobusResource edg_wll_Context  context,
const char *  status_code,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusResource

Parameters:
[in,out] context context to work with,
[in] status_code Status code
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusResourceDOWN edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusResource, status_code DOWN

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusResourceDOWNProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorGlobusResourceProxy edg_wll_Context  context,
const char *  status_code,
const char *  info
 

int edg_wll_LogCondorGlobusResourceUP edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusResource, status_code UP

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusResourceUPProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorGlobusSubmit edg_wll_Context  context,
const char *  status_code,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit

Parameters:
[in,out] context context to work with,
[in] status_code 
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusSubmitFAIL edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit, status_code FAIL

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusSubmitFAILProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorGlobusSubmitOK edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorGlobusSubmit, status_code OK

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorGlobusSubmitOKProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorGlobusSubmitProxy edg_wll_Context  context,
const char *  status_code,
const char *  info
 

int edg_wll_LogCondorHold edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorHold

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorHoldProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorMatch edg_wll_Context  context,
const char *  owner,
const char *  matched_host,
const char *  preempting
 

simple wrapper around edg_wll_LogEvent for event CondorMatch

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] matched_host Matched host
[in] preempting Preempting
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorMatchProxy edg_wll_Context  context,
const char *  owner,
const char *  matched_host,
const char *  preempting
 

int edg_wll_LogCondorNodeExecute edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorNodeExecute

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorNodeExecuteProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorNodeTerminate edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorNodeTerminate

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorNodeTerminateProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorPostSctiptTerminate edg_wll_Context  context,
const char *  info
 

simple wrapper around edg_wll_LogEvent for event CondorPostSctiptTerminate

Parameters:
[in,out] context context to work with,
[in] info Some useful info
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorPostSctiptTerminateProxy edg_wll_Context  context,
const char *  info
 

int edg_wll_LogCondorReject edg_wll_Context  context,
const char *  owner,
const char *  status_code
 

simple wrapper around edg_wll_LogEvent for event CondorReject

Parameters:
[in,out] context context to work with,
[in] owner Owner
[in] status_code Reason code for the rejection of the job
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectNOMATCH edg_wll_Context  context,
const char *  owner
 

simple wrapper around edg_wll_LogEvent for event CondorReject, status_code NOMATCH

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectNOMATCHProxy edg_wll_Context  context,
const char *  owner
 

int edg_wll_LogCondorRejectOTHER edg_wll_Context  context,
const char *  owner
 

simple wrapper around edg_wll_LogEvent for event CondorReject, status_code OTHER

Parameters:
[in,out] context context to work with,
[in] owner Owner
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRejectOTHERProxy edg_wll_Context  context,
const char *  owner
 

int edg_wll_LogCondorRejectProxy edg_wll_Context  context,
const char *  owner,
const char *  status_code
 

int edg_wll_LogCondorRelease edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorRelease

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorReleaseProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorRun edg_wll_Context  context,
const char *  condor_id,
const char *  universe,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

simple wrapper around edg_wll_LogEvent for event CondorRun

Parameters:
[in,out] context context to work with,
[in] condor_id Condor ID
[in] universe Condor Universe
[in] scheduler Scheduler ID
[in] dest_host Where to run the job
[in] pid Actual process ID
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorRunProxy edg_wll_Context  context,
const char *  condor_id,
const char *  universe,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

int edg_wll_LogCondorSuspend edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorSuspend

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorSuspendProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorTerminate edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorTerminate

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorTerminateProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCondorUnsuspend edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event CondorUnsuspend

Parameters:
[in,out] context context to work with,
[in] shadow_exit_status Condor shadow exit status
[in] reason reason
See also:
edg_wll_LogEvent()

int edg_wll_LogCondorUnsuspendProxy edg_wll_Context  context,
const int  shadow_exit_status,
const char *  reason
 

int edg_wll_LogCurDescr edg_wll_Context  context,
const char *  descr
 

simple wrapper around edg_wll_LogEvent for event CurDescr

Parameters:
[in,out] context context to work with,
[in] descr Description of the current job transformation (output of the helper).
See also:
edg_wll_LogEvent()

int edg_wll_LogCurDescrProxy edg_wll_Context  context,
const char *  descr
 

int edg_wll_LogDeQueued edg_wll_Context  context,
const char *  queue,
const char *  local_jobid
 

simple wrapper around edg_wll_LogEvent for event DeQueued

Parameters:
[in,out] context context to work with,
[in] queue Name of the queue the job was obtained from.
[in] local_jobid New job id as assigned by the retreiving component.
See also:
edg_wll_LogEvent()

int edg_wll_LogDeQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  local_jobid
 

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

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

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

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneCANCELLEDProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

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

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneFAILEDProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

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

Parameters:
[in,out] context context to work with,
[in] status_code Reason code for the termination of the job (OK, FAILED or CANCELLED).
[in] reason Detailed description why the job was terminated.
[in] exit_code Exit code of the job's process.
See also:
edg_wll_LogEvent()

int edg_wll_LogDoneOKProxy edg_wll_Context  context,
const char *  reason,
const int  exit_code
 

int edg_wll_LogDoneProxy edg_wll_Context  context,
const char *  status_code,
const char *  reason,
const int  exit_code
 

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

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

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

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedFAILProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedOKProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

int edg_wll_LogEnQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  result,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedREFUSEDProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] queue Queue into which the job has been stored for retrieval by another component.
[in] job Job description in the receiver's language.
[in] result Result code of the attempt to put job into the queue (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the attempt to enqueue the job, especially the reason of failure.
See also:
edg_wll_LogEvent()

int edg_wll_LogEnQueuedSTARTProxy edg_wll_Context  context,
const char *  queue,
const char *  job,
const char *  reason
 

int edg_wll_LogEvent edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic asynchronous logging function

Formats a logging message and sends it asynchronously to local-logger

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified local logger,
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context.

int edg_wll_LogEventProxy edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic synchronous logging function

Formats a logging message and sends it synchronously to L&B Proxy

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified L&B Proxy
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context.

int edg_wll_LogEventSync edg_wll_Context  context,
edg_wll_EventCode  event,
char *  fmt,
  ...
 

generic synchronous logging function

Formats a logging message and sends it synchronously to local-logger

Parameters:
[in,out] context context to work with,
[in] event type of the event,
[in] fmt printf()-like format string,
[in] ... event specific values/data according to fmt,
Return values:
0 successful completition,
EINVAL bad jobId, unknown event code, or the format string together with the remaining arguments does not form a valid event,
ENOSPC L&B infrastructure failed to accept the event due to lack of disk space etc.,
ENOMEM failed to allocate memory,
ECONNREFUSED cannot connect to the specified local logger,
EAGAIN non blocking return from the call, the event may or may not get logged,
EDG_WLL_ERROR_NOJOBID logging call attempted without assigning jobId to the context,
EPERM the user is not authorized to add events to this job,
EDG_WLL_ERROR_DB_DUP_KEY exactly the same event has been already stored.

int edg_wll_LogFlush edg_wll_Context  context,
struct timeval *  timeout
 

flush events from interlogger

Instructs interlogger to to deliver all pending events related to current job

Note:
sort of status query more than a command
Parameters:
[in,out] context context to work with,
[in,out] timeout wait at most this much time for completition, remaining time on return,
Return values:
0 successful completition,
EDG_WLL_ERROR_INTERLOG_TIMEOUT the inter-logger did not respond within the timeout,
EDG_WLL_ERROR_INTERLOG_CONLOST inter-logger lost connection to one or more servers,
EDG_WLL_ERROR_INTERLOG_AGAIN not all pending events were delivered within the timeout.

int edg_wll_LogFlushAll edg_wll_Context  context,
struct timeval *  timeout
 

flush all events from interlogger

Instructs interlogger to to deliver all pending events

Note:
same as edg_wll_LogFlush() for all jobs known to interlogger
See also:
edg_wll_LogFlush()

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperCallCALLEDProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] helper_params Parameters of the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperCallCALLINGProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params
 

int edg_wll_LogHelperCallProxy edg_wll_Context  context,
const char *  helper_name,
const char *  helper_params,
const char *  src_role
 

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperReturnCALLEDProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

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

Parameters:
[in,out] context context to work with,
[in] helper_name Name of the called helper component.
[in] retval Data returned by the call to the helper component.
[in] src_role The role the event sender is playing in the helper call (CALLING or CALLEE).
See also:
edg_wll_LogEvent()

int edg_wll_LogHelperReturnCALLINGProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval
 

int edg_wll_LogHelperReturnProxy edg_wll_Context  context,
const char *  helper_name,
const char *  retval,
const char *  src_role
 

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

Parameters:
[in,out] context context to work with,
[in] svc_name Name of the port instance for interactive job control.
[in] svc_host Hostname of the interactive job controller.
[in] svc_port Port number of the interactive job controller.
See also:
edg_wll_LogEvent()

int edg_wll_LogListenerProxy edg_wll_Context  context,
const char *  svc_name,
const char *  svc_host,
const uint16_t  svc_port
 

int edg_wll_LogMatch edg_wll_Context  context,
const char *  dest_id
 

simple wrapper around edg_wll_LogEvent for event Match

Parameters:
[in,out] context context to work with,
[in] dest_id Identification of the queue on the CE that the job could be send to.
See also:
edg_wll_LogEvent()

int edg_wll_LogMatchProxy edg_wll_Context  context,
const char *  dest_id
 

int edg_wll_LogNotification edg_wll_Context  context,
const edg_wll_NotifId  notifId,
const char *  owner,
const char *  dest_host,
const uint16_t  dest_port,
const char *  jobstat
 

simple wrapper around edg_wll_LogEvent for event Notification

Parameters:
[in,out] context context to work with,
[in] notifId Notification id.
[in] owner Identification of the job owner (certificate subject).
[in] dest_host Hostname the notification is sent to.
[in] dest_port Port number the notification is sent to.
[in] jobstat Status of the job (the notification content).
See also:
edg_wll_LogEvent()

int edg_wll_LogNotificationProxy edg_wll_Context  context,
const edg_wll_NotifId  notifId,
const char *  owner,
const char *  dest_host,
const uint16_t  dest_port,
const char *  jobstat
 

int edg_wll_LogPBSDequeued edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event PBSDequeued

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSDequeuedProxy edg_wll_Context  context  ) 
 

int edg_wll_LogPBSDone edg_wll_Context  context,
const int  exit_status
 

simple wrapper around edg_wll_LogEvent for event PBSDone

Parameters:
[in,out] context context to work with,
[in] exit_status Exit status
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSDoneProxy edg_wll_Context  context,
const int  exit_status
 

int edg_wll_LogPBSError edg_wll_Context  context,
const char *  error_desc
 

simple wrapper around edg_wll_LogEvent for event PBSError

Parameters:
[in,out] context context to work with,
[in] error_desc Error reason
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSErrorProxy edg_wll_Context  context,
const char *  error_desc
 

int edg_wll_LogPBSMatch edg_wll_Context  context,
const char *  dest_host
 

simple wrapper around edg_wll_LogEvent for event PBSMatch

Parameters:
[in,out] context context to work with,
[in] dest_host Aka exec_host
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSMatchProxy edg_wll_Context  context,
const char *  dest_host
 

int edg_wll_LogPBSPending edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event PBSPending

Parameters:
[in,out] context context to work with,
[in] reason Reasons of job pendation or errors
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSPendingProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogPBSQueued edg_wll_Context  context,
const char *  queue,
const char *  owner,
const char *  name
 

simple wrapper around edg_wll_LogEvent for event PBSQueued

Parameters:
[in,out] context context to work with,
[in] queue Queue name
[in] owner Job owner
[in] name Job name
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSQueuedProxy edg_wll_Context  context,
const char *  queue,
const char *  owner,
const char *  name
 

int edg_wll_LogPBSRerun edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event PBSRerun

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSRerunProxy edg_wll_Context  context  ) 
 

int edg_wll_LogPBSResourceUsage edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

simple wrapper around edg_wll_LogEvent for event PBSResourceUsage

Parameters:
[in,out] context context to work with,
[in] usage Type of record
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageProxy edg_wll_Context  context,
const char *  usage,
const char *  name,
const double  quantity,
const char *  unit
 

int edg_wll_LogPBSResourceUsageREQUESTED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage REQUESTED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageREQUESTEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

int edg_wll_LogPBSResourceUsageUSED edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

simple wrapper around edg_wll_LogEvent for event PBSResourceUsage, usage USED

Parameters:
[in,out] context context to work with,
[in] name Name of resource
[in] quantity The quantity
[in] unit Units (sec, kB, etc.)
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSResourceUsageUSEDProxy edg_wll_Context  context,
const char *  name,
const double  quantity,
const char *  unit
 

int edg_wll_LogPBSRun edg_wll_Context  context,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

simple wrapper around edg_wll_LogEvent for event PBSRun

Parameters:
[in,out] context context to work with,
[in] scheduler Scheduler ID
[in] dest_host Where to run the job
[in] pid Actual process ID
See also:
edg_wll_LogEvent()

int edg_wll_LogPBSRunProxy edg_wll_Context  context,
const char *  scheduler,
const char *  dest_host,
const int  pid
 

int edg_wll_LogPending edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Pending

Parameters:
[in,out] context context to work with,
[in] reason Description why the matching CE for the job was not found (yet).
See also:
edg_wll_LogEvent()

int edg_wll_LogPendingProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogPurge edg_wll_Context  context  ) 
 

simple wrapper around edg_wll_LogEvent for event Purge

Parameters:
[in,out] context context to work with,
See also:
edg_wll_LogEvent()

int edg_wll_LogPurgeProxy edg_wll_Context  context  ) 
 

int edg_wll_LogReallyRunning edg_wll_Context  context,
const char *  wn_seq
 

simple wrapper around edg_wll_LogEvent for event ReallyRunning

Parameters:
[in,out] context context to work with,
[in] wn_seq Sequence code on the worker node.
See also:
edg_wll_LogEvent()

int edg_wll_LogReallyRunningProxy edg_wll_Context  context,
const char *  wn_seq
 

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

Parameters:
[in,out] context context to work with,
[in] from The software component that tried to send the job.
[in] from_host Hostname of the component that tried to send the job.
[in] from_instance Instance of the component that tried to send the job.
[in] reason Description of the reason why the job was refused.
See also:
edg_wll_LogEvent()

int edg_wll_LogRefusedProxy edg_wll_Context  context,
const edg_wll_Source  from,
const char *  from_host,
const char *  from_instance,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCOLLECTION 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 COLLECTION

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCOLLECTIONProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

int edg_wll_LogRegJobCONDOR 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 CONDOR

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobCONDORProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

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

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobDAGProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

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

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPARTITIONABLEProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

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

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPARTITIONEDProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

int edg_wll_LogRegJobPBS 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 PBS

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobPBSProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

int edg_wll_LogRegJobProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const char *  jobtype,
const int  nsubjobs,
const char *  seed
 

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

Parameters:
[in,out] context context to work with,
[in] jdl Job description of the job being registered.
[in] ns NetworkServer handling the newly registered job.
[in] parent Grid job id of the parent job registering this new one.
[in] jobtype Type of the job being registered (SIMPLE, DAG, PARTITIONABLE or PARTITIONED).
[in] nsubjobs Number of subjobs this job plans to spawn.
[in] seed Seed for subjob id generation.
See also:
edg_wll_LogEvent()

int edg_wll_LogRegJobSIMPLEProxy edg_wll_Context  context,
const char *  jdl,
const char *  ns,
const edg_wlc_JobId  parent,
const int  nsubjobs,
const char *  seed
 

int edg_wll_LogResourceUsage edg_wll_Context  context,
const char *  resource,
const double  quantity,
const char *  unit
 

simple wrapper around edg_wll_LogEvent for event ResourceUsage

Parameters:
[in,out] context context to work with,
[in] resource Resource's name.
[in] quantity Resources's quantity (how much).
[in] unit Units (sec, kB, etc.).
See also:
edg_wll_LogEvent()

int edg_wll_LogResourceUsageProxy edg_wll_Context  context,
const char *  resource,
const double  quantity,
const char *  unit
 

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

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionProxy edg_wll_Context  context,
const char *  result,
const char *  reason,
const char *  tag
 

int edg_wll_LogResubmissionSHALLOW edg_wll_Context  context,
const char *  reason,
const char *  tag
 

simple wrapper around edg_wll_LogEvent for event Resubmission, result SHALLOW

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionSHALLOWProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

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

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionWILLRESUBProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

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

Parameters:
[in,out] context context to work with,
[in] result Result code of the resubmission decision (WILLRESUB or WONTRESUB or SHALLOW).
[in] reason Reason why the job will or will not be resubmitted.
[in] tag Value of the attribute on which the decision to resubmit the job was based.
See also:
edg_wll_LogEvent()

int edg_wll_LogResubmissionWONTRESUBProxy edg_wll_Context  context,
const char *  reason,
const char *  tag
 

int edg_wll_LogResume edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Resume

Parameters:
[in,out] context context to work with,
[in] reason Reason for the resume.
See also:
edg_wll_LogEvent()

int edg_wll_LogResumeProxy edg_wll_Context  context,
const char *  reason
 

int edg_wll_LogRunning edg_wll_Context  context,
const char *  node
 

simple wrapper around edg_wll_LogEvent for event Running

Parameters:
[in,out] context context to work with,
[in] node Worker node on which the job executable is being run.
See also:
edg_wll_LogEvent()

int edg_wll_LogRunningProxy edg_wll_Context  context,
const char *  node
 

int edg_wll_LogSuspend edg_wll_Context  context,
const char *  reason
 

simple wrapper around edg_wll_LogEvent for event Suspend

Parameters:
[in,out] context context to work with,
[in] reason Reason for the suspend.
See also:
edg_wll_LogEvent()

int edg_wll_LogSuspendProxy edg_wll_Context  context,
const char *  reason
 

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

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

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

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferFAILProxy 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
 

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

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferOKProxy 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
 

int edg_wll_LogTransferProxy 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
 

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

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferREFUSEDProxy 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
 

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

Parameters:
[in,out] context context to work with,
[in] destination Destination where the job is being transfered to.
[in] dest_host Hostname of server that takes over control of the job.
[in] dest_instance Service (instance) that takes over control of the job.
[in] job Job description in receiver's language.
[in] result Result code of the transfer attempt (START, OK, REFUSED or FAIL).
[in] reason Detailed description of the transfer, especially reason of failure.
[in] dest_jobid Job id as assigned by the receiving software component.
See also:
edg_wll_LogEvent()

int edg_wll_LogTransferSTARTProxy 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
 

int edg_wll_LogUserTag edg_wll_Context  context,
const char *  name,
const char *  value
 

simple wrapper around edg_wll_LogEvent for event UserTag

Parameters:
[in,out] context context to work with,
[in] name Arbitrary user tag name.
[in] value Arbitrary user tag value.
See also:
edg_wll_LogEvent()

int edg_wll_LogUserTagProxy edg_wll_Context  context,
const char *  name,
const char *  value
 

int edg_wll_RegisterJob 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
 

int edg_wll_RegisterJobProxy 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
 

Register job with L&B Proxy 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.

Parameters:
[in] type EDG_WLL_JOB_SIMPLE, EDG_WLL_JOB_DAG, or EDG_WLL_JOB_PARTITIONABLE
[in] user user credentials
[in] jdl user-specified JDL
[in] ns network server contact
[in] num_subjobs number of subjobs to create
[in] seed seed used for subjob id's generator. Use non-NULL value to be able to regenerate the set of jobid's
[out] subjobs returned subjob id's

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. Mainly used to provide JDL's of individual subjobs in a more efficient way than logging them one by one.

Parameters:
[in] jdls array of JDL's
[in] subjobs array of jobid's in the same order

int edg_wll_RegisterSubjobsProxy edg_wll_Context  context,
const edg_wlc_JobId  parent,
char const *const *  jdls,
const char *  ns,
edg_wlc_JobId const *  subjobs
 

Register subjobs to LB Proxyin a batch. Mainly used to provide JDL's of individual subjobs in a more efficient way than logging them one by one.

Parameters:
[in] jdls array of JDL's
[in] subjobs array of jobid's in the same order

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.

Note:
Should be called before any logging call.
Parameters:
[in,out] context context to work with
[in] job further logging calls are related to this job
[in] code sequence code as obtained from previous component
[in] flags flags on code handling (
See also:
API documentation)

int edg_wll_SetLoggingJobProxy edg_wll_Context  context,
const edg_wlc_JobId  job,
const char *  code,
const char *  user,
int  flags
 

Set a current job for given context.

Note:
Should be called before any logging call.
Parameters:
[in,out] context context to work with
[in] job further logging calls are related to this job
[in] code sequence code as obtained from previous component
[in] user user credentials
[in] flags flags on code handling (
See also:
API documentation)


Generated on Tue May 8 00:32:30 2007 for Glite LB Client: C - Interface by  doxygen 1.3.9.1