From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by dpdk.org (Postfix) with ESMTP id 99E5E5B2E for ; Thu, 18 Oct 2018 13:27:45 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w9IBRiMj020320; Thu, 18 Oct 2018 20:27:44 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 5A28B639489; Thu, 18 Oct 2018 20:27:44 +0900 (JST) Received: from localhost.localdomain (unknown [129.60.13.51]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 4B9A8639462; Thu, 18 Oct 2018 20:27:44 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Thu, 18 Oct 2018 20:27:32 +0900 Message-Id: <20181018112737.77626-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 X-TM-AS-MML: disable Subject: [spp] [PATCH 0/5] Refactor SPP controller 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: Thu, 18 Oct 2018 11:27:46 -0000 From: Yasufumi Ogawa This series of patches is for misc updates of SPP controller. * Change the name of directory of dynamically loaded commands. It is named as 'command', but ambiguous with 'commands' directory of delegator classes. So its name is changed to 'plugins'. * Terminate SPP controller while launching if spp-ctl is not running because spp-ctl must be required for requesting and it is no meaning to run just SPP controller. * Move '.spp_history' to home directory to be referred from any of directory. * Move to the definition of port types to 'spp_common.py'. * Remove SECONDARY_LIST in 'spp_common.py' because it is not used anymore. Yasufumi Ogawa (5): controller: change name of plugins directory controller: exit controller if spp-ctl not running controller: move spp_history to home directory controller: move PORT_TYPES to spp_common controller: remove SECONDARY_LIST src/controller/commands/topo.py | 19 ++++++------- src/controller/{command => plugins}/__init__.py | 0 src/controller/{command => plugins}/hello.py | 0 src/controller/shell.py | 37 +++++++++++-------------- src/controller/spp.py | 14 ++++++++-- src/controller/spp_common.py | 10 +++---- src/controller/spp_ctl_client.py | 6 ++++ 7 files changed, 47 insertions(+), 39 deletions(-) rename src/controller/{command => plugins}/__init__.py (100%) rename src/controller/{command => plugins}/hello.py (100%) -- 2.13.1