| Package | Description |
|---|---|
| org.onosproject.net.topology |
Network topology model & related services API definitions.
|
| Modifier and Type | Method and Description |
|---|---|
Topology |
TopologyStore.currentTopology()
Returns the current topology snapshot.
|
Topology |
TopologyService.currentTopology()
Returns the current topology descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
TopologyCluster |
TopologyStore.getCluster(Topology topology,
ClusterId clusterId)
Returns the cluster of the specified topology.
|
TopologyCluster |
TopologyService.getCluster(Topology topology,
ClusterId clusterId)
Returns the cluster with the specified ID.
|
Set<DeviceId> |
TopologyStore.getClusterDevices(Topology topology,
TopologyCluster cluster)
Returns the cluster of the specified topology.
|
Set<DeviceId> |
TopologyService.getClusterDevices(Topology topology,
TopologyCluster cluster)
Returns the set of devices that belong to the specified cluster.
|
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.
|
Set<TopologyCluster> |
TopologyStore.getClusters(Topology topology)
Returns the set of topology SCC clusters.
|
Set<TopologyCluster> |
TopologyService.getClusters(Topology topology)
Returns the set of clusters in the specified topology.
|
TopologyGraph |
TopologyStore.getGraph(Topology topology)
Returns the immutable graph view of the current topology.
|
TopologyGraph |
TopologyService.getGraph(Topology topology)
Returns the graph view of the specified topology.
|
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.
|
boolean |
TopologyStore.isBroadcastPoint(Topology topology,
ConnectPoint connectPoint)
Indicates whether broadcast is allowed for traffic received on the
given connection point.
|
boolean |
TopologyService.isBroadcastPoint(Topology topology,
ConnectPoint connectPoint)
Indicates whether broadcast is allowed for traffic received on the
specified connection point.
|
boolean |
TopologyStore.isInfrastructure(Topology topology,
ConnectPoint connectPoint)
Indicates whether the given connect point is part of the network fabric.
|
boolean |
TopologyService.isInfrastructure(Topology topology,
ConnectPoint connectPoint)
Indicates whether the specified connection point is part of the network
infrastructure or part of network edge.
|
boolean |
TopologyStore.isLatest(Topology topology)
Indicates whether the topology is the latest.
|
boolean |
TopologyService.isLatest(Topology topology)
Indicates whether the specified topology is the latest or not.
|
| Constructor and Description |
|---|
TopologyEvent(TopologyEvent.Type type,
Topology topology,
List<Event> reasons)
Creates an event of a given type and for the specified topology and the
current time.
|
TopologyEvent(TopologyEvent.Type type,
Topology topology,
List<Event> reasons,
long time)
Creates an event of a given type and for the specified topology and time.
|
Copyright © 2015. All rights reserved.