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 ECCD11B432 for ; Tue, 9 Oct 2018 04:03:38 +0200 (CEST) Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w9923bJ7010641; Tue, 9 Oct 2018 11:03:37 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 398A9EA70A4; Tue, 9 Oct 2018 11:03:37 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 2EE34EA7098; Tue, 9 Oct 2018 11:03:37 +0900 (JST) Received: from [IPv6:::1] (watercress.nslab.ecl.ntt.co.jp [129.60.13.73]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 2A68F400161; Tue, 9 Oct 2018 11:03:37 +0900 (JST) References: <20180913082544.2D36.277DD91C@valinux.co.jp> <20181005035757.23122-1-oda@valinux.co.jp> From: Yasufumi Ogawa Message-ID: <69ad9180-2e63-eee1-4c39-b2745dcca7dc@lab.ntt.co.jp> Date: Tue, 9 Oct 2018 11:01:32 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20181005035757.23122-1-oda@valinux.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: 1 To: oda@valinux.co.jp, spp@dpdk.org Cc: ferruh.yigit@intel.com X-TM-AS-MML: disable Subject: Re: [spp] [PATCH v4 00/14] spp-ctl: SPP controller with Web API 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 02:03:40 -0000 > From: Itsuro Oda > > spp-ctl is a SPP controller with a REST like web API. > > spp-ctl maintains the connections from the SPP processes and at > the same time exposes the API for the user to request for the > SPP processes. > > Background and motivation: > > Current CLI (spp.py/spp_vf.py) can be used by intaractive only. > Therefore, spp-agent, a component of networking-spp which make > SPP available on OpenStack environment, implements SPP controller > in itself. (see. https://github.com/openstack/networking-spp ) > > Either CLI or spp-agent, there is a problem that other people can > not request to SPP processes while using. spp-ctl is invented to > solve this problem. > > Both CLI and spp-agent can be used spp-ctl to request SPP > processes instead of owning contoroller itself. In that case, > multiple people can request to SPP processes at the same time. > Note that spp-agent has a plan to change to use spp-ctl. > It is also available not using CLI but requesting spp-ctl > directly. Thanks a lot! Acked-by: Yasufumi Ogawa > > --- > v4: > * fix incorrect URL > > v3: > * reflect the points which Yasufumi indicated. > > v2: > * divide a patch > > Itsuro Oda (10): > docs: add overview of spp-ctl > docs: add API reference of spp-ctl > docs: add index of spp-ctl > project: add requirements.txt for spp-ctl > docs: add spp-ctl to index of doc root > spp-ctl: add entry point > spp-ctl: add Controller class > spp-ctl: add web API handler > spp-ctl: add spp command interfaces > spp-ctl: fix incorrect URL > > Yasufumi Ogawa (4): > spp-ctl: update parsing spp_nfv status > docs: add request examples of spp-ctl > docs: correct directives of spp-ctl > docs: add labels and captions for tables > > docs/guides/index.rst | 1 + > docs/guides/spp-ctl/api-reference.rst | 1001 +++++++++++++++++++++++++ > docs/guides/spp-ctl/index.rst | 14 + > docs/guides/spp-ctl/overview.rst | 119 +++ > requirements.txt | 4 + > src/spp-ctl/spp-ctl | 11 + > src/spp-ctl/spp_ctl.py | 158 ++++ > src/spp-ctl/spp_proc.py | 187 +++++ > src/spp-ctl/spp_webapi.py | 431 +++++++++++ > 9 files changed, 1926 insertions(+) > create mode 100644 docs/guides/spp-ctl/api-reference.rst > create mode 100644 docs/guides/spp-ctl/index.rst > create mode 100644 docs/guides/spp-ctl/overview.rst > create mode 100644 requirements.txt > create mode 100644 src/spp-ctl/spp-ctl > create mode 100644 src/spp-ctl/spp_ctl.py > create mode 100644 src/spp-ctl/spp_proc.py > create mode 100644 src/spp-ctl/spp_webapi.py >