Package iceprod :: Package server :: Package plugins :: Module glite :: Class Cream
[hide private]
[frames] | no frames]

Class Cream

source code

grid.iGrid --+    
             |    
         gLite --+
                 |
                Cream

Next generation middleware replacement for gLite

Instance Methods [hide private]
 
__init__(self) source code
 
CheckQ(self, db=None)
Querie status of cluster or job on queue
source code
 
CleanQ(self, jobs=None)
Check consistency of queue and remove jobs which shouldn't be there
source code
 
QPurge(self, jobid=None)
purge job from from cream queue
source code
 
WriteConfig(self, job, config_file)
Write JDL to a file.
source code
 
CheckJobStatus(self, jobs)
Querie status of job on glite queue
source code

Inherited from gLite: BundleFiles, Clean, PostCopy, QRemove, Submit, get_id

Inherited from gLite (private): _choose_resource

Inherited from grid.iGrid: AddArgOption, AddEnv, AddParam, CleanDir, FileName, GetActiveJobs, GetArgOpt, GetArgOptions, GetClusterId, GetEnv, GetFinishedJobs, GetHost, GetInitialdir, GetJob, GetJobIds, GetJobList, GetLogs, GetMetadataPath, GetMonitorDB, GetParam, GetParamKeys, GetPort, GetProcessingJobs, GetProduction, GetQueue, GetQueuedJobs, GetResetJobs, GetRootDir, GetSimDBKey, GetSteering, GetSubmitHost, GetURL, IsUrl, PopJob, PushJob, QueueJobs, SelfPickle, SetCopyClass, SetHost, SetInitialdir, SetMetadataPath, SetMonitorDB, SetPort, SetProduction, SetQueue, SetRootDir, SetSimDBKey, SetStatus, SetSteering, SetSubmitHost, SetURL, Suffix, UpdateMetadata, format_arg, jobfinalize, reset_old_jobs, urlcopy, wait

Inherited from grid.iGrid (private): _submit

Class Variables [hide private]
  queued_state = ['IDLE', 'PENDING', 'REGISTERED']
  running_state = ['RUNNING', 'REALLY-RUNNING']
  error_state = ['ABORTED', 'DONE-FAILED', 'CANCELLED', 'HELD']
  finished_state = ['DONE-OK']
  undetermined_states = ['UNKNOWND']

Inherited from grid.iGrid: CopyStatusEnum

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: grid.iGrid.__init__

CheckQ(self, db=None)

source code 

Querie status of cluster or job on queue

Overrides: grid.iGrid.CheckQ

CleanQ(self, jobs=None)

source code 

Check consistency of queue and remove jobs which shouldn't be there

Overrides: grid.iGrid.CleanQ

QPurge(self, jobid=None)

source code 

purge job from from cream queue

Overrides: gLite.QPurge

WriteConfig(self, job, config_file)

source code 

Write JDL to a file.

Parameters:
  • job - i3Job object
  • config_file - path to file were submit file will be written
Overrides: gLite.WriteConfig
(inherited documentation)

CheckJobStatus(self, jobs)

source code 

Querie status of job on glite queue

Overrides: grid.iGrid.CheckJobStatus