Lifetimeclient
Classes¶
LifetimeClient ¶
LifetimeClient(
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,
)
Lifetime client class for working with Lifetime Model exceptions
Functions¶
list_exceptions ¶
list_exceptions(exception_id=None, states=None)
List exceptions to Lifetime Model.
PARAMETER | DESCRIPTION |
---|---|
id
|
The id of the exception
|
states
|
The states to filter
TYPE:
|
add_exception ¶
add_exception(dids, account, pattern, comments, expires_at)
Add exceptions to Lifetime Model.
PARAMETER | DESCRIPTION |
---|---|
dids
|
The list of dids
TYPE:
|
account
|
The account of the requester.
TYPE:
|
pattern
|
The account.
TYPE:
|
comments
|
The comments associated to the exception.
TYPE:
|
expires_at
|
The expiration date of the exception. returns: The id of the exception.
TYPE:
|