blob: d9ec746b277cfe5d73163de73b17502e53bf03a5 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.onos.net.topology;
2
3import org.onlab.onos.net.Description;
4
5import java.util.Collection;
6
7/**
8 * Describes attribute(s) of a network topology.
9 */
10public interface TopologyDescription extends Description {
11
12 /**
13 * A collection of Device, Link, and Host descriptors that describe
14 * the changes tha have occurred in the network topology.
15 *
16 * @return network element descriptions describing topology change
17 */
18 Collection<Description> details();
19
tomedf06bb2014-08-27 16:22:15 -070020 // Default topology provider/computor should do the following:
21 // create graph
22 // search graph for SCC clusters (Tarjan)
23 // search graph for all pairs shortest paths based on hop-count
24 // this means all shortest paths, between all pairs; not just one shortest path
25 // optionally use path results to produce destination-rooted broadcast trees
26
27 // provide description with the graph, clusters, paths and trees upwards
28
tom0eb04ca2014-08-25 14:34:51 -070029}
tomedf06bb2014-08-27 16:22:15 -070030