Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/2] Add mirror command
@ 2018-11-29  9:48 ogawa.yasufumi
  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
  0 siblings, 2 replies; 3+ messages in thread
From: ogawa.yasufumi @ 2018-11-29  9:48 UTC (permalink / raw)
  To: ferruh.yigit, spp, ogawa.yasufumi

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-29  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29  9:48 [spp] [PATCH 0/2] Add mirror command ogawa.yasufumi
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

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