From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0221.ocn.ad.jp (mogw0221.ocn.ad.jp [114.147.58.27]) by dpdk.org (Postfix) with ESMTP id 25D0C1E96E for ; Tue, 12 Jun 2018 09:03:49 +0200 (CEST) Received: from mf-smf-ucb029c2 (mf-smf-ucb029c2.ocn.ad.jp [153.153.66.195]) by mogw0221.ocn.ad.jp (Postfix) with ESMTP id 5BD1A3E83AF; Tue, 12 Jun 2018 16:03:47 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb029 ([153.149.230.163]) by mf-smf-ucb029c2 with ESMTP id SdLGf4MqANw9HSdLHfDRtj; Tue, 12 Jun 2018 16:03:47 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.133]) by ntt.pod01.mv-mta-ucb029 with id xj3n1x00B2tKTyH01j3nWa; Tue, 12 Jun 2018 07:03:47 +0000 Received: from localhost.localdomain (p5164-ipngn8501marunouchi.tokyo.ocn.ne.jp [153.214.228.164]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 12 Jun 2018 16:03:47 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org Cc: Yasufumi Ogawa Date: Tue, 12 Jun 2018 16:03:41 +0900 Message-Id: <20180612070343.5350-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH 0/2] Add topo http command X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 07:03:49 -0000 From: Yasufumi Ogawa '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