| 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.
|
| org.onosproject.net.intent.constraint |
Definitions of constraints used to refine intent specifications.
|
| org.onosproject.net.resource.device |
Services for reserving devices as network resources.
|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectivityIntent
Abstraction of connectivity intent for traffic matching some criteria.
|
class |
FlowRuleIntent
An intent that enables to tell flow level operation.
|
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 |
MplsIntent
Abstraction of MPLS label-switched connectivity.
|
class |
MplsPathIntent
Abstraction of explicit MPLS label-switched path.
|
class |
MultiPointToSinglePointIntent
Abstraction of multiple source to single destination connectivity intent.
|
class |
OpticalCircuitIntent
An optical layer intent for circuits between two OduClt ports.
|
class |
OpticalConnectivityIntent
An optical layer intent for connectivity between two OCh ports.
|
class |
OpticalPathIntent
An optical layer intent with explicitly selected path.
|
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.
|
class |
TwoWayP2PIntent
Abstraction of bidirectional connectivity between two points in the network.
|
| 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.unregisterCompiler(Class<T> cls)
Unregisters the compiler for the specified intent class.
|
| Modifier and Type | Method and Description |
|---|---|
Intent |
IntentStore.getIntent(Key key)
Returns the intent with the specified identifier.
|
Intent |
IntentService.getIntent(Key key)
Fetches an intent based on its key.
|
Intent |
IntentOperation.intent()
Returns the intent to which this operation applied.
|
Intent |
IntentData.intent()
Returns the intent this metadata references.
|
| 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(Key intentKey)
Returns the list of the installable events associated with the specified
original intent.
|
List<Intent> |
IntentService.getInstallableIntents(Key intentKey)
Returns the list of the installable events associated with the specified
top-level intent.
|
Iterable<Intent> |
IntentStore.getIntents()
Returns an iterable of all intents in the store.
|
Iterable<Intent> |
IntentService.getIntents()
Returns an iterable of intents currently in the system.
|
Iterable<Intent> |
IntentStore.getPending()
Returns the intent requests pending processing.
|
Iterable<Intent> |
IntentService.getPending()
Returns the list of intent requests pending processing.
|
List<Intent> |
IntentData.installables()
Returns the installables associated with this intent.
|
| Modifier and Type | Method and Description |
|---|---|
static IntentEvent |
IntentEvent.getEvent(IntentState state,
Intent intent)
Creates an IntentEvent based on the given state and intent.
|
void |
IntentService.purge(Intent intent)
Purges a specific intent from the system if it is FAILED or
WITHDRAWN.
|
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 |
IntentData.setInstallables(List<Intent> installables)
Sets the intent installables to the given list of intents.
|
| Constructor and Description |
|---|
IntentData(Intent intent,
IntentState state,
Timestamp version)
Creates a new intent data object.
|
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.
|
IntentOperation(IntentOperation.Type type,
Intent intent)
Creates an intent operation.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
PartialFailureConstraint.intentAllowsPartialFailure(Intent intent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DeviceResourceService.requestPorts(Set<Port> ports,
Intent intent)
Request a set of ports needed to satisfy the intent.
|
Copyright © 2015. All rights reserved.