diff --git a/env-ot14.sh b/env-ot14.sh index 932ac6f..c4525a9 100644 --- a/env-ot14.sh +++ b/env-ot14.sh @@ -19,13 +19,13 @@ LINUX_RELAY_ADDR=10.3.34.34 LINUX_RELAY_ADDR6=fdd7:e83e:66bc:0334::34 LINUX_LINUX_ADDR=10.3.36.36 LINUX_LINUX_ADDR6=fdd7:e83e:66bc:336::36 -LINUX_SSH=perform@lt13 +LINUX_LEFT_SSH=perform@lt13 LINUX_RELAY_LOCAL_ADDR=10.3.56.35 LINUX_RELAY_LOCAL_ADDR6=fdd7:e83e:66bc:0356::35 LINUX_RELAY_REMOTE_ADDR=10.3.46.34 LINUX_RELAY_REMOTE_ADDR6=fdd7:e83e:66bc:0346::34 -LINUX_OTHER_SSH=perform@lt16 +LINUX_RIGHT_SSH=perform@lt16 LOCAL_IPSEC_ADDR=10.4.34.34 LOCAL_IPSEC_ADDR6=fdd7:e83e:66bc:0434::34 @@ -55,10 +55,10 @@ export REMOTE_IF REMOTE_MAC REMOTE_ADDR REMOTE_ADDR6 export REMOTE_SSH export LINUX_ADDR LINUX_ADDR6 LINUX_FORWARD_ADDR LINUX_FORWARD_ADDR6 export LINUX_RELAY_ADDR LINUX_RELAY_ADDR6 LINUX_LINUX_ADDR LINUX_LINUX_ADDR6 -export LINUX_SSH +export LINUX_LEFT_SSH export LINUX_RELAY_LOCAL_ADDR LINUX_RELAY_LOCAL_ADDR6 export LINUX_RELAY_REMOTE_ADDR LINUX_RELAY_REMOTE_ADDR6 -export LINUX_OTHER_SSH +export LINUX_RIGHT_SSH export LOCAL_IPSEC_ADDR REMOTE_IPSEC_ADDR LINUX_IPSEC_ADDR export LOCAL_IPSEC_ADDR6 REMOTE_IPSEC_ADDR6 LINUX_IPSEC_ADDR6 export LINUX_VEB_ADDR LINUX_VEB_ADDR6 diff --git a/env-ot19.sh b/env-ot19.sh index 5ce2b5b..77f635e 100644 --- a/env-ot19.sh +++ b/env-ot19.sh @@ -6,6 +6,8 @@ export SKIP_IF=em18 export NETLINK_LINE=3 # currently there is no distinct linux interface for link 4, share with 3 export LINUX_IF=enp6s0 +export LINUX_LEFT_SSH=root@lt40 +export LINUX_RIGHT_SSH=root@lt43 # allow to manually run perform tests frag and splice on netlink hosts @@ -23,7 +25,4 @@ LOCAL_ADDR_RANGE=10.10.31.20 LOCAL_ADDR6_RANGE=fdd7:e83e:66bd:1031::20 LINUX_ADDR_RANGE=10.10.32.40 LINUX_ADDR6_RANGE=fdd7:e83e:66bd:1032::40 -LINUX_SSH=root@lt40 -LINUX_OTHER_SSH=root@lt43 export LOCAL_ADDR_RANGE LOCAL_ADDR6_RANGE LINUX_ADDR_RANGE LINUX_ADDR6_RANGE -export LINUX_SSH LINUX_OTHER_SSH diff --git a/env-ot25.sh b/env-ot25.sh index d7b91df..1408984 100644 --- a/env-ot25.sh +++ b/env-ot25.sh @@ -9,6 +9,8 @@ export SKIP_IF=em0,em1,em4,em5,em8,em9,em10,em11,em12,ix0,ix1 export NETLINK_LINE=4 # currently there is no distinct linux interface for link 4, share with 3 export LINUX_IF=enp6s0 +export LINUX_LEFT_SSH=root@lt40 +export LINUX_RIGHT_SSH=root@lt43 # allow to manually run perform tests frag and splice on netlink hosts @@ -41,7 +43,4 @@ LOCAL_ADDR_RANGE=10.10.41.20 LOCAL_ADDR6_RANGE=fdd7:e83e:66bd:1041::20 LINUX_ADDR_RANGE=10.10.42.40 LINUX_ADDR6_RANGE=fdd7:e83e:66bd:1042::40 -LINUX_SSH=root@lt40 -LINUX_OTHER_SSH=root@lt43 export LOCAL_ADDR_RANGE LOCAL_ADDR6_RANGE LINUX_ADDR_RANGE LINUX_ADDR6_RANGE -export LINUX_SSH LINUX_OTHER_SSH diff --git a/env-ot31.sh b/env-ot31.sh index a243f2f..f486de9 100644 --- a/env-ot31.sh +++ b/env-ot31.sh @@ -19,13 +19,13 @@ LINUX_RELAY_ADDR=10.6.31.51 LINUX_RELAY_ADDR6=fdd7:e83e:66bc:0631::51 LINUX_LINUX_ADDR=10.3.36.36 LINUX_LINUX_ADDR6=fdd7:e83e:66bc:336::36 -LINUX_SSH=perform@lt13 +LINUX_LEFT_SSH=perform@lt13 LINUX_RELAY_LOCAL_ADDR=10.6.26.52 LINUX_RELAY_LOCAL_ADDR6=fdd7:e83e:66bc:0626::52 LINUX_RELAY_REMOTE_ADDR=10.6.16.51 LINUX_RELAY_REMOTE_ADDR6=fdd7:e83e:66bc:0616::51 -LINUX_OTHER_SSH=perform@lt16 +LINUX_RIGHT_SSH=perform@lt16 LOCAL_IPSEC_ADDR=10.7.31.51 LOCAL_IPSEC_ADDR6=fdd7:e83e:66bc:0731::51 @@ -62,10 +62,10 @@ export REMOTE_IF REMOTE_MAC REMOTE_ADDR REMOTE_ADDR6 export REMOTE_SSH export LINUX_ADDR LINUX_ADDR6 LINUX_FORWARD_ADDR LINUX_FORWARD_ADDR6 export LINUX_RELAY_ADDR LINUX_RELAY_ADDR6 LINUX_LINUX_ADDR LINUX_LINUX_ADDR6 -export LINUX_SSH +export LINUX_LEFT_SSH export LINUX_RELAY_LOCAL_ADDR LINUX_RELAY_LOCAL_ADDR6 export LINUX_RELAY_REMOTE_ADDR LINUX_RELAY_REMOTE_ADDR6 -export LINUX_OTHER_SSH +export LINUX_RIGHT_SSH export LOCAL_IPSEC_ADDR REMOTE_IPSEC_ADDR LINUX_IPSEC_ADDR export LOCAL_IPSEC_ADDR6 REMOTE_IPSEC_ADDR6 LINUX_IPSEC_ADDR6 export LOCAL_IPSEC6_ADDR REMOTE_IPSEC6_ADDR LINUX_IPSEC6_ADDR diff --git a/env-ot41.sh b/env-ot41.sh index d69ee42..18f8d3a 100644 --- a/env-ot41.sh +++ b/env-ot41.sh @@ -3,6 +3,8 @@ export MANAGEMENT_IF=em4 export SKIP_IF=em4,em2,em3 export NETLINK_LINE=1 export LINUX_IF=ens2f1 +export LINUX_LEFT_SSH=root@lt40 +export LINUX_RIGHT_SSH=root@lt43 # allow to manually run perform tests frag and splice on netlink hosts @@ -20,7 +22,4 @@ LOCAL_ADDR_RANGE=10.10.11.20 LOCAL_ADDR6_RANGE=fdd7:e83e:66bd:1011::20 LINUX_ADDR_RANGE=10.10.12.40 LINUX_ADDR6_RANGE=fdd7:e83e:66bd:1012::40 -LINUX_SSH=root@lt40 -LINUX_OTHER_SSH=root@lt43 export LOCAL_ADDR_RANGE LOCAL_ADDR6_RANGE LINUX_ADDR_RANGE LINUX_ADDR6_RANGE -export LINUX_SSH LINUX_OTHER_SSH diff --git a/env-ot42.sh b/env-ot42.sh index 167a4a2..711d81f 100644 --- a/env-ot42.sh +++ b/env-ot42.sh @@ -3,6 +3,8 @@ export MANAGEMENT_IF=igc2 export SKIP_IF=igc2,igc3 export NETLINK_LINE=2 export LINUX_IF=ens2f0 +export LINUX_LEFT_SSH=root@lt40 +export LINUX_RIGHT_SSH=root@lt43 # allow to manually run perform tests frag and splice on netlink hosts @@ -20,7 +22,4 @@ LOCAL_ADDR_RANGE=10.10.21.20 LOCAL_ADDR6_RANGE=fdd7:e83e:66bd:1021::20 LINUX_ADDR_RANGE=10.10.22.40 LINUX_ADDR6_RANGE=fdd7:e83e:66bd:1022::40 -LINUX_SSH=root@lt40 -LINUX_OTHER_SSH=root@lt43 export LOCAL_ADDR_RANGE LOCAL_ADDR6_RANGE LINUX_ADDR_RANGE LINUX_ADDR6_RANGE -export LINUX_SSH LINUX_OTHER_SSH diff --git a/netlink.pl b/netlink.pl index 243d372..959cf16 100755 --- a/netlink.pl +++ b/netlink.pl @@ -60,6 +60,10 @@ or die "MANAGEMENT_IF is not in env"; my $linux_if = $ENV{LINUX_IF} or die "LINUX_IF is not in env"; +my $linux_left_ssh = $ENV{LINUX_LEFT_SSH} + or die "LINUX_LEFT_SSH is not in env"; +my $linux_right_ssh = $ENV{LINUX_RIGHT_SSH} + or die "LINUX_RIGHT_SSH is not in env"; my ($iftype, $ifnum) = $iface =~ /^([a-z]+)([0-9]+)?$/; grep { $_ eq $iftype } @allifaces @@ -154,7 +158,7 @@ my $lnx_l_addr6 = "${ip6prefix}${line}1::1"; my $lnx_l_net6 = "$lnx_l_addr6/64"; my $lnx_l_net6_flat = "$lnx_l_addr6/60"; -my $lnx_l_ssh = 'root@lt40'; #$ENV{LINUXL_SSH}; # XXX +my $lnx_l_ssh = $linux_left_ssh; my $lnx_l_tunnel_addr = "$ip4prefix.${line}3.1"; my $lnx_l_tunnel_net = "$lnx_l_tunnel_addr/24"; @@ -166,7 +170,7 @@ my $lnx_r_addr6 = "${ip6prefix}${line}2::4"; my $lnx_r_net6 = "$lnx_r_addr6/64"; my $lnx_r_net6_flat = "$lnx_r_addr6/60"; -my $lnx_r_ssh = 'root@lt43'; #$ENV{LINUXR_SSH}; +my $lnx_r_ssh = $linux_right_ssh; my @lnx_r_addr_range = map { "$lnx_r_addr$_" } 0..9; my @lnx_r_net_range = map { "$_/24" } @lnx_r_addr_range; @@ -1113,13 +1117,13 @@ sub pingflood_finalize { }, { statcmd => [ 'netstat', '-nr' ], }, { - statcmd => [ 'ssh', 'root@lt40', 'netstat', '-nr' ], + statcmd => [ 'ssh', $lnx_l_ssh, 'netstat', '-nr' ], }, { - statcmd => [ 'ssh', 'root@lt40', 'netstat', '-6nr' ], + statcmd => [ 'ssh', $lnx_l_ssh, 'netstat', '-6nr' ], }, { - statcmd => [ 'ssh', 'root@lt43', 'netstat', '-nr' ], + statcmd => [ 'ssh', $lnx_r_ssh, 'netstat', '-nr' ], }, { - statcmd => [ 'ssh', 'root@lt43', 'netstat', '-6nr' ], + statcmd => [ 'ssh', $lnx_r_ssh, 'netstat', '-6nr' ], }, { statcmd => [ 'vmstat', '-mv' ], }, { diff --git a/perform.pl b/perform.pl index b6ab807..7791c4e 100755 --- a/perform.pl +++ b/perform.pl @@ -242,13 +242,13 @@ sub logcmd { my $linux_ipsec_addr6 = $ENV{LINUX_IPSEC_ADDR6}; my $linux_ipsec6_addr = $ENV{LINUX_IPSEC6_ADDR}; my $linux_ipsec6_addr6 = $ENV{LINUX_IPSEC6_ADDR6}; -my $linux_ssh = $ENV{LINUX_SSH}; +my $linux_left_ssh = $ENV{LINUX_LEFT_SSH}; my $linux_relay_local_addr = $ENV{LINUX_RELAY_LOCAL_ADDR}; my $linux_relay_local_addr6 = $ENV{LINUX_RELAY_LOCAL_ADDR6}; my $linux_relay_remote_addr = $ENV{LINUX_RELAY_REMOTE_ADDR}; my $linux_relay_remote_addr6 = $ENV{LINUX_RELAY_REMOTE_ADDR6}; -my $linux_other_ssh = $ENV{LINUX_OTHER_SSH}; +my $linux_right_ssh = $ENV{LINUX_RIGHT_SSH}; my $linux_veb_addr = $ENV{LINUX_VEB_ADDR}; my $linux_veb_addr6 = $ENV{LINUX_VEB_ADDR6}; @@ -282,14 +282,14 @@ sub logcmd { # I have seen hanging iperf3 processes on linux machines, reap them -if ($linux_ssh) { - my @sshcmd = ('ssh', $linux_ssh, 'pkill', 'iperf3'); +if ($linux_left_ssh) { + my @sshcmd = ('ssh', $linux_left_ssh, 'pkill', 'iperf3'); system(@sshcmd); } -if ($linux_other_ssh) { - my @sshcmd = ('ssh', $linux_other_ssh, 'pkill', 'iperf3'); +if ($linux_right_ssh) { + my @sshcmd = ('ssh', $linux_right_ssh, 'pkill', 'iperf3'); system(@sshcmd); - @sshcmd = ('ssh', $linux_other_ssh, 'iperf3', '-sD'); + @sshcmd = ('ssh', $linux_right_ssh, 'iperf3', '-sD'); system(@sshcmd) and die "Start linux iperf3 server with '@sshcmd' failed: $?"; } @@ -816,7 +816,7 @@ sub fsmark_finalize { # }, { # local recv, Linux send - client => $linux_ssh, + client => $linux_left_ssh, server => undef, address => $local_addr_range, address6 => $local_addr6_range, @@ -825,15 +825,15 @@ sub fsmark_finalize { { # local send, other Linux recv client => undef, - server => $linux_other_ssh, + server => $linux_right_ssh, address => $linux_addr_range, address6 => $linux_addr6_range, parallel => 10, }, { # Linux send, local forward, other Linux recv - client => $linux_ssh, - server => $linux_other_ssh, + client => $linux_left_ssh, + server => $linux_right_ssh, address => $linux_addr_range, address6 => $linux_addr6_range, parallel => 10, @@ -888,8 +888,8 @@ sub fsmark_finalize { "-f$frame", '-i3', '-N10', - "-c$linux_ssh", - "-s$linux_other_ssh", + "-c$linux_left_ssh", + "-s$linux_right_ssh", "-A$local_addr_range", "-a$linux_addr_range", '-t10', @@ -905,8 +905,8 @@ sub fsmark_finalize { "-f$frame", '-i3', '-N10', - "-c$linux_ssh", - "-s$linux_other_ssh", + "-c$linux_left_ssh", + "-s$linux_right_ssh", "-A$local_addr6_range", "-a$linux_addr6_range", '-t10', @@ -920,8 +920,8 @@ sub fsmark_finalize { '-v', '-b1000000', '-N10', - "-c$linux_ssh", - "-s$linux_other_ssh", + "-c$linux_left_ssh", + "-s$linux_right_ssh", "-A$local_addr_range", "-a$linux_addr_range", '-t10', @@ -933,8 +933,8 @@ sub fsmark_finalize { '-v', '-b1000000', '-N10', - "-c$linux_ssh", - "-s$linux_other_ssh", + "-c$linux_left_ssh", + "-s$linux_right_ssh", "-A$local_addr6_range", "-a$linux_addr6_range", '-t10', @@ -945,114 +945,114 @@ sub fsmark_finalize { push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_forward_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_forward_addr", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_forward_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_forward_addr", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{forward4} && $linux_forward_addr && $linux_ssh; +) if $testmode{forward4} && $linux_forward_addr && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_forward_addr6", - '-P10', '-t10'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_forward_addr6", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_forward_addr6", - '-P10', '-t10', '-R'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_forward_addr6", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{forward6} && $linux_forward_addr6 && $linux_ssh; +) if $testmode{forward6} && $linux_forward_addr6 && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_relay_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_relay_addr", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_relay_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_relay_addr", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay4} && $linux_relay_addr && $linux_ssh; +) if $testmode{relay4} && $linux_relay_addr && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_relay_addr6", - '-P10', '-t10'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_relay_addr6", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_relay_addr6", - '-P10', '-t10', '-R'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_relay_addr6", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay6} && $linux_relay_addr6 && $linux_ssh; +) if $testmode{relay6} && $linux_relay_addr6 && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', "-c$linux_relay_local_addr", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', "-c$linux_relay_local_addr", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay4} && $linux_relay_local_addr && $linux_other_ssh; +) if $testmode{relay4} && $linux_relay_local_addr && $linux_right_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', '-6', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', '-6', "-c$linux_relay_local_addr6", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', '-6', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', '-6', "-c$linux_relay_local_addr6", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay6} && $linux_relay_local_addr6 && $linux_other_ssh; +) if $testmode{relay6} && $linux_relay_local_addr6 && $linux_right_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', "-c$linux_relay_remote_addr", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', "-c$linux_relay_remote_addr", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay4} && $linux_relay_remote_addr && $linux_other_ssh; +) if $testmode{relay4} && $linux_relay_remote_addr && $linux_right_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', '-6', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', '-6', "-c$linux_relay_remote_addr6", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_other_ssh, 'iperf3', '-6', + testcmd => ['ssh', $linux_right_ssh, 'iperf3', '-6', "-c$linux_relay_remote_addr6", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{relay6} && $linux_relay_remote_addr6 && $linux_other_ssh; +) if $testmode{relay6} && $linux_relay_remote_addr6 && $linux_right_ssh; my %ipsec = ( ipsec4 => { ip => 4, addr => $remote_ipsec_trans_addr }, ipsec6 => { ip => 6, addr => $remote_ipsec_trans_addr6 }, - ipsec44 => { ip => 4, addr => $linux_ipsec_addr, ssh => $linux_ssh }, - ipsec46 => { ip => 6, addr => $linux_ipsec_addr6, ssh => $linux_ssh }, - ipsec64 => { ip => 4, addr => $linux_ipsec6_addr, ssh => $linux_ssh }, - ipsec66 => { ip => 6, addr => $linux_ipsec6_addr6, ssh => $linux_ssh }, + ipsec44 => { ip => 4, addr => $linux_ipsec_addr, ssh => $linux_left_ssh }, + ipsec46 => { ip => 6, addr => $linux_ipsec_addr6, ssh => $linux_left_ssh }, + ipsec64 => { ip => 4, addr => $linux_ipsec6_addr, ssh => $linux_left_ssh }, + ipsec66 => { ip => 6, addr => $linux_ipsec6_addr6, ssh => $linux_left_ssh }, ); my @ipsectests; foreach my $ipsecmode (sort keys %ipsec) { @@ -1087,29 +1087,29 @@ sub fsmark_finalize { push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_veb_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_veb_addr", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', "-c$linux_veb_addr", + testcmd => ['ssh', $linux_left_ssh, 'iperf3', "-c$linux_veb_addr", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{vbridge4} && $linux_veb_addr && $linux_ssh; +) if $testmode{vbridge4} && $linux_veb_addr && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_veb_addr6", - '-P10', '-t10'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_veb_addr6", '-P10', '-t10'], parser => \&iperf3_parser, }, { initialize => \&iperf3_initialize, - testcmd => ['ssh', $linux_ssh, 'iperf3', '-6', "-c$linux_veb_addr6", - '-P10', '-t10', '-R'], + testcmd => ['ssh', $linux_left_ssh, 'iperf3', '-6', + "-c$linux_veb_addr6", '-P10', '-t10', '-R'], parser => \&iperf3_parser, } -) if $testmode{vbridge6} && $linux_veb_addr6 && $linux_ssh; +) if $testmode{vbridge6} && $linux_veb_addr6 && $linux_left_ssh; push @tests, ( { initialize => \&iperf3_initialize,