| 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.resource |
Services for reserving network resources, e.g. bandwidth, lambdas.
|
| Modifier and Type | Method and Description |
|---|---|
IntentId |
Intent.id()
Returns the intent identifier.
|
IntentId |
IntentOperation.intentId()
Returns the identifier of the intent to which this operation applies.
|
static IntentId |
IntentId.valueOf(long value)
Creates an intent identifier from the specified string representation.
|
| Modifier and Type | Method and Description |
|---|---|
IntentOperations.Builder |
IntentOperations.Builder.addReplaceOperation(IntentId oldIntentId,
Intent newIntent)
Adds an intent submit operation.
|
IntentOperations.Builder |
IntentOperations.Builder.addUpdateOperation(IntentId intentId)
Adds an intent update operation.
|
IntentOperations.Builder |
IntentOperations.Builder.addWithdrawOperation(IntentId intentId)
Adds an intent submit operation.
|
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.
|
Intent |
IntentStore.getIntent(IntentId intentId)
Returns the intent with the specified identifier.
|
Intent |
IntentService.getIntent(IntentId id)
Retrieves the intent specified by its identifier.
|
IntentState |
IntentStore.getIntentState(IntentId intentId)
Returns the state of the specified intent.
|
IntentState |
IntentService.getIntentState(IntentId id)
Retrieves the state of an intent by its identifier.
|
void |
IntentStore.removeInstalledIntents(IntentId intentId)
Removes any installable intents which resulted from compilation of the
specified original intent.
|
BatchWrite |
BatchWrite.removeInstalledIntents(IntentId intentId) |
void |
IntentStore.removeIntent(IntentId intentId)
Deprecated.
|
BatchWrite |
BatchWrite.removeIntent(IntentId intentId) |
void |
IntentService.replace(IntentId oldIntentId,
Intent newIntent)
Replaces the specified intent with a new one.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
IntentId |
LinkResourceRequest.intendId()
Returns the
IntentId associated with the request. |
IntentId |
DefaultLinkResourceRequest.intendId() |
IntentId |
DefaultLinkResourceAllocations.intendId() |
| Modifier and Type | Method and Description |
|---|---|
static LinkResourceRequest.Builder |
DefaultLinkResourceRequest.builder(IntentId intentId,
Collection<Link> links)
Returns builder of link resource request.
|
LinkResourceAllocations |
LinkResourceStore.getAllocations(IntentId intentId)
Returns resources allocated for an Intent.
|
LinkResourceAllocations |
LinkResourceService.getAllocations(IntentId intentId)
Returns the resources allocated for an Intent.
|
Copyright © 2015. All rights reserved.