Lines Matching refs:ssh
28 from acloud.internal.lib import ssh
36 FAKE_IP = ssh.IP(external="1.1.1.1", internal="10.1.1.1")
58 ssh.ShellCmdWithRetry,
63 ssh_object = ssh.Ssh(ip=self.FAKE_IP,
73 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH)
86 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH)
99 ssh_object = ssh.Ssh(self.FAKE_IP,
117 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH)
130 ssh_object = ssh.Ssh(self.FAKE_IP,
148 ssh_object = ssh.Ssh(self.FAKE_IP, self.FAKE_SSH_USER, self.FAKE_SSH_PRIVATE_KEY_PATH)
161 ssh_object = ssh.Ssh(self.FAKE_IP,
180 ssh_object = ssh.Ssh(ip=ssh.IP(external="1.1.1.1", internal="10.1.1.1"),
188 ssh_object = ssh.Ssh(ip=ssh.IP(external="1.1.1.1", internal="10.1.1.1"),
195 ssh_object = ssh.Ssh(ip=ssh.IP(ip="1.1.1.1"),
203 ssh_object = ssh.Ssh(ip=self.FAKE_IP,
207 self.Patch(ssh, "_SshCall", return_value=-1)
218 ssh._SshCallWait(fake_cmd)
227 ssh._SshCallWait(fake_cmd, fake_timeout)
235 ssh._SshCall(fake_cmd)
244 ssh._SshCall(fake_cmd, fake_timeout)
252 ssh._SshLogOutput(fake_cmd)
261 ssh._SshLogOutput(fake_cmd, fake_timeout)