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 431991B466 for ; Tue, 9 Oct 2018 12:50:55 +0200 (CEST) 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 w99Aos5b017793; Tue, 9 Oct 2018 19:50:54 +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 059FD125; Tue, 9 Oct 2018 19:50:54 +0900 (JST) Received: from localhost.localdomain (unknown [129.60.13.51]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id DAF02119; Tue, 9 Oct 2018 19:50:53 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 9 Oct 2018 19:50:43 +0900 Message-Id: <20181009105047.42568-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] Update response of status of spp_nfv and spp_vm 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, 09 Oct 2018 10:50:55 -0000 From: Yasufumi Ogawa Spp-ctl provides a set of REST APIs for managing all of SPP processes in a unified way. If the REST API is called, spp-ctl sets up a request for SPP process by parsing user's request and replies to the user. This update is to update spp_nfv and spp_vm to return responses as JSON as similar to spp_vf for better maintaince of spp-ctl. Yasufumi Ogawa (4): shared: update status format of spp_nfv controller: update parsing status message spp-ctl: update syntax of add and del command spp-ctl: update parsing status src/controller/shell.py | 21 +++--- src/nfv/nfv.c | 10 +-- src/shared/common.c | 179 ++++++++++++++++++++++++++++++++++++---------- src/shared/common.h | 14 +++- src/spp-ctl/spp_proc.py | 4 +- src/spp-ctl/spp_webapi.py | 34 +++------ src/vm/init.c | 2 +- src/vm/main.c | 8 +-- 8 files changed, 185 insertions(+), 87 deletions(-) -- 2.7.4