This was the intended purpose of the topology module, but the current version (which hasn't been touched for a very long time) is pretty bad. Kyriakos did some work on replacing it a while ago which is in his fork: https://github.com/zarifis/pox
At this point, I think my ideas on how it should work have diverged and would probably require a new implementation. On the other hand, it's not a particularly useful feature for how we think about SDN networks here anymore, so there hasn't been much incentive to actually do it. The basic strategy you usually see employed for this is using some sort of discovery message to find the topology, and possibly snooping on traffic to try to infer hosts -- in most cases, port status alone does not provide enough information to be useful. In POX, this often means a combination of the openflow.discovery and host_tracker components. The Gephi visualization component combines these two in order to actually draw the network as a graph, but you could just keep the data and query it too. See: http://www.noxrepo.org/2013/06/pox-and-gephi-graph-streaming-visualization/ -- Murphy On Sep 11, 2013, at 8:19 PM, Amer <[email protected]> wrote: > Hello, > > I would like to ask you is there a component in pox can collect the complete > network view like the link-state database in OSPF. > How is it work, if so?; by listening to port status only or there are > something else!!? > > Best regards, > Amer
