

@content
def PUT(self, node_id):
    ':returns: Collection of JSONized Node objects.\n\n        :http: * 200 (nodes are successfully updated)\n               * 400 (data validation failed)\n        '
    interfaces_data = self.checked_data(self.validator.validate_structure_and_data, node_id=node_id)
    node_data = {
        'id': node_id,
        'interfaces': interfaces_data,
    }
    objects.Cluster.get_network_manager()._update_attrs(interfaces_data)
    node = self.get_object_or_404(objects.Node, node_id)
    objects.Node.add_pending_change(node, consts.CLUSTER_CHANGES.interfaces)
    return map(self.render, node.interfaces)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/handlers/nic.py NodeNICsHandler.PUT/VarMisuse@60/143 `node_data`->`interfaces_data`