def ssh_reachable(self, tries=None, propagate_fail=True):
        """
        Check if the VM is reachable with ssh
        Args:
            tries(int): Number of tries to try connecting to the host
            propagate_fail(bool): If set to true, this event will appear
            in the log and fail the outter stage. Otherwise, it will be
            discarded.
        Returns:
            bool: True if the VM is reachable.
        """
        if not self.running():
            return False

        try:
            ssh.get_ssh_client(
                ip_addr=self.ip(),
                host_name=self.name(),
                ssh_tries=tries,
                propagate_fail=propagate_fail,
                ssh_key=self.virt_env.prefix.paths.ssh_id_rsa(),
                username=self._spec.get('ssh-user'),
                password=self._spec.get('ssh-password'),
            )
        except ssh.LagoSSHTimeoutException:
            return False

        return True
Check if the VM is reachable with ssh
        Args:
            tries(int): Number of tries to try connecting to the host
            propagate_fail(bool): If set to true, this event will appear
            in the log and fail the outter stage. Otherwise, it will be
            discarded.
        Returns:
            bool: True if the VM is reachable.