Soft Patch Panel
 help / color / mirror / Atom feed
From: oda@valinux.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH v4 00/14] spp-ctl: SPP controller with Web API
Date: Fri,  5 Oct 2018 12:57:43 +0900	[thread overview]
Message-ID: <20181005035757.23122-1-oda@valinux.co.jp> (raw)
In-Reply-To: <20180913082544.2D36.277DD91C@valinux.co.jp>

From: Itsuro Oda <oda@valinux.co.jp>

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.

---
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

-- 
2.17.1

  parent reply	other threads:[~2018-10-05  3:58 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12 23:25 [spp] [PATCH] " Itsuro ODA
2018-09-18 10:00 ` Yasufumi Ogawa
2018-09-18 21:40   ` Itsuro ODA
2018-10-05  1:37 ` [spp] [PATCH v3 00/13] " oda
2018-10-05  1:37   ` [spp] [PATCH v3 01/13] docs: add overview of spp-ctl oda
2018-10-05  1:37   ` [spp] [PATCH v3 02/13] docs: add API reference " oda
2018-10-05  1:37   ` [spp] [PATCH v3 03/13] docs: add index " oda
2018-10-05  1:37   ` [spp] [PATCH v3 04/13] project: add requirements.txt for spp-ctl oda
2018-10-05  1:37   ` [spp] [PATCH v3 05/13] docs: add spp-ctl to index of doc root oda
2018-10-05  1:37   ` [spp] [PATCH v3 06/13] spp-ctl: add entry point oda
2018-10-05  1:37   ` [spp] [PATCH v3 07/13] spp-ctl: add Controller class oda
2018-10-05  1:37   ` [spp] [PATCH v3 08/13] spp-ctl: add web API handler oda
2018-10-05  1:37   ` [spp] [PATCH v3 09/13] spp-ctl: add spp command interfaces oda
2018-10-05  1:37   ` [spp] [PATCH v3 10/13] spp-ctl: update parsing spp_nfv status oda
2018-10-05  1:37   ` [spp] [PATCH v3 11/13] docs: add request examples of spp-ctl oda
2018-10-05  1:37   ` [spp] [PATCH v3 12/13] docs: correct directives " oda
2018-10-05  1:37   ` [spp] [PATCH v3 13/13] docs: add labels and captions for tables oda
2018-10-05  3:57 ` oda [this message]
2018-10-05  3:57   ` [spp] [PATCH v4 01/14] docs: add overview of spp-ctl oda
2018-10-05  3:57   ` [spp] [PATCH v4 02/14] docs: add API reference " oda
2018-10-05  3:57   ` [spp] [PATCH v4 03/14] docs: add index " oda
2018-10-05  3:57   ` [spp] [PATCH v4 04/14] project: add requirements.txt for spp-ctl oda
2018-10-05  3:57   ` [spp] [PATCH v4 05/14] docs: add spp-ctl to index of doc root oda
2018-10-05  3:57   ` [spp] [PATCH v4 06/14] spp-ctl: add entry point oda
2018-10-05  3:57   ` [spp] [PATCH v4 07/14] spp-ctl: add Controller class oda
2018-10-05  3:57   ` [spp] [PATCH v4 08/14] spp-ctl: add web API handler oda
2018-10-05  3:57   ` [spp] [PATCH v4 09/14] spp-ctl: add spp command interfaces oda
2018-10-05  3:57   ` [spp] [PATCH v4 10/14] spp-ctl: update parsing spp_nfv status oda
2018-10-05  3:57   ` [spp] [PATCH v4 11/14] docs: add request examples of spp-ctl oda
2018-10-05  3:57   ` [spp] [PATCH v4 12/14] docs: correct directives " oda
2018-10-05  3:57   ` [spp] [PATCH v4 13/14] docs: add labels and captions for tables oda
2018-10-05  3:57   ` [spp] [PATCH v4 14/14] spp-ctl: fix incorrect URL oda
2018-10-09  2:01   ` [spp] [PATCH v4 00/14] spp-ctl: SPP controller with Web API Yasufumi Ogawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181005035757.23122-1-oda@valinux.co.jp \
    --to=oda@valinux.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=spp@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).