Bases: rucio.client.baseclient.BaseClient
Account client class for working with rucio accounts
Sends the request to create a new account.
Parameters: | account – the name of the account. |
---|---|
Returns: | True if account was created successfully else False. |
Raises Duplicate: | |
if account already exists. |
Adds an attribute to an account.
Parameters: |
|
---|
Adds a membership association between identity and account.
Parameters: |
|
---|
Delete an identity’s membership association with an account.
Parameters: |
|
---|
Sends the request to disable an account.
Parameters: | account – the name of the account. |
---|---|
Returns: | True is account was disabled successfully. False otherwise. |
Raises AccountNotFound: | |
if account doesn’t exist. |
Delete an attribute for an account.
Parameters: |
|
---|
Sends the request to get information about a given account.
Parameters: | account – the name of the account. |
---|---|
Returns: | a list of attributes for the account. None if failure. |
Raises AccountNotFound: | |
if account doesn’t exist. |
List the account rse limits of this account for the specific rse.
Parameters: |
|
---|
List the account rse limits of this account.
Parameters: | account – The account name. |
---|
List the account usage for one or all rses of this account.
Parameters: |
|
---|
List the attributes for an account.
Parameters: | account – The account name. |
---|
List the associated rules of an account.
Parameters: | account – The account name. |
---|
Sends the request to list all rucio accounts.
Parameters: |
|
---|---|
Returns: | a list containing account info dictionary for all rucio accounts. |
Raises AccountNotFound: | |
if account doesn’t exist. |