From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 0/5] update SPP CLI
Date: Wed, 12 Dec 2018 11:03:10 +0900 [thread overview]
Message-ID: <1544580195-9242-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
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
next reply other threads:[~2018-12-12 2:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-12 2:03 ogawa.yasufumi [this message]
2018-12-12 2:03 ` [spp] [PATCH 1/5] controller: change sec command to nfv ogawa.yasufumi
2018-12-12 2:03 ` [spp] [PATCH 2/5] controller: change to exclude used port from del ogawa.yasufumi
2018-12-12 2:03 ` [spp] [PATCH 3/5] controller: add checking for add and del cmds ogawa.yasufumi
2018-12-12 2:03 ` [spp] [PATCH 4/5] controller: refactor SppNfv class ogawa.yasufumi
2018-12-12 2:03 ` [spp] [PATCH 5/5] controller: update SppBye class ogawa.yasufumi
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=1544580195-9242-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--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).