@jsonify
def list_records(self, arg_dict):
    dirpath = "/local/domain/%(dom_id)s/%(path)s" % arg_dict
    cmd = ["xenstore-ls", dirpath.rstrip("/")]
    try:
        ret, recs = _run_command(cmd)
    except pluginlib.PluginError, e:
        if "No such file or directory" in "%s" % e:
            # Path doesn't exist.
            return {}
        return str(e)
        raise
    base_path = arg_dict["path"]
    paths = _paths_from_ls(recs)
    ret = {}
    for path in paths:
        if base_path:
            arg_dict["path"] = "%s/%s" % (base_path, path)
        else:
            arg_dict["path"] = path
        rec = read_record(self, arg_dict)
        try:
            val = json.loads(rec)
        except ValueError:
            val = rec
        ret[path] = val
    return ret
Return a dict of all available locations on the provider with
dataset/ETHPy150Open nii-cloud/dodai-compute/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py/list_records--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/qingcloud.py/avail_locations