blob: 30e689980f7bac15ce4ff30d83e51ceb1e555e72 [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
tom4e969042014-10-07 00:47:30 -070013 * is true, then all intents in {@link org.onlab.onos.net.intent.IntentState#FAILED}
tom85258ee2014-10-07 00:10:02 -070014 * state should be compiled as well.
tom95329eb2014-10-06 08:40:06 -070015 *
16 * @param intentIds intents that should be recompiled
tom4e969042014-10-07 00:47:30 -070017 * @param compileAllFailed true implies full compile of all failed intents
18 * is required; false for 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}