private List<VespaFlavor> flavorsCompatibleWithAdvertised(NodeResources advertisedResources, boolean exactOnly) {
        return flavors.values().stream()
                      .filter(flavor -> exactOnly
                                        ? equals(flavor.advertisedResources(), advertisedResources)
                                        : flavor.advertisedResources().satisfies(advertisedResources))
                      .toList();
    }
Returns the flavors of hosts which are eligible and matches the given advertised resources
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/awsnodes/AwsHostResourcesCalculatorImpl.java