This function sets up a Directory Server using a script Location of target host Pathname to installation root Directory server port number Directory server JMX port number Base DN (only single base DN supported). Bind DN Bind password Bind password file Enable as a Windows Service Do not start server after setup Help option '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Setup DS Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'path' : dsPath, 'expectedRC': 'noCheck' } This function starts a Directory Server Location of target host Pathname to installation root Directory server version Directory server system info Do not detach directory server from process Help option Directory server build information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : location, 'expectedRC': expectedRC } STAXResult This function starts a Directory Server using the script Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Use SSL for secure communication with the server Use StartTLS for secure communication with the server Bind DN Bind password Bind password file SASL bind options Use the proxied authorization control with the given authorization ID Reason the server is being stopped or restarted Attempt to automatically restart the server once it has stopped Time to begin the shutdown in YYYYMMDDhhmmss format (local time) Trust all server SSL certificates Certificate keystore path Certificate keystore PIN Certificate keystore PIN file Certificate trust store path Certificate trust store PIN Certificate trust store PIN file Help option Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Stop DS Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } { 'sleepForMilliSeconds' : 3000 } This function restarts a Directory Server Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Bind password file Optional extra parameters for specific test cases '%s %s' % (STAFCmd, STAFCmdParams) '******************************' '*** Restarting the Server ***' '******************************' '%s' % (location) '%s' % (STAFCmd) '%s' % (STAFCmdParams) '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] { 'location' : location, 'dsPath' : dsPath, 'dsInstanceHost' : dsHost , 'dsInstancePort' : dsPort , 'dsInstanceDn' : dsBindDN , 'dsInstancePswd' : dsBindPwd , 'noOfLoops' : 5 , 'noOfMilliSeconds' : 6000 } '*** Restarting the Server is completed ***' '***************************************' This function performs an offline import of an ldif file Location of target host Pathname to installation root Path to the LDIF file to be imported Backend ID for the backend to import Optional extra parameters for specific test cases Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s/import-ldif%s -l %s -n %s %s' % (dsBinPath,fileExt,ldifFile,backEnd,extraParams) { 'location' : location, 'name' : 'Offline Import', 'command' : '%s/import-ldif%s' % (dsBinPath,fileExt), 'arguments' : '-l %s -n %s %s' % (ldifFile,backEnd,extraParams), 'expectedRC': expectedRC } RC This function performs an offline import of an ldif file using the script Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Path to the LDIF file to be imported Path to a MakeLDIF template to use to generate the import data Append to an existing database rather than overwriting it Replace existing entries when appending to the database Backend ID for the backend to import Base DN of a branch to include in the LDIF import Base DN of a branch to include in the LDIF import Base DN of a branch to exclude from the LDIF import Attribute to include in the LDIF import Attribute to exclude in the LDIF import Filter to identify entries to include in the LDIF import Filter to identify entries to exclude from the LDIF import Write rejected entries to the specified file Overwrite an existing rejects file rather than appending to it Seed for the MakeLDIF random number generator Skip schema validation during the LDIF import LDIF file is compressed LDIF file is encrypted Use quiet mode (no output) Display usage information Start time for task Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Offline Import Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } This function performs an on line import task of an ldif file Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The name of the ldif file Optional the name of the database backend Optional imported ldif data file compressed Optional imported ldif data file encrypted Optional name of rejects file Optional name of rejects file Optional append imported ldif data Optional don't do schema validation on import Optional replace existing data Optional exclude branches Optional include branches Optional exclude attributes Optional include attributes Optional exclude filters Optional exclude filters Number of ldap check tries when checking if task is complete Sleep time in milliseconds between ldap check tries Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy import task ldif (%s) to %s' % (tmpTaskLdif,taskLdif) { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Import Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'noOfLoops' : numLdapCheckTries, 'sleepMilliSeconds' : sleepBetweenLdapCheckTries } 'Check CheckLdapTask returns RC=0' { 'returncode' : RC , 'result' : STAXResult } This function verifies an import of an ldif file Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Entries expected to be present after import Optional entries expected to be missing after import Optional attributes expected to be present after import Optional attributes expected to be missing after import Optional main suffix for the import Optional start the Directory Server after import { 'location' : myLocation, 'dsPath' : myPath } { 'location' : myLocation, 'dsPath' : myPath, 'dsInstanceHost' : myhost , 'dsInstancePort' : myport , 'dsInstanceDn' : mydn , 'dsInstancePswd' : mypswd , 'noOfLoops' : 5 , 'noOfMilliSeconds' : 2000 } { 'location' : myLocation , 'dsPath' : myPath, 'dsInstanceHost' : myhost , 'dsInstancePort' : myport , 'dsInstanceDn' : mydn , 'dsInstancePswd' : mypswd , 'dsBaseDN' : '%s' % expectedEntry , 'dsFilter' : 'objectclass=*' } { 'returncode' : RC , 'result' : STAXResult } { 'location' : myLocation , 'dsPath' : myPath, 'dsInstanceHost' : myhost , 'dsInstancePort' : myport , 'dsInstanceDn' : mydn , 'dsInstancePswd' : mypswd , 'dsBaseDN' : '%s' % missingEntry , 'dsFilter' : 'objectclass=*' , 'expectedRC' : 32 } { 'location' : myLocation , 'dsPath' : myPath, 'dsHost' : myhost , 'dsPort' : myport , 'dsBindDN' : mydn , 'dsBindPwd' : mypswd } This function performs an export to an ldif file on or off line Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password The name of the ldif file to be written The name of the database backend Optional extra parameters for specific test cases Start time for task Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Export Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } STAXResult This function performs an on line export task of an ldif file Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The name of the ldif file Optional the name of the database backend Optional exported ldif data file compressed Optional exported ldif data file encrypted Optional append exported ldif data Optional exclude branches Optional include branches Optional exclude attributes Optional include attributes Optional exclude filters Optional exclude filters Optional generate a signed hash of the export data Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy export task ldif (%s) to %s' % (tmpTaskLdif,taskLdif) { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Export Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } 'Check CheckLdapTask returns RC=0' { 'returncode' : RC , 'result' : STAXResult } This function performs an off line backup Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Optional the name of the database backend The directory where the backup files will be placed Optional extra parameters for specific test cases Start time for task Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Backup Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } STAXResult This function performs an on line backup task Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task Path to the target directory for the backup file(s) Optional the name of the database backend Optional back up all backends in the server Optional perform an incremental backup rather than a full backup Optional use the provided identifier for the backup Optional backup contents compressed Optional backup contents encrypted Optional generate a signed hash of the backup data Optional generate a hash of the backup data Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy backup task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Backup Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } 'Check CheckLdapTask returns RC=0' { 'returncode' : RC , 'result' : STAXResult } This function performs an off line restore Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password The directory where the backup files will be placed Optional extra parameters for specific test cases Start time for task Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Restore Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } STAXResult This function performs an on line restore task of a backup file Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The name of the backup directory Optional the name of the backupId Optional verify the contents of the backup but do not restore it Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy restore task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Restore Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } 'Check CheckLdapTask returns RC=0' { 'returncode' : RC , 'result' : STAXResult } This function performs an on line export task for shutdown of the directory Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy shutdown task ldif (%s) to %s' % (tmpTaskLdif,taskLdif) { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Export Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } STAFCmdRC This function performs an on line export task for restart of the directory Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task Expected return code value. Default value is 0 Wildcard 'noCheck' to not check the RC 'Copy restart task ldif (%s) to %s' % (tmpTaskLdif,taskLdif) { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Export Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif, 'expectedRC' : expectedRC } { 'noOfLoops' : 5 , 'noOfMilliSeconds' : 2000 } STAFCmdRC This function performs a dynamic schema add task Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The name of the ldif file that contains the schema updates 'Copy schema task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } 'Copy schema update ldif file.' { 'location' : myLocation, 'srcfile' : '%s/schema/ldifs/%s' % (logsRemoteDataDir,ldifFile), 'destfile' : '%s/%s/config/schema/%s' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME,ldifFile), 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Schema Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } This function performs a leave lockdown task Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task 'Copy task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Schema Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif } { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } This function performs a total update of a replication domain Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The dn of the domain to be replicated The id of the replica server 'Copy totalupdate task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } 'Copy of totalupdate task failed (STAXCode=%s)' % STAXCode [STAXCode, STAXReason] { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Total Update Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif } 'Start of totalupdate task failed (Code=%s)' % STAXCode [STAXCode, STAXReason] { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } 'Check of totalupdate task failed (Code=%s)' % STAXCode [STAXCode, STAXReason] [STAXCode, STAXReason] This function starts a task using the ldap task interface Location of target host Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password Ldif file for task Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) '%s' % myLocation '%s' % STAFCmd '%s' % STAFCmdParams '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] '%s' % dsTaskLdif { 'returncode' : STAFCmdRC, 'result' : STAFCmdResult, 'expected' : expectedRC } [STAFCmdRC, STAFCmdResult[0][1]] This function checks a task using the ldap task interface Location of target host Dn of the task to be performed Pathname to installation root Directory server host name Directory server port number Bind DN Bind password Number of ldap check tries when checking if task is complete Sleep time in milliseconds between ldap check tries 'LOOP number %s - %s %s' % (myCounter, STAFCmd, STAFCmdParams) { 'name' : 'Search On line Import Task', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : myLocation, 'expectedRC' : 'noCheck' } '%s' % STAFCmdResult [taskRC, STAFCmdResult[0][1]] '%s' % STAFCmdResult [taskRC, STAFCmdResult[0][1]] '%s' % STAFCmdResult 'Sleeping for %s ms' % sleepMilliSeconds { 'sleepForMilliSeconds' : sleepMilliSeconds } [taskRC, STAFCmdResult[0][1]] This function shows server status using the status script Location of target host Pathname to installation root Bind DN Bind password Help option Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Status Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'path' : dsPath, 'expectedRC': expectedRC } STAXResult This function executes the base64 encode decode utility with script Location of target host Pathname to installation root The subcommand for base64 (encode or decode) The raw data to be base64 encoded The path to a file containing the raw data to be base64 encoded The path to a file to which the base64-encoded data should be written The base64-encoded data to be decoded The path to a file containing the base64-encoded data to be decoded The path to a file to which the raw base64-decoded data should be written Help option Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'Base 64 %s Script' % subcommand, 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'path' : dsPath, 'expectedRC': expectedRC } STAXResult This function performs an on line rebuild index task Location of target host Pathname to installation root Directory server host name Directory server port number Bind DN Bind password The identifier for the task The base Dn for which the index will be rebuilt List of the attributes to re-index: e.g. ['cn','l'] Number of threads that should be used for the rebuild operation 'Copy rebuildIndex task ldif file.' { 'location' : STAXServiceMachine, 'srcfile' : tmpTaskLdif, 'destfile' : taskLdif, 'remotehost' : myLocation } 'Copy of totalupdate task failed (STAXCode=%s)' % STAXCode [STAXCode, STAXReason] { 'location' : myLocation, 'dsPath' : myPath, 'taskLabel' : 'Online Rebuild Index Task', 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd, 'dsTaskLdif' : taskLdif } 'Start of rebuild index task failed (Code=%s)' % STAXCode [STAXCode, STAXReason] { 'location' : myLocation, 'dsPath' : myPath, 'dsTaskDn' : taskDN, 'dsHost' : dsInstanceHost, 'dsPort' : dsInstancePort, 'dsBindDn' : dsInstanceDn, 'dsBindPswd' : dsInstancePswd } 'Check of rebuild index task failed (Code=%s)' % STAXCode [STAXCode, STAXReason] [STAXCode, STAXReason] This function performs a manage-tasks command line Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Bind password file Certificate keystore path Nickname of certificate for SSL client authentication SASL bind options Certificate trust store path Use StartTLS to secure communication with the server Certificate trust store PIN Certificate keystore PIN file Certificate trust store PIN file Certificate keystore PIN Trust all server SSL certificates Use SSL for secure communication with the server Specify the task ID to cancel Display information for a particular task Display information for a particular task Use quiet mode (no output) Display Directory Server version information Display this usage information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC '%s %s' % (STAFCmd, STAFCmdParams) { 'location' : location, 'name' : 'manage-tasks Script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'expectedRC': expectedRC } STAXResult This wraps the rebuild-index tool to make it easy to use from STAX Location of target host Pathname to installation root Specify a back-end supporting indexing and triggers a rebuild of all indexes in the scope of the provided baseDN Specify a list of attributes to trigger index rebuild on This should be passed on as a python array like [ 'uid', 'telephonenumber' ] Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'rebuild index', 'location' : location, 'command' : _cmd, 'arguments' : _args, 'expectedRC': expectedRC } STAXResult This wraps the verify-index tool to make it easy to use from STAX Specify a back-end supporting indexing and triggers a verification of all indexes in the scope of the provided baseDN Specify a list of attributes to trigger index verification on This should be passed as a python array like [ 'uid','telephonenumber' ] Specify a list of attributes to trigger index verification on Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'verify index', 'location' : location, 'command' : _cmd, 'arguments' : _args, 'expectedRC': expectedRC } STAXResult This function execute the rebuild-index tool Location of target host Pathname to installation root Specify the base DN for which to perform the verification Specify the name of indexes for which to perform the verification This should be passed as a python array like [ 'uid','telephonenumber' ] Display this usage information Display Directory Server version information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'Rebuild index script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : location, 'expectedRC' : expectedRC } STAXResult This function execute the verify-index tool Location of target host Pathname to installation root Specify the base DN for which to perform the verification Specify the name of indexes for which to perform the verification This should be passed as a python array like [ 'uid','telephonenumber' ] Verify that an index is clean Count the number of errors found during the verification Display this usage information Display Directory Server version information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'Verify index script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : location, 'expectedRC' : expectedRC } STAXResult This function execute the list-backends tool Location of target host Pathname to installation root Specify the baseDN from which the list-backends utility should list the backend ID Specify the backend ID from which the tool should display the associated base DN Display this usage information Display Directory Server version information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'List backends script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : location, 'expectedRC' : expectedRC } STAXResult This function execute the dbtest tool Location of target host Pathname to installation root The subcommand for dbtest Base DN of the entry container to debug Backend ID of the local DB backend to debug Name of the database container to debug Only show records with keys that should be ordered after the provided value using the comparator for the database container Only show records with keys that should be ordered before the provided value using the comparator for the database container Skip decoding the local database to their appropriate types. Only show records whose data is no smaller than the provided value Only show records whose data is no larger than the provided value Display this usage information Display Directory Server version information Expected return code value. Default value is 0. Wildcard 'noCheck' to not check the RC { 'name' : 'Dbtest script', 'command' : STAFCmd, 'arguments' : STAFCmdParams, 'location' : location, 'expectedRC' : expectedRC } STAXResult