This patch series provide GUI.
You can monitor topology and flows.

Usage:

1. Run ryu with topology and ofctl REST
$ PYTHONPATH=. ./bin/ryu-manager  --verbose --observe-links \
               ./ryu/topology/switches.py \
               ./ryu/app/rest_topology.py \
               ./ryu/app/ofctl_rest.py

2. Run GUI web server
$ PYTHONPATH=. python ./ryu/gui/controller.py

3. Access to http://127.0.0.1:8000

YAMADA Hideki (4):
  GUI support
  GUI: import perfect-scrollbar.js
  pip-requires: flask, gevent-websocket for GUI
  tests/topology: auto topology create/delete script

 ryu/gui/controller.py                          |   92 +++
 ryu/gui/models/proxy.py                        |   48 ++
 ryu/gui/models/topology.py                     |  277 +++++++++
 ryu/gui/static/css/ryu.css                     |  367 +++++++++++
 ryu/gui/static/img/ryu_logo.gif                |  Bin 0 -> 2034 bytes
 ryu/gui/static/img/switch.png                  |  Bin 0 -> 46690 bytes
 ryu/gui/static/img/ui-bg_org_0070c0.png        |  Bin 0 -> 464 bytes
 ryu/gui/static/js/contrib/jquery.mousewheel.js |   84 +++
 ryu/gui/static/js/contrib/perfect-scrollbar.js |  313 ++++++++++
 ryu/gui/static/js/ryu.js                       |  783 ++++++++++++++++++++++++
 ryu/gui/templates/base.html                    |   26 +
 ryu/gui/templates/topology.html                |   81 +++
 ryu/gui/views/flow.py                          |   88 +++
 ryu/gui/views/topology.py                      |   26 +
 ryu/gui/views/view_base.py                     |   37 ++
 ryu/gui/views/websocket.py                     |  173 ++++++
 ryu/tests/topology/auto_topo.py                |  204 ++++++
 ryu/tests/topology/mn_ctl.py                   |   45 ++
 tools/pip-requires                             |    2 +
 19 files changed, 2646 insertions(+), 0 deletions(-)
 create mode 100644 ryu/gui/controller.py
 create mode 100644 ryu/gui/models/__init__.py
 create mode 100644 ryu/gui/models/proxy.py
 create mode 100644 ryu/gui/models/topology.py
 create mode 100644 ryu/gui/static/css/ryu.css
 create mode 100644 ryu/gui/static/img/ryu_logo.gif
 create mode 100644 ryu/gui/static/img/switch.png
 create mode 100644 ryu/gui/static/img/ui-bg_org_0070c0.png
 create mode 100644 ryu/gui/static/js/contrib/jquery.mousewheel.js
 create mode 100644 ryu/gui/static/js/contrib/perfect-scrollbar.js
 create mode 100644 ryu/gui/static/js/ryu.js
 create mode 100644 ryu/gui/templates/base.html
 create mode 100644 ryu/gui/templates/topology.html
 create mode 100644 ryu/gui/views/__init__.py
 create mode 100644 ryu/gui/views/flow.py
 create mode 100644 ryu/gui/views/topology.py
 create mode 100644 ryu/gui/views/view_base.py
 create mode 100644 ryu/gui/views/websocket.py
 create mode 100644 ryu/tests/topology/auto_topo.py
 create mode 100644 ryu/tests/topology/mn_ctl.py



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to