This patch series provide GUI.
You can monitor topology and flows.
Wiki:
https://github.com/yamada-h/ryu/wiki/GUI
Tree:
git://github.com/yamada-h/ryu.git gui-patch-v3
Changes:
v2 -> v3:
- tuning test code
v1 -> v2:
- some bugfixes
- code cleanup
- add GUI test using Selenium
YAMADA Hideki (6):
add GUI modules
GUI: import perfect-scrollbar.js
pip-requires: flask, gevent-websocket for GUI
add test for GUI
test-requires: selenium for GUI test
run_tests.sh: support GUI auto testing
run_tests.sh | 34 +
ryu/gui/controller.py | 93 +++
ryu/gui/models/proxy.py | 56 ++
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 | 174 ++++++
ryu/tests/gui/lib/elements.py | 326 ++++++++++
ryu/tests/gui/lib/test_gui.py | 578 +++++++++++++++++
ryu/tests/gui/run_servers.sh | 43 ++
ryu/tests/gui/run_tests_with_chrome.py | 35 ++
ryu/tests/gui/run_tests_with_firefox.py | 31 +
ryu/tests/gui/tools/mn_ctl.py | 96 +++
tools/pip-requires | 2 +
tools/test-requires | 1 +
25 files changed, 3551 insertions(+), 0 deletions(-)
create mode 100755 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/gui/lib/__init__.py
create mode 100644 ryu/tests/gui/lib/elements.py
create mode 100644 ryu/tests/gui/lib/test_gui.py
create mode 100755 ryu/tests/gui/run_servers.sh
create mode 100755 ryu/tests/gui/run_tests_with_chrome.py
create mode 100755 ryu/tests/gui/run_tests_with_firefox.py
create mode 100755 ryu/tests/gui/tools/mn_ctl.py
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel