public class VirtualNetworkIntentManager extends AbstractVirtualListenerManager<org.onosproject.net.intent.IntentEvent,org.onosproject.net.intent.IntentListener> implements org.onosproject.net.intent.IntentService, VnetService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.intent.IntentService |
intentService |
protected org.onosproject.net.intent.WorkPartitionService |
partitionService |
protected VirtualNetworkStore |
store |
eventDispatcher, manager, networkId, serviceDirectory| Constructor and Description |
|---|
VirtualNetworkIntentManager(VirtualNetworkService virtualNetworkManager,
NetworkId networkId)
Creates a new VirtualNetworkIntentService object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPending(org.onosproject.net.intent.IntentData intentData) |
List<org.onosproject.net.intent.Intent> |
getInstallableIntents(org.onosproject.net.intent.Key intentKey) |
org.onosproject.net.intent.Intent |
getIntent(org.onosproject.net.intent.Key key) |
long |
getIntentCount() |
Iterable<org.onosproject.net.intent.IntentData> |
getIntentData() |
Iterable<org.onosproject.net.intent.Intent> |
getIntents() |
org.onosproject.net.intent.IntentState |
getIntentState(org.onosproject.net.intent.Key intentKey) |
Iterable<org.onosproject.net.intent.Intent> |
getPending() |
boolean |
isLocal(org.onosproject.net.intent.Key intentKey) |
void |
purge(org.onosproject.net.intent.Intent intent) |
void |
submit(org.onosproject.net.intent.Intent intent) |
void |
withdraw(org.onosproject.net.intent.Intent intent) |
addListener, networkId, post, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnetworkIdprotected org.onosproject.net.intent.IntentService intentService
protected VirtualNetworkStore store
protected org.onosproject.net.intent.WorkPartitionService partitionService
public VirtualNetworkIntentManager(VirtualNetworkService virtualNetworkManager, NetworkId networkId)
virtualNetworkManager - virtual network manager servicenetworkId - a virtual network identifierpublic void submit(org.onosproject.net.intent.Intent intent)
submit in interface org.onosproject.net.intent.IntentServicepublic void withdraw(org.onosproject.net.intent.Intent intent)
withdraw in interface org.onosproject.net.intent.IntentServicepublic void purge(org.onosproject.net.intent.Intent intent)
purge in interface org.onosproject.net.intent.IntentServicepublic org.onosproject.net.intent.Intent getIntent(org.onosproject.net.intent.Key key)
getIntent in interface org.onosproject.net.intent.IntentServicepublic Iterable<org.onosproject.net.intent.Intent> getIntents()
getIntents in interface org.onosproject.net.intent.IntentServicepublic void addPending(org.onosproject.net.intent.IntentData intentData)
addPending in interface org.onosproject.net.intent.IntentServicepublic Iterable<org.onosproject.net.intent.IntentData> getIntentData()
getIntentData in interface org.onosproject.net.intent.IntentServicepublic long getIntentCount()
getIntentCount in interface org.onosproject.net.intent.IntentServicepublic org.onosproject.net.intent.IntentState getIntentState(org.onosproject.net.intent.Key intentKey)
getIntentState in interface org.onosproject.net.intent.IntentServicepublic List<org.onosproject.net.intent.Intent> getInstallableIntents(org.onosproject.net.intent.Key intentKey)
getInstallableIntents in interface org.onosproject.net.intent.IntentServicepublic boolean isLocal(org.onosproject.net.intent.Key intentKey)
isLocal in interface org.onosproject.net.intent.IntentServicepublic Iterable<org.onosproject.net.intent.Intent> getPending()
getPending in interface org.onosproject.net.intent.IntentService