private FlavorsConfig createConfig() {
        FlavorConfigBuilder b = new FlavorConfigBuilder();
        b.addFlavor("default", 2., 4., 100, 10, Flavor.Type.BARE_METAL).cost(3);
        b.addFlavor("small", 1., 2., 50, 5, Flavor.Type.BARE_METAL).cost(2);
        b.addFlavor("docker", 1., 2., 50, 1, Flavor.Type.DOCKER_CONTAINER).cost(1);
        return b.build();
    }
Moves a node directly to the given state without doing any validation, useful
to create wanted test scenario without having to move every node through series
of valid state transitions
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/NodeRepositoryTester.java