python::GBSIdCodes Namespace Reference


Functions

def GIDStringForJSC
def GIDStringForCLC
def GIDStringForFCC

Variables

int GID_JSC_SUCCEEDED = 22
int GID_JSC_FAILED = 21
int GID_JSC_COMPLETE = 20
int GID_JSC_UNKNOWN = 19
int GID_JSC_WAITING_ANALYSIS = 13
int GID_JSC_HELD = 12
int GID_JSC_NOT_YET_READY = 11
int GID_JSC_CANNOT_SUBMIT = 10
int GID_JSC_RETRY = 2
int GID_JSC_NEW = 1
int GID_JSC_SUBMITTED = 0
int GID_JPC_NREADY_HOLD = 1
int GID_JPC_NREADY_NHOLD = 2
int GID_JPC_READY_NRETRY = 3
int GID_JPC_READY_RETRY = 4
int GID_JPC_SUBMIT_RUN = 5
int GID_JPC_SUBMIT_NRUN = 6
int GID_JPC_DONE_NFAIL = 7
int GID_JPC_DONE_FAIL = 8
int GID_CLC_GANGA = 0
int GID_CLC_GRID = 1
int GID_CLC_BATCH = 2
int GID_CLC_WORKER = 3
int GID_CLC_APPLICATION = 4
int GID_CLC_USER = 5
int GID_FCC_NONE = 0
int GID_FCC_EARLY = 1
int GID_FCC_LATE_HANDLED = 2
int GID_FCC_LATE_UNHANDLED = 3


Function Documentation

def python::GBSIdCodes::GIDStringForJSC (   code  ) 

Definition at line 17 of file GBSIdCodes.py.

00017                          :
00018     if code == GID_JSC_SUCCEEDED:        return "SUCCEEDED"
00019     if code == GID_JSC_FAILED:           return "FAILED"
00020     if code == GID_JSC_COMPLETE:         return "COMPLETE"
00021     if code == GID_JSC_UNKNOWN:          return "UNKNOWN"
00022     if code == GID_JSC_WAITING_ANALYSIS: return "WAITING_ANALYSIS"
00023     if code == GID_JSC_HELD:             return "HELD"
00024     if code == GID_JSC_NOT_YET_READY:    return "NOT_YET_READY"
00025     if code == GID_JSC_RETRY:            return "RETRY"
00026     if code == GID_JSC_NEW:              return "NEW"
00027     if code >= GID_JSC_SUBMITTED:        return "SUBMITTED Ganga job " + str(code)
00028     return "Unidentified Job Status Code" + str(code)
00029 
00030 #   Job Phase Codes.  These are broad categories of status code used
00031 #   by task for job statistics.
00032 
GID_JPC_NREADY_HOLD    = 1

def python::GBSIdCodes::GIDStringForCLC (   code  ) 

Definition at line 54 of file GBSIdCodes.py.

00054                          :
00055 
00056     if code == GID_CLC_GANGA:       return "GANGA"
00057     if code == GID_CLC_GRID:        return "GRID"
00058     if code == GID_CLC_BATCH:       return "BATCH"
00059     if code == GID_CLC_WORKER:      return "WORKER"
00060     if code == GID_CLC_APPLICATION: return "APPLICATION"
00061     if code == GID_CLC_USER:        return "USER"
00062     return "Unidentified Communication Level Code" + str(code)
00063 
00064 #   JobAnalyser Failure Category Codes
00065 
GID_FCC_NONE           = 0

def python::GBSIdCodes::GIDStringForFCC (   code  ) 

Definition at line 71 of file GBSIdCodes.py.

00071                          :
00072     if code == GID_FCC_NONE:           return "NONE"
00073     if code == GID_FCC_EARLY:          return "EARLY"
00074     if code == GID_FCC_LATE_HANDLED:   return "LATE_HANDLED"
00075     if code == GID_FCC_LATE_UNHANDLED: return "LATE_UNHANDLED"
00076     return "Unidentified Failure Category Code" + str(code)
00077     
00078 


Variable Documentation

int python::GBSIdCodes::GID_JSC_SUCCEEDED = 22 [static]

Definition at line 5 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_FAILED = 21 [static]

Definition at line 6 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_COMPLETE = 20 [static]

Definition at line 7 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_UNKNOWN = 19 [static]

Definition at line 8 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_WAITING_ANALYSIS = 13 [static]

Definition at line 9 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_HELD = 12 [static]

Definition at line 10 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_NOT_YET_READY = 11 [static]

Definition at line 11 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_CANNOT_SUBMIT = 10 [static]

Definition at line 12 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_RETRY = 2 [static]

Definition at line 13 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_NEW = 1 [static]

Definition at line 14 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JSC_SUBMITTED = 0 [static]

Definition at line 15 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_NREADY_HOLD = 1 [static]

Definition at line 33 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_NREADY_NHOLD = 2 [static]

Definition at line 34 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_READY_NRETRY = 3 [static]

Definition at line 35 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_READY_RETRY = 4 [static]

Definition at line 36 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_SUBMIT_RUN = 5 [static]

Definition at line 37 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_SUBMIT_NRUN = 6 [static]

Definition at line 38 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_DONE_NFAIL = 7 [static]

Definition at line 39 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_JPC_DONE_FAIL = 8 [static]

Definition at line 40 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_GANGA = 0 [static]

Definition at line 47 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_GRID = 1 [static]

Definition at line 48 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_BATCH = 2 [static]

Definition at line 49 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_WORKER = 3 [static]

Definition at line 50 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_APPLICATION = 4 [static]

Definition at line 51 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_CLC_USER = 5 [static]

Definition at line 52 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_FCC_NONE = 0 [static]

Definition at line 66 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_FCC_EARLY = 1 [static]

Definition at line 67 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_FCC_LATE_HANDLED = 2 [static]

Definition at line 68 of file GBSIdCodes.py.

int python::GBSIdCodes::GID_FCC_LATE_UNHANDLED = 3 [static]

Definition at line 69 of file GBSIdCodes.py.


Generated on Fri Mar 5 09:25:41 2010 for gbs by  doxygen 1.4.7