| | |
| | | Help option |
| | | </function-arg-description> |
| | | <function-arg-property name="help" value="option"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | 'name' : 'Setup DS Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams, |
| | | 'path' : dsPath |
| | | 'path' : dsPath, |
| | | 'expectedRC': 'noCheck' |
| | | } |
| | | </call> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | </sequence> |
| | | </function> |
| | | |
| | |
| | | Directory server build information |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="option"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | { 'location' : location, |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams, |
| | | 'location' : location |
| | | 'location' : location, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | <script> |
| | | startRC=RC |
| | | startResult=STAXResult |
| | | </script> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : startRC , |
| | | 'result' : startResult } |
| | | </call> |
| | | |
| | | <return>startResult</return> |
| | | <return>STAXResult</return> |
| | | |
| | | </sequence> |
| | | |
| | |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="option"/> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Stop DS Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams |
| | | 'arguments' : STAFCmdParams, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | <call function="'Sleep'"> |
| | | { 'sleepForMilliSeconds' : 3000 } |
| | | </call> |
| | |
| | | Optional extra parameters for specific test cases |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Offline Import', |
| | | 'command' : '%s/import-ldif%s' % (dsBinPath,fileExt), |
| | | 'arguments' : '-l %s -n %s %s' % (ldifFile,backEnd,extraParams) |
| | | 'arguments' : '-l %s -n %s %s' % (ldifFile,backEnd,extraParams), |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | <script> |
| | | importRC=RC |
| | | importResult=STAXResult |
| | | </script> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : importRC , |
| | | 'result' : importResult } |
| | | </call> |
| | | <return>importRC</return> |
| | | <return>RC</return> |
| | | </sequence> |
| | | </function> |
| | | |
| | |
| | | Start time for task |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Offline Import Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams |
| | | 'arguments' : STAFCmdParams, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : RC , |
| | | 'result' : STAXResult } |
| | | </call> |
| | | |
| | | </sequence> |
| | | </function> |
| | | |
| | |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0 |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | | </function-arg-def> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Export Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams |
| | | } |
| | | </call> |
| | | <message> |
| | | '%s %s' % (STAFCmd,STAFCmdParams) |
| | | </message> |
| | | |
| | | <script> |
| | | STAXCode=RC |
| | | STAXReason=STAXResult |
| | | </script> |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : STAXCode , |
| | | 'result' : STAXReason, |
| | | 'expected' : expectedRC |
| | | 'arguments' : STAFCmdParams, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | <return> |
| | | STAXReason |
| | | </return> |
| | | STAXResult |
| | | </return> |
| | | </sequence> |
| | | </function> |
| | | |
| | |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0 |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | | </function-arg-def> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Backup Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams |
| | | 'arguments' : STAFCmdParams, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | STAXCode=RC |
| | | STAXReason=STAXResult |
| | | </script> |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : STAXCode , |
| | | 'result' : STAXReason, |
| | | 'expected' : expectedRC |
| | | } |
| | | </call> |
| | | |
| | | <return> |
| | | STAXReason |
| | | </return> |
| | | STAXResult |
| | | </return> |
| | | </sequence> |
| | | </function> |
| | | |
| | |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0 |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | | </function-arg-def> |
| | |
| | | { 'location' : location, |
| | | 'name' : 'Restore Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | STAXCode=RC |
| | | STAXReason=STAXResult |
| | | </script> |
| | | <call function="'checktestRC'"> |
| | | { 'returncode' : STAXCode , |
| | | 'result' : STAXReason, |
| | | 'expected' : expectedRC |
| | | 'arguments' : STAFCmdParams, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | </call> |
| | | |
| | | <return> |
| | | STAXReason |
| | | </return> |
| | | </sequence> |
| | | STAXResult |
| | | </return> |
| | | </sequence> |
| | | </function> |
| | | |
| | | <!-- Restore Task Function --> |
| | |
| | | Sleep time in milliseconds between ldap check tries |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="integer"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | |
| | | </function-map-args> |
| | | |
| | |
| | | Help option |
| | | </function-arg-description> |
| | | <function-arg-property name="help" value="option"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | 'name' : 'Status Script', |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams, |
| | | 'path' : dsPath |
| | | 'path' : dsPath, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | CmdRC=RC |
| | | CmdResult=STAXResult |
| | | </script> |
| | | |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : CmdRC , |
| | | 'result' : CmdResult } |
| | | </call> |
| | | |
| | | <return>CmdResult</return> |
| | | |
| | | <return>STAXResult</return> |
| | | |
| | | </sequence> |
| | | |
| | |
| | | Help option |
| | | </function-arg-description> |
| | | <function-arg-property name="help" value="option"/> |
| | | </function-arg-def> |
| | | </function-arg-def> |
| | | <function-arg-def name="expectedRC" type="optional" default="0"> |
| | | <function-arg-description> |
| | | Expected return code value. Default value is 0. |
| | | Wildcard 'noCheck' to not check the RC |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | 'name' : 'Base 64 %s Script' % subcommand, |
| | | 'command' : STAFCmd, |
| | | 'arguments' : STAFCmdParams, |
| | | 'path' : dsPath |
| | | 'path' : dsPath, |
| | | 'expectedRC': expectedRC |
| | | } |
| | | </call> |
| | | |
| | | <script> |
| | | CmdRC=RC |
| | | CmdResult=STAXResult |
| | | </script> |
| | | |
| | | <call function="'checkRC'"> |
| | | { 'returncode' : CmdRC , |
| | | 'result' : CmdResult } |
| | | </call> |
| | | |
| | | <return>CmdResult</return> |
| | | |
| | | <return>STAXResult</return> |
| | | |
| | | </sequence> |
| | | </function> |