@Override
    public void restart(ApplicationId application, HostFilter filter) {
        List<Node> updated = nodeRepository.nodes().restartActive(ApplicationFilter.from(application).and(NodeHostFilter.from(filter)));
        if (updated.isEmpty()) {
            throw new IllegalArgumentException("No matching nodes found");
        }
    }
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