From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id CCBDC5B30 for ; Thu, 18 Oct 2018 13:28:57 +0200 (CEST) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w9IBSu2D009350; Thu, 18 Oct 2018 20:28:56 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id BA5FF639489; Thu, 18 Oct 2018 20:28:56 +0900 (JST) Received: from localhost.localdomain (unknown [129.60.13.51]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id A2C6E63947C; Thu, 18 Oct 2018 20:28:56 +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:28:45 +0900 Message-Id: <20181018112849.77691-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 X-TM-AS-MML: disable Subject: [spp] [PATCH 0/4] Add commands of spp_vf to 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:28:58 -0000 From: Yasufumi Ogawa Spp_vf has dedicated controller 'spp_vf.py' and is not managed from 'spp.py'. It is confusing to users. Thanks to spp-ctl, it is easy to send a request to spp_vf from 'spp.py' without any effort. This update is to add SppVf class behaviour as a client for spp-ctl. An instance of the class is intended to be used from do_vf() and complete_vf() methods of Shell class in 'spp.py'. 'spp_vf.py' is removed in this update because all of this features are moved to 'spp.py' and is not used anymore. Yasufumi Ogawa (4): controller: add POST method for spp-ctl controller: add SppVf class controller: add vf command to SPP controller spp_vf: remove spp_vf controller src/controller/commands/vf.py | 470 ++++++++++++++++++++++++++++++++++++ src/controller/shell.py | 103 +++++++- src/controller/spp.py | 19 +- src/controller/spp_ctl_client.py | 5 + src/spp_vf.py | 507 --------------------------------------- 5 files changed, 585 insertions(+), 519 deletions(-) create mode 100644 src/controller/commands/vf.py delete mode 100755 src/spp_vf.py -- 2.13.1