File: gui.rst

package info (click to toggle)
ryu 4.26%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,228 kB
  • sloc: python: 111,052; erlang: 14,517; ansic: 594; sh: 516; makefile: 150
file content (33 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
***************
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