public NodeList group(int index) {
        return matching(n -> n.allocation().isPresent() &&
                             n.allocation().get().membership().cluster().group().equals(Optional.of(ClusterSpec.Group.from(index))));
    }
Returns the nodes contained in the group identified by given index
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/NodeList.java