Http cache
Classes¶
Default ¶
Default(protocol_attr, rse_settings, logger=None)
Implementing access to RSEs using the ngarc protocol.
Initializes the object with information about the referred RSE.
PARAMETER | DESCRIPTION |
---|---|
props
|
Properties derived from the RSE Repository
|
Functions¶
_get_path ¶
_get_path(scope, name)
Transforms the physical file name into the local URI in the referred RSE. Suitable for sites implementoing the RUCIO naming convention.
PARAMETER | DESCRIPTION |
---|---|
name
|
filename
|
scope
|
scope
|
RETURNS | DESCRIPTION |
---|---|
RSE specific URI of the physical file |
path2pfn ¶
path2pfn(path)
Returns a fully qualified PFN for the file referred by path.
PARAMETER | DESCRIPTION |
---|---|
path
|
The path to the file.
|
RETURNS | DESCRIPTION |
---|---|
Fully qualified PFN. |
put ¶
put(source, target, source_dir=None, transfer_timeout=None)
Allows to store files inside the referred RSE.
PARAMETER | DESCRIPTION |
---|---|
source
|
Physical file name
|
target
|
Name of the file on the storage system e.g. with prefixed scope
|
delete ¶
delete(pfn)
Deletes a file from the connected RSE.
PARAMETER | DESCRIPTION |
---|---|
pfn
|
Physical file name
|
rename ¶
rename(pfn, new_pfn)
Allows to rename a file stored inside the connected RSE.
PARAMETER | DESCRIPTION |
---|---|
pfn
|
Current physical file name
|