| 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 | Field and Description |
|---|---|
protected Key |
Intent.Builder.key |
| Modifier and Type | Method and Description |
|---|---|
Key |
IntentOperation.key()
Returns the key for this intent.
|
Key |
IntentData.key()
Returns the intent key.
|
Key |
Intent.key() |
static Key |
Key.of(long key,
ApplicationId appId)
Creates a key based on the provided long.
|
static Key |
Key.of(String key,
ApplicationId appId)
Creates a key based on the provided string.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Intent |
IntentStore.getIntent(Key key)
Returns the intent with the specified identifier.
|
Intent |
IntentService.getIntent(Key key)
Fetches an intent based on its key.
|
IntentData |
IntentStore.getIntentData(Key key)
Returns the intent data object associated with the specified key.
|
IntentState |
IntentStore.getIntentState(Key intentKey)
Returns the state of the specified intent.
|
IntentState |
IntentService.getIntentState(Key intentKey)
Retrieves the state of an intent by its identifier.
|
NodeId |
PartitionService.getLeader(Key intentKey)
Returns the leader for a particular key.
|
boolean |
IntentService.isLocal(Key intentKey)
Signifies whether the local node is responsible for processing the given
intent key.
|
boolean |
IntentStore.isMaster(Key intentKey)
Checks to see whether the calling instance is the master for processing
this intent, or more specifically, the key contained in this intent.
|
boolean |
PartitionService.isMine(Key intentKey)
Returns whether the given intent key is in a partition owned by this
instance or not.
|
TwoWayP2PIntent.Builder |
TwoWayP2PIntent.Builder.key(Key key) |
SinglePointToMultiPointIntent.Builder |
SinglePointToMultiPointIntent.Builder.key(Key key) |
PointToPointIntent.Builder |
PointToPointIntent.Builder.key(Key key) |
PathIntent.Builder |
PathIntent.Builder.key(Key key) |
OpticalPathIntent.Builder |
OpticalPathIntent.Builder.key(Key key) |
OpticalConnectivityIntent.Builder |
OpticalConnectivityIntent.Builder.key(Key key) |
OpticalCircuitIntent.Builder |
OpticalCircuitIntent.Builder.key(Key key) |
MultiPointToSinglePointIntent.Builder |
MultiPointToSinglePointIntent.Builder.key(Key key) |
MplsPathIntent.Builder |
MplsPathIntent.Builder.key(Key key) |
MplsIntent.Builder |
MplsIntent.Builder.key(Key key) |
LinkCollectionIntent.Builder |
LinkCollectionIntent.Builder.key(Key key) |
Intent.Builder |
Intent.Builder.key(Key key)
Sets the key for the intent that will be built.
|
HostToHostIntent.Builder |
HostToHostIntent.Builder.key(Key key) |
ConnectivityIntent.Builder |
ConnectivityIntent.Builder.key(Key key) |
| Constructor and Description |
|---|
ConnectivityIntent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints,
int priority)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
FlowRuleIntent(ApplicationId appId,
Key key,
Collection<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates an flow rule intent with the specified key, flow rules to be set, and
required network resources.
|
Intent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
int priority)
Creates a new intent.
|
OpticalCircuitIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
OduCltPort.SignalType signalType,
boolean isBidirectional,
int priority)
Creates an optical circuit intent between the specified
connection points.
|
OpticalConnectivityIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
OduSignalType signalType,
boolean isBidirectional,
int priority)
Creates an optical connectivity intent between the specified
connection points.
|
Copyright © 2015. All rights reserved.