Library with helper tools to extract and manipulate data from data structure used in redirection tests. For more details about structure format and redirection tests check tests/sles4sap/redirection_tests/README.md
Usage example: use sles4sap::console_redirection::redirection_data_tools;
my $redirection = sles4sap::console_redirection::redirection_data_tools-
new($run_args->{redirection_data});> my %nw_hosts = %{$redirection-
get_nw_hosts};>
get_databases();
Returns ARRAYREF containing only HANA database connection data Example: { hostname_a => {ip_address => '192.168.0.2', ssh_user => 'username'} hostname_b => {ip_address => '192.168.0.2', ssh_user => 'username'} };
get_ensa2_hosts();
Returns ARRAYREF containing only ENSA2 cluster connection data Example: { hostname_a => {ip_address => '192.168.0.2', ssh_user => 'username'} hostname_b => {ip_address => '192.168.0.2', ssh_user => 'username'} };
get_nw_hosts();
Returns ARRAYREF containing only ENSA2 cluster connection data Example: { hostname_a => {ip_address => '192.168.0.2', ssh_user => 'username'} hostname_b => {ip_address => '192.168.0.2', ssh_user => 'username'} };