public class VirtualNetworkIntentManager extends org.onosproject.event.AbstractListenerManager<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 |
| Constructor and Description |
|---|
VirtualNetworkIntentManager(VirtualNetworkService virtualNetworkManager,
VirtualNetwork network,
org.onlab.osgi.ServiceDirectory serviceDirectory)
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) |
VirtualNetwork |
network() |
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, bindEventDispatcher, post, removeListener, unbindEventDispatcherprotected org.onosproject.net.intent.IntentService intentService
protected VirtualNetworkStore store
protected org.onosproject.net.intent.WorkPartitionService partitionService
public VirtualNetworkIntentManager(VirtualNetworkService virtualNetworkManager, VirtualNetwork network, org.onlab.osgi.ServiceDirectory serviceDirectory)
virtualNetworkManager - virtual network manager servicenetwork - virtual networkserviceDirectory - service directorypublic 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.IntentServicepublic VirtualNetwork network()
network in interface VnetService