Hi, the topology component holds some structures that describe the topology. I guess a way to dump a description of the topology would be to get a hangle to that component (from any component, presumably your own) and read and print out the information you're interested.
If there is no specific reason why you want the topology dumped on the console as text, you could use NOX's GUI [1], found on the destiny branch [2], to get a visualization of the topology. [1] http://noxrepo.org/noxwiki/index.php/NOX_GUI [2] http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation On Thu, Dec 16, 2010 at 3:02 PM, 谢峰 <xiefen...@gmail.com> wrote: > Hello, all, > > I want to dump the topology so that I can see the topology in the console. > how should I do? Should I add some codes into the routing.cc or nox_main.cc > file, but I don't know exactly what the detailed nodes information stored > in. Can anybody help me. > > thanks. > > regards > > fengxie > > -- > Feng Xie > Ph.D. Candidate > Network Security Lab, Research Institute of Information Technology > Tsinghua National Laboratory for Information Science and Technology > Dept. of Automation, Tsinghua Univ., Beijing, China, 100084. > Tel.: +86-010-6277-2656 > Email: xiefen...@gmail.com > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > >
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org