

@content
def GET(self):
    'May receive cluster_id parameter to filter list of nodes\n\n        :returns: Collection of JSONized Nodes interfaces.\n        :http: * 200 (OK)\n        '
    cluster_id = web.input(cluster_id=None).cluster_id
    if cluster_id:
        nodes = objects.NodeCollection.filter_by(None, cluster_id=cluster_id)
    else:
        nodes = objects.NodeCollection.all()
    return filter((lambda x: (x is not None)), map(self.get_default, nodes))

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/handlers/nic.py NodeCollectionNICsDefaultHandler.GET/original