FTS3File

class DIRAC.DataManagementSystem.Client.FTS3File.FTS3File

Bases: JSerializable

This class represents an a File on which a given Operation (Transfer, Staging) should be executed

ALL_STATES = ['New', 'Submitted', 'Ready', 'Active', 'Finished', 'Canceled', 'Staging', 'Failed', 'Defunct', 'Started', 'Not_used', 'Archiving']
FINAL_STATES = ['Finished', 'Defunct']
FTS_FAILED_STATES = ['Canceled', 'Failed']
FTS_FINAL_STATES = ['Finished', 'Canceled', 'Failed']
FTS_SUCCESS_STATES = ['Finished']
INIT_STATE = 'New'
__init__()
attempt
checksum
error
fileID
static fromRMSFile(rmsFile, targetSE)

Returns an FTS3File constructed from an RMS File. It takes the value of LFN, rmsFileID, checksum and Size

Parameters:
  • rmsFile – the RMS File to use as source

  • targetSE – the SE target

Returns:

an FTS3File instance

ftsGUID
lastUpdate
lfn
operationID
rmsFileID
size
status
targetSE