From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bcmv-tmail01.ecl.ntt.co.jp (bcmv-tmail01.ecl.ntt.co.jp [124.146.185.148]) by dpdk.org (Postfix) with ESMTP id DC7385F1D for ; Wed, 12 Dec 2018 03:05:31 +0100 (CET) Received: from bcmv-ns01.ecl.ntt.co.jp (bcmv-ns01.ecl.ntt.co.jp [129.60.83.123]) by bcmv-tmail01.ecl.ntt.co.jp (8.14.4/8.14.4) with ESMTP id wBC25TwE014135; Wed, 12 Dec 2018 11:05:29 +0900 Received: from bcmv-ns01.ecl.ntt.co.jp (localhost [127.0.0.1]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id 62EC810E; Wed, 12 Dec 2018 11:05:29 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id 5310BE3; Wed, 12 Dec 2018 11:05:29 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Wed, 12 Dec 2018 11:03:10 +0900 Message-Id: <1544580195-9242-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable Subject: [spp] [PATCH 0/5] update SPP CLI 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: Wed, 12 Dec 2018 02:05:32 -0000 From: Yasufumi Ogawa Hi, This series of patches is for three updates for SPP CLI. It also include other misc upates for refactoring. 1. Change sec command to nfv As suggested in [1], there are several commands in SPP CLI for managing secondary processes, `sec`, `vf` and `mirror`, and `sec` should be changed to `nfv`. [1] https://mails.dpdk.org/archives/spp/2018-November/000990.html 2. Add checking for add and del commands To avoid invalid operations for ports, add checking for the operations. If you add a port which is already registered actually, it might cause a problem. 3. Update bye command to support spp_vf and spp_mirror Bye command is available ony for spp_nfv because spp_vf and spp_mirror does not provide `exit` command for graceful termination. This update is to add exiting spp_vf and spp_mirror with `bye` command for graceful shutdown. Thanks, Yasufumi Yasufumi Ogawa (5): controller: change sec command to nfv controller: change to exclude used port from del controller: add checking for add and del cmds controller: refactor SppNfv class controller: update SppBye class src/controller/commands/bye.py | 27 +-- src/controller/commands/nfv.py | 435 +++++++++++++++++++++++++++++++++++++++++ src/controller/commands/sec.py | 202 ------------------- src/controller/shell.py | 153 ++++++++++----- 4 files changed, 551 insertions(+), 266 deletions(-) create mode 100644 src/controller/commands/nfv.py delete mode 100644 src/controller/commands/sec.py -- 2.7.4