public interface IntentSynchronizationService
| Modifier and Type | Method and Description |
|---|---|
void |
removeIntentsByAppId(org.onosproject.core.ApplicationId applicationId)
Withdraws intents by app Id.
|
void |
submit(org.onosproject.net.intent.Intent intent)
Submits and intent to the synchronizer.
|
void |
withdraw(org.onosproject.net.intent.Intent intent)
Withdraws an intent from the synchronizer.
|
void submit(org.onosproject.net.intent.Intent intent)
The intent will be submitted directly to the IntentService if this node is the leader, otherwise it will be stored in the synchronizer for synchronization if this node becomes the leader.
intent - intent to submitvoid withdraw(org.onosproject.net.intent.Intent intent)
The intent will be withdrawn directly from the IntentService if this node is the leader. The intent will be removed from the synchronizer's in-memory storage.
intent - intent to withdrawvoid removeIntentsByAppId(org.onosproject.core.ApplicationId applicationId)
applicationId - the Id of the application that created the intents
to be removed