BDIIOccupancy¶
Defines the plugin to take storage space information given by BDII
- class DIRAC.Resources.Storage.OccupancyPlugins.BDIIOccupancy.BDIIOccupancy(se)¶
Bases:
object
- class BDIIOccupancy¶
Occupancy plugin to return the space information given by BDII Assuming the protocol is SRM
- __init__(se)¶
- getOccupancy(**kwargs)¶
Returns the space information given by BDII Total and Free space are taken from GlueSATotalOnlineSize and GlueSAFreeOnlineSize, respectively.
- Returns
S_OK with dict (keys: Total, Free)