private NodeResources getNodeResources(ClusterSpec cluster, NodeResources nodeResources, ApplicationId applicationId, CapacityPolicies capacityPolicies) {
        return capacityPolicies.specifyFully(nodeResources, cluster);
    }
Returns a list of nodes in the prepared or active state, matching the given constraints.
The nodes are ordered by increasing index number.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodeRepositoryProvisioner.java