[spp] [PATCH 0/2] Add topo http command

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Tue Jun 12 09:03:41 CEST 2018


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

'topo http' command is used to display in a browser. It is useful if you
login and run SPP controller via ssh because you cannot display an image
on the terminal from remote node.

To use this feature, you should install 'tornado' websocket server and
'websocket-client' with pip.

This series of patches is for adding websocket server and client side
scripts. It also includes updates of documentation for how to setup and
usages.


Yasufumi Ogawa (2):
  controller: add websocket server for topo cmd
  docs: update topo command manual

 docs/guides/commands/experimental.rst         | 33 ++++++-
 src/controller/websocket/spp_ws.py            | 98 +++++++++++++++++++
 src/controller/websocket/static/main.css      | 67 +++++++++++++
 src/controller/websocket/static/spp_ws.js     | 70 +++++++++++++
 src/controller/websocket/templates/index.html | 40 ++++++++
 5 files changed, 304 insertions(+), 4 deletions(-)
 create mode 100755 src/controller/websocket/spp_ws.py
 create mode 100644 src/controller/websocket/static/main.css
 create mode 100644 src/controller/websocket/static/spp_ws.js
 create mode 100644 src/controller/websocket/templates/index.html

-- 
2.17.1



More information about the spp mailing list