| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service 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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EdgeLink
Abstraction of a link between an end-station host and the network
infrastructure.
|
interface |
Link
Abstraction of a network infrastructure link.
|
interface |
Path
Representation of a contiguous directed path in a network.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultEdgeLink
Default edge link model implementation.
|
class |
DefaultLink
Default infrastructure link model implementation.
|
class |
DefaultPath
Default implementation of a network path.
|
class |
DeviceId
Immutable representation of a device identity.
|
class |
ElementId
Immutable representation of a network element identity.
|
class |
HostId
Immutable representation of a host identity.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<NetworkResource> |
Intent.resources()
Returns the collection of resources required for this intent.
|
protected static Collection<NetworkResource> |
ConnectivityIntent.resources(Collection<Link> links)
Produces a collection of network resources from the given links.
|
| 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.
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates a flow rule intent with the specified flow rules and resources.
|
Intent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
int priority)
Creates a new intent.
|
Copyright © 2015. All rights reserved.