remove redundant events
authorMiloš Mulač <mulac@civ.zcu.cz>
Fri, 16 Feb 2007 13:53:21 +0000 (13:53 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Fri, 16 Feb 2007 13:53:21 +0000 (13:53 +0000)
org.glite.lb.server/src/process_event_pbs.c
org.glite.lb/project/events.T

index ddb0bac..c612f02 100644 (file)
@@ -55,16 +55,6 @@ int processEvent_PBS(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, c
                        if (USABLE_DATA(res)) {
                        }
                        break;
-               // XXX - do we need this event ??
-               case EDG_WLL_EVENT_PBSREG:
-                       if (USABLE(res)) {
-                               js->pub.state = EDG_WLL_JOB_SUBMITTED;
-                               rep(js->pub.pbs_state, "Q");
-                       }
-                       if (USABLE_DATA(res)) {
-                               rep_cond(js->pub.pbs_queue, e->PBSReg.queue);
-                       }
-                       break;
                case EDG_WLL_EVENT_PBSQUEUED:
                        if (USABLE(res)) {
                                js->pub.state = EDG_WLL_JOB_WAITING;
@@ -78,15 +68,6 @@ int processEvent_PBS(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, c
                                rep_cond(js->pub.pbs_name,e->PBSQueued.name);
                        }
                        break;
-               // XXX - do we need this event ??
-               case EDG_WLL_EVENT_PBSPLAN:
-                       if (USABLE(res)) {
-                               js->pub.state = EDG_WLL_JOB_READY;
-                               rep(js->pub.pbs_state, "Q");
-                       }
-                       if (USABLE_DATA(res)) {
-                       }
-                       break;
                case EDG_WLL_EVENT_PBSMATCH:
                        if (USABLE(res)) {
                                js->pub.state = EDG_WLL_JOB_READY;
index 45a5288..858782b 100644 (file)
        string  child_event     Event which triggered the state change. 
 
 
-@type PBSReg           Job seen by PBS
-       string  queue           Queue name
-
 @type PBSQueued                Job enqued
        string  queue           Queue name
        string  owner           Job owner
        string  name            Job name
 
-@type PBSPlan          Job considered for running
-
 @type PBSMatch         Scheduler created exec_host
        string  dest_host       Aka exec_host