Home | History | Annotate | Download | only in hosts

Lines Matching refs:base_cmd

168         base_cmd = self.make_ssh_command(user=self.user, port=self.port,
172 return '%s %s "%s"' % (base_cmd, self.hostname, utils.sh_escape(cmd))
459 def ssh_ping(self, timeout=60, base_cmd='true'):
465 @param base_cmd: The base command to run with the ssh ping.
473 self.run(base_cmd, timeout=timeout, connect_timeout=timeout)
487 def is_up(self, timeout=60, base_cmd='true'):
492 @param base_cmd: a base command to run with ssh. The default is 'true'.
497 self.ssh_ping(timeout=timeout, base_cmd=base_cmd)