

@content
def PUT(self):
    ':returns: Collection of JSONized Node objects.\n\n        :http: * 200 (nodes are successfully updated)\n               * 400 (data validation failed)\n        '
    data = self.checked_data(self.validator.validate_collection_structure_and_data)
    updated_nodes_ids = []
    for node_data in data:
        node_id = objects.Cluster.get_network_manager()._update_attrs(node_data)
        updated_nodes_ids.append(node_id)
    updated_nodes = objects.NodeCollection.filter_by_id_list(None, updated_nodes_ids).all()
    return [{
        'id': n.id,
        'interfaces': map(self.render, n.interfaces),
    } for n in updated_nodes_ids]

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/handlers/nic.py NodeCollectionNICsHandler.PUT/VarMisuse@109/208 `updated_nodes`->`updated_nodes_ids`