|
|
|
@ -818,24 +818,28 @@ sub open_vnc_pipe |
|
|
|
|
ssh_tunnel_forward_port => $ssh_tunnel_info->{forward_port} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
elsif ($ws_info->{is_update}) |
|
|
|
|
{ |
|
|
|
|
update_vnc_pipe({ |
|
|
|
|
server_uuid => $server_uuid, |
|
|
|
|
server_vnc_port => $vnc_info->{port}, |
|
|
|
|
ws_host_uuid => $server_info->{host_uuid}, |
|
|
|
|
ws_pid => $ws_info->{pid}, |
|
|
|
|
ws_source_port => $ws_info->{source_port} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
elsif ($ssh_tunnel_info->{is_update}) |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
update_vnc_pipe({ |
|
|
|
|
server_uuid => $server_uuid, |
|
|
|
|
ssh_tunnel_host_uuid => $host_uuid, |
|
|
|
|
ssh_tunnel_pid => $ssh_tunnel_info->{pid}, |
|
|
|
|
ssh_tunnel_forward_port => $ssh_tunnel_info->{forward_port} |
|
|
|
|
}); |
|
|
|
|
if ($ws_info->{is_update}) |
|
|
|
|
{ |
|
|
|
|
update_vnc_pipe({ |
|
|
|
|
server_uuid => $server_uuid, |
|
|
|
|
server_vnc_port => $vnc_info->{port}, |
|
|
|
|
ws_host_uuid => $server_info->{host_uuid}, |
|
|
|
|
ws_pid => $ws_info->{pid}, |
|
|
|
|
ws_source_port => $ws_info->{source_port} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($ssh_tunnel_info->{is_update}) |
|
|
|
|
{ |
|
|
|
|
update_vnc_pipe({ |
|
|
|
|
server_uuid => $server_uuid, |
|
|
|
|
ssh_tunnel_host_uuid => $host_uuid, |
|
|
|
|
ssh_tunnel_pid => $ssh_tunnel_info->{pid}, |
|
|
|
|
ssh_tunnel_forward_port => $ssh_tunnel_info->{forward_port} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$vnc_pipe_info = { forward_port => $ssh_tunnel_info->{forward_port} }; |
|
|
|
|