Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 0/2] Add topo http command
Date: Tue, 12 Jun 2018 16:03:41 +0900	[thread overview]
Message-ID: <20180612070343.5350-1-ogawa.yasufumi@lab.ntt.co.jp> (raw)

From: Yasufumi Ogawa <ogawa.yasufumi@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

             reply	other threads:[~2018-06-12  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12  7:03 ogawa.yasufumi [this message]
2018-06-12  7:03 ` [spp] [PATCH 1/2] controller: add websocket server for topo cmd ogawa.yasufumi
2018-06-12  7:03 ` [spp] [PATCH 2/2] docs: update topo command manual ogawa.yasufumi
2018-06-27 10:52 ` [spp] [PATCH 0/2] Add topo http command Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180612070343.5350-1-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).