| 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.link |
Infrastructure link model & related services API definitions.
|
| org.onosproject.net.resource |
Services for reserving network resources, e.g. bandwidth, lambdas.
|
| 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 | Interface and Description |
|---|---|
interface |
EdgeLink
Abstraction of a link between an end-station host and the network
infrastructure.
|
interface |
Path
Representation of a contiguous directed path in a network.
|
interface |
Tunnel
Abstraction of a generalized network tunnel.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
List<Link> |
Path.links()
Returns sequence of links comprising the path.
|
List<Link> |
DefaultPath.links() |
| Modifier and Type | Method and Description |
|---|---|
static LinkKey |
LinkKey.linkKey(Link link)
Creates a link identifier for the specified link.
|
| Constructor and Description |
|---|
DefaultPath(ProviderId providerId,
List<Link> links,
double cost,
Annotations... annotations)
Creates a path from the specified source and destination using the
supplied list of links.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Link> |
LinkCollectionIntent.links()
Returns the set of links that represent the network connections needed
by this intent.
|
Collection<Link> |
OpticalPathIntent.requiredLinks() |
| Modifier and Type | Method and Description |
|---|---|
double |
Constraint.cost(Link link,
LinkResourceService resourceService)
Evaluates the specified link and provides the cost for its traversal.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<NetworkResource> |
ConnectivityIntent.resources(Collection<Link> links)
Produces a collection of network resources from the given links.
|
static void |
PathIntent.validate(List<Link> links)
Validates that source element ID and destination element ID of a link are
different for the specified all links and that destination element ID of a link and source
element ID of the next adjacent source element ID are same for the specified all links.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
double |
WaypointConstraint.cost(Link link,
LinkResourceService resourceService) |
double |
LatencyConstraint.cost(Link link,
LinkResourceService resourceService) |
double |
BooleanConstraint.cost(Link link,
LinkResourceService resourceService)
Evaluates the specified link and provides the cost for its traversal.
|
double |
AsymmetricPathConstraint.cost(Link link,
LinkResourceService resourceService) |
double |
AnnotationConstraint.cost(Link link,
LinkResourceService resourceService) |
boolean |
ObstacleConstraint.isValid(Link link,
LinkResourceService resourceService) |
boolean |
LinkTypeConstraint.isValid(Link link,
LinkResourceService resourceService) |
boolean |
LambdaConstraint.isValid(Link link,
LinkResourceService resourceService) |
abstract boolean |
BooleanConstraint.isValid(Link link,
LinkResourceService resourceService)
Returns true if the specified link satisfies the constraint.
|
boolean |
BandwidthConstraint.isValid(Link link,
LinkResourceService resourceService) |
boolean |
AnnotationConstraint.isValid(Link link,
LinkResourceService resourceService) |
| Modifier and Type | Method and Description |
|---|---|
Link |
LinkStore.getLink(ConnectPoint src,
ConnectPoint dst)
Returns the link between the two end-points.
|
Link |
LinkService.getLink(ConnectPoint src,
ConnectPoint dst)
Returns the infrastructure links between the specified source
and destination connection points.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Link> |
LinkService.getActiveLinks()
Returns a collection of all active infrastructure links.
|
Set<Link> |
LinkStore.getDeviceEgressLinks(DeviceId deviceId)
Returns all links egressing from the specified device.
|
Set<Link> |
LinkService.getDeviceEgressLinks(DeviceId deviceId)
Returns set of all infrastructure links leading from the specified device.
|
Set<Link> |
LinkStore.getDeviceIngressLinks(DeviceId deviceId)
Returns all links ingressing from the specified device.
|
Set<Link> |
LinkService.getDeviceIngressLinks(DeviceId deviceId)
Returns set of all infrastructure links leading to the specified device.
|
Set<Link> |
LinkService.getDeviceLinks(DeviceId deviceId)
Returns set of all infrastructure links leading to and from the
specified device.
|
Set<Link> |
LinkStore.getEgressLinks(ConnectPoint src)
Returns all links egressing from the specified connection point.
|
Set<Link> |
LinkService.getEgressLinks(ConnectPoint connectPoint)
Returns set of all infrastructure links leading from the specified
connection point.
|
Set<Link> |
LinkStore.getIngressLinks(ConnectPoint dst)
Returns all links ingressing to the specified connection point.
|
Set<Link> |
LinkService.getIngressLinks(ConnectPoint connectPoint)
Returns set of all infrastructure links leading to the specified
connection point.
|
Iterable<Link> |
LinkStore.getLinks()
Returns an iterable collection of all links in the inventory.
|
Iterable<Link> |
LinkService.getLinks()
Returns a collection of all known infrastructure links.
|
Set<Link> |
LinkService.getLinks(ConnectPoint connectPoint)
Returns set of all infrastructure links leading to and from the
specified connection point.
|
| Constructor and Description |
|---|
LinkEvent(LinkEvent.Type type,
Link link)
Creates an event of a given type and for the specified link and the
current time.
|
LinkEvent(LinkEvent.Type type,
Link link,
long time)
Creates an event of a given type and for the specified link and time.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Link> |
LinkResourceRequest.links()
Returns the set of target links.
|
Collection<Link> |
DefaultLinkResourceRequest.links() |
Collection<Link> |
DefaultLinkResourceAllocations.links() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<LinkResourceAllocations> |
LinkResourceStore.getAllocations(Link link)
Returns resources allocated for a link.
|
Iterable<LinkResourceAllocations> |
LinkResourceService.getAllocations(Link link)
Returns all allocated resources to given link.
|
Iterable<ResourceRequest> |
LinkResourceService.getAvailableResources(Link link)
Returns available resources for given link.
|
Iterable<ResourceRequest> |
LinkResourceService.getAvailableResources(Link link,
LinkResourceAllocations allocations)
Returns available resources for given link.
|
Set<ResourceAllocation> |
LinkResourceStore.getFreeResources(Link link)
Returns free resources for given link.
|
Set<ResourceAllocation> |
LinkResourceAllocations.getResourceAllocation(Link link)
Returns allocated resource for the given link.
|
Set<ResourceAllocation> |
DefaultLinkResourceAllocations.getResourceAllocation(Link link) |
| Modifier and Type | Method and Description |
|---|---|
static LinkResourceRequest.Builder |
DefaultLinkResourceRequest.builder(IntentId intentId,
Collection<Link> links)
Returns builder of link resource request.
|
| Constructor and Description |
|---|
DefaultLinkResourceAllocations(LinkResourceRequest request,
Map<Link,Set<ResourceAllocation>> allocations)
Creates a new link resource allocations.
|
| 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 |
|---|---|
Load |
StatisticService.load(Link link)
Obtain the load for a the ingress to the given link.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Link |
TopologyEdge.link()
Returns the associated infrastructure link.
|
Link |
DefaultTopologyEdge.link() |
| Modifier and Type | Method and Description |
|---|---|
Set<Link> |
TopologyStore.getClusterLinks(Topology topology,
TopologyCluster cluster)
Returns the cluster of the specified topology.
|
Set<Link> |
TopologyService.getClusterLinks(Topology topology,
TopologyCluster cluster)
Returns the set of links that form the specified cluster.
|
| Constructor and Description |
|---|
DefaultTopologyEdge(TopologyVertex src,
TopologyVertex dst,
Link link)
Creates a new topology edge.
|
| Constructor and Description |
|---|
DefaultGraphDescription(long nanos,
Iterable<Device> devices,
Iterable<Link> links,
SparseAnnotations... annotations)
Creates a minimal topology graph description to allow core to construct
and process the topology graph.
|
Copyright © 2015. All rights reserved.