def find_guest(self, guest_name): remote_ip = self.confs._confs["installation_host_ip"] username = self.confs._confs["host_username"] password = self.confs._confs["host_password"] # virsh_command = VirshCommand(remote_ip, username, password) virsh_command = VirshCommand(remote_ip, username, password) self.target_ip = virsh_command.find_vm("AUTO-%s" % guest_name)