| 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.
|
| org.onosproject.net.intent.constraint |
Definitions of constraints used to refine intent specifications.
|
| org.onosproject.net.statistic |
Service for looking up statistics on links.
|
| org.onosproject.net.topology |
Network topology model & related services API definitions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPath
Default implementation of a network path.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
PathIntent.path()
Returns the links which the traffic goes along.
|
Path |
OpticalPathIntent.path() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Constraint.validate(Path path,
LinkResourceService resourceService)
Validates that the specified path satisfies the constraint.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WaypointConstraint.validate(Path path,
LinkResourceService resourceService) |
boolean |
LatencyConstraint.validate(Path path,
LinkResourceService resourceService) |
boolean |
BooleanConstraint.validate(Path path,
LinkResourceService resourceService) |
boolean |
AsymmetricPathConstraint.validate(Path path,
LinkResourceService resourceService) |
| Modifier and Type | Method and Description |
|---|---|
Link |
StatisticService.max(Path path)
Find the most loaded link along a path.
|
Link |
StatisticService.min(Path path)
Find the least loaded link along a path.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Path> |
PathService.getPaths(ElementId src,
ElementId dst)
Returns the set of all shortest paths, precomputed in terms of hop-count,
between the specified source and destination elements.
|
Set<Path> |
PathService.getPaths(ElementId src,
ElementId dst,
LinkWeight weight)
Returns the set of all shortest paths, computed using the supplied
edge-weight entity, between the specified source and destination
network elements.
|
Set<Path> |
TopologyStore.getPaths(Topology topology,
DeviceId src,
DeviceId dst)
Returns the set of pre-computed shortest paths between src and dest.
|
Set<Path> |
TopologyService.getPaths(Topology topology,
DeviceId src,
DeviceId dst)
Returns the set of all shortest paths, precomputed in terms of hop-count,
between the specified source and destination devices.
|
Set<Path> |
TopologyStore.getPaths(Topology topology,
DeviceId src,
DeviceId dst,
LinkWeight weight)
Computes and returns the set of shortest paths between src and dest.
|
Set<Path> |
TopologyService.getPaths(Topology topology,
DeviceId src,
DeviceId dst,
LinkWeight weight)
Returns the set of all shortest paths, computed using the supplied
edge-weight entity, between the specified source and destination devices.
|
Copyright © 2015. All rights reserved.