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/2] Add mirror command
Date: Thu, 29 Nov 2018 18:48:32 +0900 [thread overview]
Message-ID: <1543484914-25256-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 to add `mirror` command to `spp.py`. The
behaviour of spp_mirror is defined as SppMirror class to send a request
and get a response.
Here is an example to setup spp_mirror with this command.
spp > mirror 1; component start mr1 5 mirror
spp > mirror 1; port add ring:0 rx mr1
spp > mirror 1; port add ring:1 tx mr1
...
To find out more, refer the help.
spp > help mirror
Thanks,
Yasufumi
Yasufumi Ogawa (2):
controller: add SppMirror class
controller: add mirror command to SPP controller
src/controller/commands/mirror.py | 327 ++++++++++++++++++++++++++++++++++++++
src/controller/shell.py | 100 +++++++++++-
2 files changed, 420 insertions(+), 7 deletions(-)
create mode 100644 src/controller/commands/mirror.py
--
2.7.4
next reply other threads:[~2018-11-29 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 9:48 ogawa.yasufumi [this message]
2018-11-29 9:48 ` [spp] [PATCH 1/2] controller: add SppMirror class ogawa.yasufumi
2018-11-29 9:48 ` [spp] [PATCH 2/2] controller: add mirror command to SPP controller 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=1543484914-25256-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).