def call_remote_operation(local_ops, remote_python, script_name, client_args, operation):
    """ Call the remote operation and returns tuple (ret, ouput). """
    client_call = "{} {} {} {}".format(remote_python, script_name, client_args, operation)
    ret, output = local_ops.shell(client_call)
    return ret, output