]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/schema/shuttle.schema
Removed old ldif files, added TOF, MCH ldif files. Added some options in
[u/mrichter/AliRoot.git] / SHUTTLE / schema / shuttle.schema
index 4ae1fb74787bfecafef5c6f243ce2d17730b9d22..b3d1f9460d697d97c0cfe988576c3026d372eeb0 100644 (file)
@@ -1,25 +1,73 @@
-attributetype ( 1.3.6.1.1.1.1.19 NAME 'ipHost'
-        DESC 'IP host'
-        EQUALITY caseIgnoreMatch
-        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} SINGLE-VALUE)
-
-attributetype ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
-        EQUALITY integerMatch
-        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
-
-attributetype ( 1.1.1.2 NAME 'dt'
-       DESC 'Detector name'
-       EQUALITY caseIgnoreMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} SINGLE-VALUE )
-
-attributetype ( 1.1.1.3 NAME 'alias'
-        DESC 'DCS alias'
-        EQUALITY caseIgnoreMatch
-        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40})
-               
-objectclass ( 1.1.1
-        NAME 'shuttleConfig'
+objectidentifier SHUTTLE_BASE 1.1.1
+
+objectidentifier DETECTOR_CONFIG SHUTTLE_BASE:1
+
+attributetype ( DETECTOR_CONFIG:1 NAME 'det'         DESC 'Detector name'         EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( DETECTOR_CONFIG:2 NAME 'DCSHost'     DESC ''                      EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( DETECTOR_CONFIG:3 NAME 'DCSPort'     DESC ''                                                  SUP ipServicePort )
+attributetype ( DETECTOR_CONFIG:4 NAME 'DCSalias'    DESC ''                      EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( DETECTOR_CONFIG:5 NAME 'DCSdatapoint' DESC ''                      EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( DETECTOR_CONFIG:6 NAME 'StrictRunOrder' DESC 'Strict run ordering flag' EQUALITY caseIgnoreMatch SUP name )
+attributetype ( DETECTOR_CONFIG:7 NAME 'responsible' DESC 'responsible email address' EQUALITY caseIgnoreIA5Match SUP mail )
+
+objectclass ( DETECTOR_CONFIG
+        NAME 'AliShuttleDetector'
         DESC 'ALICE: Shuttle configuration object.'
         SUP top
-        MUST (dt $ ipHost $ ipServicePort $ alias) )
-       
+        MUST (det $ StrictRunOrder $ responsible)
+        MAY  (DCSHost $ DCSPort $ DCSalias $ DCSdatapoint) )
+
+
+objectidentifier SYS_CONFIG SHUTTLE_BASE:2
+
+attributetype ( SYS_CONFIG:1 NAME 'system'          DESC 'System name (DAQ, DCS, HLT)'    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:2 NAME 'DBHost'      DESC ''        EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:3 NAME 'DBPort'      DESC ''                                    SUP ipServicePort )
+attributetype ( SYS_CONFIG:4 NAME 'DBUser'      DESC ''        EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:5 NAME 'DBPassword'  DESC ''        EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:6 NAME 'DBName'      DESC ''        EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:7 NAME 'DBTable'     DESC ''        EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:8 NAME 'FSHost'          DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:9 NAME 'FSPort'          DESC ''                                SUP ipServicePort )
+attributetype ( SYS_CONFIG:10 NAME 'FSUser'         DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( SYS_CONFIG:11 NAME 'FSPassword'       DESC ''  EQUALITY caseIgnoreMatch    SUP name )
+
+objectclass ( SYS_CONFIG
+        NAME 'AliShuttleSYSConfig'
+        DESC 'ALICE: Configuration of the Shuttle for access to online network'
+        SUP top
+        MUST (system $ DBHost $ DBUser $ DBPassword $ DBName $ DBTable $ FSHost $ FSUser )
+        MAY ( FSPassword $ DBPort $ FSPort) )
+
+
+objectidentifier GLOBAL_CONFIG SHUTTLE_BASE:3
+
+attributetype ( GLOBAL_CONFIG:1 NAME 'DAQLogbookHost'      DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:2 NAME 'DAQLogbookPort'      DESC ''                               SUP ipServicePort )
+attributetype ( GLOBAL_CONFIG:3 NAME 'DAQLogbookUser'      DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:4 NAME 'DAQLogbookPassword'  DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:5 NAME 'DAQLogbookDB'        DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:6 NAME 'DAQLogbookTable'     DESC ''    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:7 NAME 'MaxRetries'          DESC 'number of retries for failures of a preprocessor'    EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( GLOBAL_CONFIG:8 NAME 'PPTimeOut'           DESC 'number of seconds until preprocessor is aborted'    EQUALITY caseIgnoreMatch    SUP name )
+
+objectclass ( GLOBAL_CONFIG
+        NAME 'AliShuttleGlobalConfig'
+        DESC 'ALICE: Access to DAQ logbook settings'
+        SUP top
+        MUST (name $ DAQLogbookHost $ DAQLogbookUser $ DAQLogbookPassword $ DAQLogbookDB $ DAQLogbookTable $ MaxRetries $ PPTimeOut)
+        MAY ( DAQLogbookPort ) )
+
+
+objectidentifier INSTANCE_CONFIG SHUTTLE_BASE:4
+
+attributetype ( INSTANCE_CONFIG:1 NAME 'ShuttleHost' DESC 'Host that is running the Shuttle'  EQUALITY caseIgnoreMatch    SUP name )
+attributetype ( INSTANCE_CONFIG:2 NAME 'detectors'   DESC 'Detector list'                     EQUALITY caseIgnoreMatch    SUP name )
+
+objectclass ( INSTANCE_CONFIG
+        NAME 'AliShuttleInstance'
+        DESC 'ALICE: Shuttle instance configuration.'
+        SUP top
+        MUST (name $ ShuttleHost)
+        MAY (detectors)
+        )