def list_nodes_select():
    ret = {}

    nodes = list_nodes_full()
    if 'error' in nodes:
        raise SaltCloudSystemExit(
            'An error occurred while listing nodes: {0}'.format(
                nodes['error']['Errors']['Error']['Message']
            )
        )

    for node in nodes:
        pairs = {}
        data = nodes[node]
        for key in data:
            if str(key) in __opts__['query.selection']:
                value = data[key]
                pairs[key] = value
        ret[node] = pairs

    return ret
Parse a field.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/vsphere.py/list_nodes_select--crossover with--dataset/ETHPy150Open dansanderson/picotool/pico8/lua/parser.py/Parser._field