Overview | Package | File
| generated with STAXDoc v1.0.4

# pingpong_test_functions.xml

Function Summary
`CreateTestLogDirectory` | Creation of loging directory for tests by time
`AnalyzeTestLog` | Analyze of ping and pong test logs for compliance of expected results.
`MoveSysLogToHost` | Moving ospl process's logs (ospl-info and ospl-error) to destination host.

STAX Function Details

## CreateTestLogDirectory

Creation of loging directory for tests by time

This function takes a list of arguments
Name | Description | Required | Private | Default | Properties
--- | --- | --- | --- | --- | ---
the_host | The host for creation loging directory | Yes | No | N/A |
test_name | The test name | Yes | No | N/A |

Creation of loging directory for tests by time

## AnalyzeTestLog

Analyze of ping and pong test logs for compliance of expected results.

This function takes a list of arguments
Name | Description | Required | Private | Default | Properties
--- | --- | --- | --- | --- | ---
full_path_to_log_dir | The full path to loging directory | Yes | No | N/A |
array_of_test_results | The array of test result entities | Yes | No | N/A |
quantity_of_blocks | The quantity of blocks for ping test | Yes | No | N/A |

Create output analyze.log file with quantity of passed or failed tests.

## MoveSysLogToHost

Moving ospl process's logs (ospl-info and ospl-error) to destination host.

This function takes a list of arguments
Name | Description | Required | Private | Default | Properties
--- | --- | --- | --- | --- | ---
source_host | The host instance with the process. | Yes | No | N/A |
dest_host | The host instance where log will be copied. | Yes | No | N/A |
dest_folder | Where process log will be stored on the local host. | Yes | No | N/A |

Moving ospl process's logs (ospl-info and ospl-error) to destination host and adding source host name.