blob: 7a9fd1241d5169fb6b19376d0df14242d2cb59d6 [file] [log] [blame]
tom95329eb2014-10-06 08:40:06 -07001package org.onlab.onos.net.intent.impl;
2
3import org.onlab.onos.net.intent.IntentId;
4
5/**
6 * Auxiliary delegate for integration of intent manager and flow trackerService.
7 */
8public interface TopologyChangeDelegate {
9
10 /**
11 * Notifies that topology has changed in such a way that the specified
tom85258ee2014-10-07 00:10:02 -070012 * intents should be recompiled. If the {@code compileAllFailed} parameter
13 * is true, the all intents in {@link org.onlab.onos.net.intent.IntentState#FAILED}
14 * state should be compiled as well.
tom95329eb2014-10-06 08:40:06 -070015 *
16 * @param intentIds intents that should be recompiled
tom85258ee2014-10-07 00:10:02 -070017 * @param compileAllFailed true implies full compile is required; false for
18 * selective recompile only
tom95329eb2014-10-06 08:40:06 -070019 */
tom85258ee2014-10-07 00:10:02 -070020 void triggerCompile(Iterable<IntentId> intentIds, boolean compileAllFailed);
tom95329eb2014-10-06 08:40:06 -070021
tom95329eb2014-10-06 08:40:06 -070022}