| Trees | Indices | Help |
|---|
|
|
Module for interacting with a dCache storage element.
|
|||
|
StorageElement This class represents a logical StorageElement. |
|||
|
|||
|
|||
| psycopg2.Connection or pgdb.Connection |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
log = getLogger("GIP.Storage")
|
|||
_defaultSE = None
|
|||
split_re = re.compile(r'\s
|
|||
dCacheSpace_cache = None
|
|||
|
|||
Given a Postgres connection, execute a SQL statement.
|
Connect to the SRM database based upon the parameters in the passed config file.
|
List of VOs which are allowed to access this storage element.
|
Get the storage path for some VO.
|
Return the amount of space available at the SE. If se.dynamic_dcache=True, use dCache-based methods. Otherwise, use classic SE methods (do a df on the SE mounts).
|
Get the total amount of the locally available space. By default, return the information in kilobytes.
|
Get the total amount of space available in a dCache instance. By default, return the information in Kilobytes.
|
Determine if the SE has tape information
|
Get the amount of tape available; numbers are in kilobytes. If there is no tape information available, everything is 0.
|
Get the version info from the dCache system.
|
Stub function for providing access protocol information. Eventually, this will return a list of dictionaries. Each dictionary will have the following keys with reference to an access endpoint:
Optionally, the following keys may be included (default in parenthesis):
Currently, this just returns [] |
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Jan 7 13:01:11 2009 | http://epydoc.sourceforge.net |