| Package | Description |
|---|---|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IntentCompiler<T extends Intent>
Abstraction of a compiler which is capable of taking an intent
and translating it to other, potentially installable, intents.
|
interface |
IntentInstaller<T extends Intent>
Abstraction of entity capable of installing intents to the environment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectivityIntent
Abstraction of connectivity intent for traffic matching some criteria.
|
class |
HostToHostIntent
Abstraction of end-station to end-station bidirectional connectivity.
|
class |
LinkCollectionIntent
Abstraction of a connectivity intent that is implemented by a set of path
segments.
|
class |
MultiPointToSinglePointIntent
Abstraction of multiple source to single destination connectivity intent.
|
class |
OpticalConnectivityIntent
An optical layer intent for connectivity from one transponder port to another
transponder port.
|
class |
OpticalPathIntent |
class |
PathIntent
Abstraction of explicitly path specified connectivity intent.
|
class |
PointToPointIntent
Abstraction of point-to-point connectivity.
|
class |
SinglePointToMultiPointIntent
Abstraction of single source, multiple destination connectivity intent.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Intent> |
IntentExtensionService.registerCompiler(Class<T> cls,
IntentCompiler<T> compiler)
Registers the specified compiler for the given intent class.
|
<T extends Intent> |
IntentExtensionService.registerInstaller(Class<T> cls,
IntentInstaller<T> installer)
Registers the specified installer for the given installable intent class.
|
<T extends Intent> |
IntentExtensionService.unregisterCompiler(Class<T> cls)
Unregisters the compiler for the specified intent class.
|
<T extends Intent> |
IntentExtensionService.unregisterInstaller(Class<T> cls)
Unregisters the installer for the given installable intent class.
|
| Modifier and Type | Method and Description |
|---|---|
Intent |
IntentStore.getIntent(IntentId intentId)
Returns the intent with the specified identifier.
|
Intent |
IntentService.getIntent(IntentId id)
Retrieves the intent specified by its identifier.
|
Intent |
IntentOperation.intent()
Returns the intent to which this operation applied.
|
| Modifier and Type | Method and Description |
|---|---|
List<Intent> |
IntentCompiler.compile(T intent,
List<Intent> installable,
Set<LinkResourceAllocations> resources)
Compiles the specified intent into other intents.
|
Map<Class<? extends Intent>,IntentCompiler<? extends Intent>> |
IntentExtensionService.getCompilers()
Returns immutable set of bindings of currently registered intent compilers.
|
Map<Class<? extends Intent>,IntentCompiler<? extends Intent>> |
IntentExtensionService.getCompilers()
Returns immutable set of bindings of currently registered intent compilers.
|
List<Intent> |
IntentStore.getInstallableIntents(IntentId intentId)
Returns the list of the installable events associated with the specified
original intent.
|
List<Intent> |
IntentService.getInstallableIntents(IntentId intentId)
Returns the list of the installable events associated with the specified
top-level intent.
|
Map<Class<? extends Intent>,IntentInstaller<? extends Intent>> |
IntentExtensionService.getInstallers()
Returns immutable set of bindings of currently registered intent installers.
|
Map<Class<? extends Intent>,IntentInstaller<? extends Intent>> |
IntentExtensionService.getInstallers()
Returns immutable set of bindings of currently registered intent installers.
|
Iterable<Intent> |
IntentStore.getIntents()
Returns a collection of all intents in the store.
|
Iterable<Intent> |
IntentService.getIntents()
Returns an iterable of intents currently in the system.
|
| Modifier and Type | Method and Description |
|---|---|
IntentOperations.Builder |
IntentOperations.Builder.addReplaceOperation(IntentId oldIntentId,
Intent newIntent)
Adds an intent submit operation.
|
IntentOperations.Builder |
IntentOperations.Builder.addSubmitOperation(Intent intent)
Adds an intent submit operation.
|
void |
IntentStore.createIntent(Intent intent)
Deprecated.
|
BatchWrite |
BatchWrite.createIntent(Intent intent) |
static IntentEvent |
IntentEvent.getEvent(IntentState state,
Intent intent) |
void |
IntentService.replace(IntentId oldIntentId,
Intent newIntent)
Replaces the specified intent with a new one.
|
void |
IntentStore.setState(Intent intent,
IntentState newState)
Sets the state of the specified intent to the new state.
|
BatchWrite |
BatchWrite.setState(Intent intent,
IntentState newState) |
void |
IntentService.submit(Intent intent)
Submits an intent into the system.
|
void |
IntentService.withdraw(Intent intent)
Withdraws an intent from the system.
|
| Modifier and Type | Method and Description |
|---|---|
List<Intent> |
IntentCompiler.compile(T intent,
List<Intent> installable,
Set<LinkResourceAllocations> resources)
Compiles the specified intent into other intents.
|
void |
IntentStore.setInstallableIntents(IntentId intentId,
List<Intent> installableIntents)
Sets the installable intents which resulted from compilation of the
specified original intent.
|
BatchWrite |
BatchWrite.setInstallableIntents(IntentId intentId,
List<Intent> installableIntents) |
| Constructor and Description |
|---|
IntentEvent(IntentEvent.Type type,
Intent intent)
Creates an event of a given type and for the specified intent and the
current time.
|
IntentEvent(IntentEvent.Type type,
Intent intent,
long time)
Creates an event of a given type and for the specified intent and the
current time.
|
Copyright © 2015. All rights reserved.