Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 00/13] Change structure of SPP controller
@ 2018-03-06 10:50 ogawa.yasufumi
  2018-03-06 10:50 ` [spp] [PATCH 01/13] spp: move controller to sub directory ogawa.yasufumi
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ogawa.yasufumi @ 2018-03-06 10:50 UTC (permalink / raw)
  To: ferruh.yigit, spp; +Cc: Yasufumi Ogawa

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

SPP controller 'spp.py' is monolithic and has got to be large. It is
hard to be maintained because several classes are included in the file
and global variables are shared among its instances.

This seriese of update is to move classes and methods in spp.py to
'controller/' as separated files for maintainability. It also includes
additional commands.

Yasufumi Ogawa (13):
  spp: move controller to sub directory
  controller: move connection threads
  controller: aggregate logger to spp_common.py
  controller: add load command
  controller: move common methods to shell_lib
  controller: add filter for py to compl_common
  controller: refactor shell.py
  controller: change logger output to logfile
  controller: add do_topo to shell.py
  controller: add topo.py
  controller: add topo_subgraph command
  controller: add cat and less command
  controller: create log directory

 .gitignore                           |   5 +-
 src/controller/__init__.py           |   0
 src/controller/command/__init__.py   |   0
 src/controller/command/hello.py      |  28 +
 src/controller/conn_thread.py        | 246 +++++++++
 src/controller/shell.py              | 724 ++++++++++++++++++++++++++
 src/controller/shell_lib/__init__.py |   0
 src/controller/shell_lib/common.py   |  98 ++++
 src/controller/spp.py                | 111 ++++
 src/controller/spp_common.py         |  58 +++
 src/controller/topo.py               | 341 ++++++++++++
 src/spp.py                           | 984 +----------------------------------
 12 files changed, 1614 insertions(+), 981 deletions(-)
 create mode 100644 src/controller/__init__.py
 create mode 100644 src/controller/command/__init__.py
 create mode 100644 src/controller/command/hello.py
 create mode 100644 src/controller/conn_thread.py
 create mode 100644 src/controller/shell.py
 create mode 100644 src/controller/shell_lib/__init__.py
 create mode 100644 src/controller/shell_lib/common.py
 create mode 100644 src/controller/spp.py
 create mode 100644 src/controller/spp_common.py
 create mode 100644 src/controller/topo.py

-- 
2.13.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-03-27 23:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 10:50 [spp] [PATCH 00/13] Change structure of SPP controller ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 01/13] spp: move controller to sub directory ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 02/13] controller: move connection threads ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 03/13] controller: aggregate logger to spp_common.py ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 04/13] controller: add load command ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 05/13] controller: move common methods to shell_lib ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 06/13] controller: add filter for py to compl_common ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 07/13] controller: refactor shell.py ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 08/13] controller: change logger output to logfile ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 09/13] controller: add do_topo to shell.py ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 10/13] controller: add topo.py ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 11/13] controller: add topo_subgraph command ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 12/13] controller: add cat and less command ogawa.yasufumi
2018-03-06 10:50 ` [spp] [PATCH 13/13] controller: create log directory ogawa.yasufumi
2018-03-27 23:41 ` [spp] [PATCH 00/13] Change structure of SPP controller Ferruh Yigit

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).