5b1f5aea29
Signed-off-by: YAMADA Hideki <yamada.hideki@po.ntts.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
34 lines
814 B
ReStructuredText
34 lines
814 B
ReStructuredText
***************
|
|
Topology Viewer
|
|
***************
|
|
|
|
ryu.app.gui_topology.gui_topology provides topology visualization.
|
|
|
|
This depends on following ryu applications.
|
|
|
|
===================== =================================================
|
|
ryu.app.rest_topology Get node and link data.
|
|
ryu.app.ws_topology Being notified change of link up/down.
|
|
ryu.app.ofctl_rest Get flows of datapaths.
|
|
===================== =================================================
|
|
|
|
Usage
|
|
=====
|
|
|
|
Run mininet (or join your real environment)::
|
|
|
|
$ sudo mn --controller remote --topo tree,depth=3
|
|
|
|
Run GUI application::
|
|
|
|
$ PYTHONPATH=. ./bin/ryu run --observe-links ryu/app/gui_topology/gui_topology.py
|
|
|
|
Access http://<ip address of ryu host>:8080 with your web browser.
|
|
|
|
Screenshot
|
|
==========
|
|
|
|
.. image:: gui.png
|
|
:width: 640 px
|
|
|