def __init__(self, GlueSEUniqueID): LDIFNode.__init__( self, "GlueSEUniqueID=" + GlueSEUniqueID + "," + GLUE13_BASEDN, { 'GlueSEUniqueID': GlueSEUniqueID, 'objectClass': [ 'GlueSETop', 'GlueSE', 'GlueInformationService', 'GlueKey', 'GlueSchemaVersion' ], 'GlueSESizeTotal': 0, 'GlueSESizeFree': 0, 'GlueSETotalOnlineSize': 0, 'GlueSEUsedOnlineSize': 0, 'GlueSETotalNearlineSize': 0, 'GlueSEUsedNearlineSize': 0, 'GlueSEArchitecture': "multidisk", 'GlueSEStatus': "Production", 'GlueSEImplementationName': "StoRM", 'GlueSchemaVersionMajor': 1, 'GlueSchemaVersionMinor': 3 }) return
def __init__(self, GLUE2EndpointID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2EndpointID=" + GLUE2EndpointID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'objectClass': ['GLUE2Endpoint', 'GLUE2StorageEndpoint'], 'GLUE2EndpointImplementationName': 'StoRM', 'GLUE2EndpointHealthState': 'ok', }) return
def __init__(self, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'objectClass': ['GLUE2Service', 'GLUE2StorageService'], 'GLUE2ServiceType': 'storm', 'GLUE2ServiceCapability': 'data.management.storage', 'GLUE2EntityOtherInfo': ['ProfileName=EGI', 'ProfileVersion=1.0'] }) return
def __init__(self, GLUE2StorageAccessProtocolID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2StorageAccessProtocolID=" + GLUE2StorageAccessProtocolID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2StorageAccessProtocolID': GLUE2StorageAccessProtocolID, 'objectClass': ['GLUE2StorageAccessProtocol'], 'GLUE2StorageAccessProtocolStorageServiceForeignKey': GLUE2ServiceID }) return
def __init__(self, GLUE2StorageShareCapacityID, GLUE2ShareID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2StorageShareCapacityID=" + GLUE2StorageShareCapacityID + ",GLUE2ShareID=" + GLUE2ShareID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2StorageShareCapacityID': GLUE2StorageShareCapacityID, 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'objectClass': ['GLUE2StorageShareCapacity'], 'GLUE2StorageShareCapacityStorageShareForeignKey': GLUE2ShareID }) return
def __init__(self, GLUE2ManagerID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2ManagerID=" + GLUE2ManagerID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2ManagerID': GLUE2ManagerID, 'objectClass': ['GLUE2Manager', 'GLUE2StorageManager'], 'GLUE2ManagerProductName': 'StoRM', 'GLUE2StorageManagerStorageServiceForeignKey': GLUE2ServiceID, 'GLUE2ManagerServiceForeignKey': GLUE2ServiceID }) return
def __init__(self, GLUE2PolicyID, GLUE2EndpointID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2PolicyID=" + GLUE2PolicyID + ",GLUE2EndpointID=" + GLUE2EndpointID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2PolicyID': GLUE2PolicyID, 'objectClass': ['GLUE2Policy', 'GLUE2AccessPolicy'], 'GLUE2PolicyScheme': 'org.glite.standard', 'GLUE2AccessPolicyEndpointForeignKey': GLUE2EndpointID }) return
def __init__(self, GLUE2PolicyID, GLUE2ShareID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2PolicyID=" + GLUE2PolicyID + ",GLUE2ShareID=" + GLUE2ShareID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2PolicyID': GLUE2PolicyID, 'objectClass': ['GLUE2Policy', 'GLUE2MappingPolicy'], 'GLUE2PolicyScheme': 'basic', 'GLUE2MappingPolicyShareForeignKey': GLUE2ShareID }) return
def __init__(self, GLUE2ShareID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2ShareID=" + GLUE2ShareID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2ShareID': GLUE2ShareID, 'objectClass': ['GLUE2Share', 'GLUE2StorageShare'], 'GLUE2StorageShareExpirationMode': 'neverexpire', 'GLUE2StorageShareStorageServiceForeignKey': GLUE2ServiceID, # it seems necessary: 'GLUE2ShareServiceForeignKey': GLUE2ServiceID }) return
def __init__(self, GLUE2ResourceID, GLUE2ManagerID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2ResourceID=" + GLUE2ResourceID + ",GLUE2ManagerID=" + GLUE2ManagerID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'GLUE2ResourceID': GLUE2ResourceID, 'objectClass': ['GLUE2DataStore', 'GLUE2Resource'], 'GLUE2ResourceManagerForeignKey': GLUE2ManagerID, # it seems necessary: 'GLUE2DataStoreStorageManagerForeignKey': GLUE2ManagerID }) return
def __init__(self, GLUE2EndpointID, GLUE2ServiceID): LDIFNode.__init__(self, "GLUE2EndpointID=" + GLUE2EndpointID + ",GLUE2ServiceID=" + GLUE2ServiceID + "," + GLUE2_BASEDN, { 'GLUE2EntityCreationTime': time.strftime('%Y-%m-%dT%T'), 'objectClass': ['GLUE2Endpoint', 'GLUE2StorageEndpoint'], 'GLUE2EndpointID': GLUE2EndpointID, 'GLUE2EndpointImplementationName': 'StoRM', 'GLUE2EndpointHealthState': 'ok', 'GLUE2EndpointInterfaceName': 'https', 'GLUE2EndpointInterfaceVersion': '1.1.0', 'GLUE2EndpointSemantics': 'http://tools.ietf.org/html/rfc4918', 'GLUE2EndpointTechnology': 'webservice', 'GLUE2EndpointCapability': 'data.management.storage', 'GLUE2EndpointServiceForeignKey': GLUE2ServiceID, 'GLUE2StorageEndpointStorageServiceForeignKey': GLUE2ServiceID }) return
def __init__(self, GlueVOInfoLocalID, GlueSALocalID, GlueSEUniqueID): LDIFNode.__init__( self, "GlueVOInfoLocalID=" + GlueVOInfoLocalID + ",GlueSALocalID=" + GlueSALocalID + ",GlueSEUniqueID=" + GlueSEUniqueID + "," + GLUE13_BASEDN, { 'GlueVOInfoLocalID': GlueVOInfoLocalID, 'objectClass': ['GlueSATop', 'GlueVOInfo', 'GlueKey', 'GlueSchemaVersion'], 'GlueSchemaVersionMajor': 1, 'GlueSchemaVersionMinor': 3, 'GlueChunkKey': [ "GlueSALocalID=" + GlueSALocalID, "GlueSEUniqueID=" + GlueSEUniqueID ] }) return
def __init__(self, GlueSALocalID, GlueSEUniqueID): LDIFNode.__init__( self, "GlueSALocalID=" + GlueSALocalID + ",GlueSEUniqueID=" + GlueSEUniqueID + "," + GLUE13_BASEDN, { 'GlueSALocalID': GlueSALocalID, 'objectClass': [ 'GlueSATop', 'GlueSA', 'GlueSAPolicy', 'GlueSAState', 'GlueSAAccessControlBase', 'GlueKey', 'GlueSchemaVersion' ], 'GlueSATotalOnlineSize': 0, 'GlueSAUsedOnlineSize': 0, 'GlueSAFreeOnlineSize': 0, 'GlueSAReservedOnlineSize': 0, 'GlueSATotalNearlineSize': 0, 'GlueSAUsedNearlineSize': 0, 'GlueSAFreeNearlineSize': 0, 'GlueSAReservedNearlineSize': 0, 'GlueSAAccessLatency': 'online', 'GlueSAExpirationMode': 'neverExpire', 'GlueSAPolicyFileLifeTime': 'permanent', 'GlueSAType': 'permanent', 'GlueSchemaVersionMajor': 1, 'GlueSchemaVersionMinor': 3, 'GlueChunkKey': "GlueSEUniqueID=" + GlueSEUniqueID }) return
def __init__(self, GlueSEAccessProtocolLocalID, GlueSEUniqueID): LDIFNode.__init__( self, "GlueSEAccessProtocolLocalID=" + GlueSEAccessProtocolLocalID + ",GlueSEUniqueID=" + GlueSEUniqueID + "," + GLUE13_BASEDN, { 'GlueSEAccessProtocolLocalID': GlueSEAccessProtocolLocalID, 'GlueSEAccessProtocolType': GlueSEAccessProtocolLocalID, 'objectClass': [ 'GlueSETop', 'GlueSEAccessProtocol', 'GlueKey', 'GlueSchemaVersion' ], 'GlueSEAccessProtocolSupportedSecurity': ['GSI'], 'GlueSchemaVersionMajor': 1, 'GlueSchemaVersionMinor': 3, 'GlueChunkKey': "GlueSEUniqueID=" + GlueSEUniqueID }) return
def __init__(self, GlueSEControlProtocolLocalID, GlueSEUniqueID): LDIFNode.__init__( self, "GlueSEControlProtocolLocalID=" + GlueSEControlProtocolLocalID + ",GlueSEUniqueID=" + GlueSEUniqueID + "," + GLUE13_BASEDN, { 'GlueSEControlProtocolLocalID': GlueSEControlProtocolLocalID, 'objectClass': [ 'GlueSETop', 'GlueSEControlProtocol', 'GlueKey', 'GlueSchemaVersion' ], 'GlueSEControlProtocolType': 'SRM', 'GlueSEControlProtocolVersion': '2.2.0', 'GlueSchemaVersionMajor': 1, 'GlueSchemaVersionMinor': 3, 'GlueChunkKey': "GlueSEUniqueID=" + GlueSEUniqueID }) return