tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.topology; |
| 2 | |
| 3 | import org.onlab.onos.net.Description; |
| 4 | |
| 5 | import java.util.Collection; |
| 6 | |
| 7 | /** |
| 8 | * Describes attribute(s) of a network topology. |
| 9 | */ |
| 10 | public 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 | |
tom | edf06bb | 2014-08-27 16:22:15 -0700 | [diff] [blame] | 20 | // 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 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 29 | } |
tom | edf06bb | 2014-08-27 16:22:15 -0700 | [diff] [blame] | 30 | |