Diracclient
Classes¶
DiracClient ¶
DiracClient(
rucio_host=None,
auth_host=None,
account=None,
ca_cert=None,
auth_type=None,
creds=None,
timeout=600,
user_agent="rucio-clients",
vo=None,
logger=LOG,
)
DataIdentifier client class for working with data identifiers
Functions¶
add_files ¶
add_files(
lfns, ignore_availability=False, parents_metadata=None
)
Bulk add files : - Create the file and replica. - If doesn't exist create the dataset containing the file as well as a rule on the dataset on ANY sites. - Create all the ascendants of the dataset if they do not exist
PARAMETER | DESCRIPTION |
---|---|
lfns
|
List of lfn (dictionary {'lfn':
TYPE:
|
ignore_availability
|
A boolean to ignore blocked sites.
TYPE:
|
parents_metadata
|
Metadata for selected hierarchy DIDs. (dictionary {'lpn': {key : value}}). Default=None
TYPE:
|