Package org.onosproject.net.intent
Interface ObjectiveTrackerService
-
public interface ObjectiveTrackerService
Auxiliary service for tracking intent path flows and for notifying the intent service of environment changes via topology change delegate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTrackedResources(Key intentKey, java.util.Collection<NetworkResource> resources)
Adds a path flow to be tracked.void
removeTrackedResources(Key intentKey, java.util.Collection<NetworkResource> resources)
Removes a path flow to be tracked.void
setDelegate(TopologyChangeDelegate delegate)
Sets a topology change delegate.void
trackIntent(IntentData intentData)
Submits the specified intent data to be tracked.void
unsetDelegate(TopologyChangeDelegate delegate)
Unsets topology change delegate.
-
-
-
Method Detail
-
setDelegate
void setDelegate(TopologyChangeDelegate delegate)
Sets a topology change delegate.- Parameters:
delegate
- topology change delegate
-
unsetDelegate
void unsetDelegate(TopologyChangeDelegate delegate)
Unsets topology change delegate.- Parameters:
delegate
- topology change delegate
-
addTrackedResources
void addTrackedResources(Key intentKey, java.util.Collection<NetworkResource> resources)
Adds a path flow to be tracked.- Parameters:
intentKey
- intent identity on whose behalf the path is being trackedresources
- resources to track
-
removeTrackedResources
void removeTrackedResources(Key intentKey, java.util.Collection<NetworkResource> resources)
Removes a path flow to be tracked.- Parameters:
intentKey
- intent identity on whose behalf the path is being trackedresources
- resources to stop tracking
-
trackIntent
void trackIntent(IntentData intentData)
Submits the specified intent data to be tracked.- Parameters:
intentData
- intent data object to be tracked
-
-