public List<Node> reserve(List<Node> nodes) {
        return db.writeTo(Node.State.reserved, nodes, Agent.application, Optional.empty());
    }
Reserve nodes. This method does <b>not</b> lock the node repository.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java