| Package | Description |
|---|---|
| org.onosproject.core |
ONOS Core API definitions.
|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| 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.statistic |
Service for looking up statistics on links.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultApplicationId
Application identifier.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
CoreService.getAppId(Short id)
Returns an existing application id from a given id.
|
ApplicationId |
ApplicationIdStore.getAppId(Short id)
Returns an existing application id from a given id.
|
ApplicationId |
CoreService.registerApplication(String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
ApplicationId |
ApplicationIdStore.registerApplication(String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ApplicationId> |
CoreService.getAppIds()
Returns the set of currently registered application identifiers.
|
Set<ApplicationId> |
ApplicationIdStore.getAppIds()
Returns the set of currently registered application identifiers.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<FlowRule> |
FlowRuleService.getFlowRulesByGroupId(ApplicationId appId,
short groupId)
Returns a list of rules filterd by application and group id.
|
Iterable<FlowRule> |
FlowRuleService.getFlowRulesById(ApplicationId id)
Returns a list of rules with this application id.
|
void |
FlowRuleService.removeFlowRulesById(ApplicationId appId)
Removes all rules by id.
|
void |
FlowRuleProvider.removeRulesById(ApplicationId id,
FlowRule... flowRules)
Removes rules by their id.
|
| Constructor and Description |
|---|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
GroupId groupId,
int timeout,
boolean permanent) |
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent) |
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
short groupId,
int timeout,
boolean permanent)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
IntentOperations.appId() |
ApplicationId |
Intent.appId()
Returns the identifier of the application that requested the intent.
|
| Modifier and Type | Method and Description |
|---|---|
static IntentOperations.Builder |
IntentOperations.builder(ApplicationId applicationId)
Returns a builder for intent operation batches.
|
boolean |
IntentBatchService.isLocalLeader(ApplicationId applicationId)
Return true if this instance is the local leader for batch
processing a given application id.
|
| Constructor and Description |
|---|
ConnectivityIntent(ApplicationId appId,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
ConnectivityIntent(ApplicationId appId,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two)
Creates a new host-to-host intent with the supplied host pair and no
other traffic selection or treatment criteria.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment)
Creates a new host-to-host intent with the supplied host pair.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints)
Creates a new host-to-host intent with the supplied host pair.
|
Intent(ApplicationId appId,
Collection<NetworkResource> resources)
Creates a new intent.
|
IntentBatchLeaderEvent(IntentBatchLeaderEvent.Type type,
ApplicationId appId)
Creates an event of a given type and for the specified appId and the
current time.
|
IntentBatchLeaderEvent(IntentBatchLeaderEvent.Type type,
ApplicationId appId,
long time)
Creates an event of a given type and for the specified appId and the
current time.
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
ConnectPoint egressPoint)
Creates a new actionable intent capable of funneling the selected traffic
along the specified convergent tree and out the given egress point.
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
ConnectPoint egressPoint,
List<Constraint> constraints)
Creates a new actionable intent capable of funneling the selected
traffic along the specified convergent tree and out the given egress point
satisfying the specified constraints.
|
LinkCollectionIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<Link> links,
Set<ConnectPoint> egressPoints,
List<Constraint> constraints)
Creates a new actionable intent capable of funneling the selected traffic
along the specified convergent tree and out the given egress point.
|
MultiPointToSinglePointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<ConnectPoint> ingressPoints,
ConnectPoint egressPoint)
Creates a new multi-to-single point connectivity intent for the specified
traffic selector and treatment.
|
MultiPointToSinglePointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Set<ConnectPoint> ingressPoints,
ConnectPoint egressPoint,
List<Constraint> constraints)
Creates a new multi-to-single point connectivity intent for the specified
traffic selector and treatment.
|
OpticalConnectivityIntent(ApplicationId appId,
ConnectPoint src,
ConnectPoint dst)
Creates an optical connectivity intent between the specified
connection points.
|
OpticalPathIntent(ApplicationId appId,
ConnectPoint src,
ConnectPoint dst,
Path path) |
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path,
List<Constraint> constraints)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
PointToPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
ConnectPoint egressPoint)
Creates a new point-to-point intent with the supplied ingress/egress
ports and with built-in link type constraint to avoid optical links.
|
PointToPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
ConnectPoint egressPoint,
List<Constraint> constraints)
Creates a new point-to-point intent with the supplied ingress/egress
ports and constraints.
|
SinglePointToMultiPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
Set<ConnectPoint> egressPoints)
Creates a new single-to-multi point connectivity intent.
|
SinglePointToMultiPointIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
ConnectPoint ingressPoint,
Set<ConnectPoint> egressPoints,
List<Constraint> constraints)
Creates a new single-to-multi point connectivity intent.
|
| Modifier and Type | Method and Description |
|---|---|
Load |
StatisticService.load(Link link,
ApplicationId appId,
Optional<GroupId> groupId)
Obtain the load for a the ingress to the given link used by
the specified application ID and group ID.
|
Copyright © 2015. All rights reserved.