[spp] [PATCH 0/2] Add mirror command
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Thu Nov 29 10:48:32 CET 2018
From: Yasufumi Ogawa <ogawa.yasufumi at 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
More information about the spp
mailing list