| 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.device |
Services for reserving devices as network resources.
|
| org.onosproject.net.resource.link |
Services for reserving links and their capacity as 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 |
|---|---|
Timestamp |
IntentClockService.getTimestamp(IntentId intentId)
Returns a new timestamp for the specified intent.
|
| Modifier and Type | Method and Description |
|---|---|
IntentId |
DeviceResourceStore.getAllocations(Port port)
Returns intent allocated to a port.
|
IntentId |
DeviceResourceService.getAllocations(Port port)
Returns the intent allocated to a port.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IntentId> |
DeviceResourceStore.getMapping(IntentId intentId)
Returns the set of intents mapped to a lower intent.
|
Set<IntentId> |
DeviceResourceService.getMapping(IntentId intentId)
Returns the intents mapped to a lower intent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DeviceResourceStore.allocateMapping(IntentId keyIntentId,
IntentId valIntentId)
Allocates the mapping between the given intents.
|
boolean |
DeviceResourceStore.allocatePorts(Set<Port> ports,
IntentId intentId)
Allocates the given ports to the given intent.
|
Set<Port> |
DeviceResourceStore.getAllocations(IntentId intentId)
Returns set of ports allocated for an intent.
|
Set<Port> |
DeviceResourceService.getAllocations(IntentId intentId)
Returns the set of ports allocated for an intent.
|
Set<IntentId> |
DeviceResourceStore.getMapping(IntentId intentId)
Returns the set of intents mapped to a lower intent.
|
Set<IntentId> |
DeviceResourceService.getMapping(IntentId intentId)
Returns the intents mapped to a lower intent.
|
void |
DeviceResourceStore.releaseMapping(IntentId intentId)
Releases the mapping of the given intent.
|
void |
DeviceResourceService.releaseMapping(IntentId intentId)
Release mapping of given intent.
|
boolean |
DeviceResourceStore.releasePorts(IntentId intentId)
Releases the ports allocated to the given intent.
|
void |
DeviceResourceService.releasePorts(IntentId intentId)
Release ports associated with given intent ID.
|
boolean |
DeviceResourceService.requestMapping(IntentId keyIntentId,
IntentId valIntentId)
Request a mapping between the given intents.
|
| Modifier and Type | Method and Description |
|---|---|
IntentId |
LinkResourceRequest.intentId()
Returns the
IntentId associated with the request. |
IntentId |
DefaultLinkResourceRequest.intentId() |
IntentId |
DefaultLinkResourceAllocations.intentId() |
| 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.