Add the SPAN port mirroring recipe for switchdev, and several lnst
features that were missing and were needed for that recipe.
Among the features added:
- The lnst slave now cleans the tc qdiscs and filters at the clean
procedure.
- The PacketAssert module supports setting promiscuos flag.
- The Switchdev TestLib IcmpPing module supports setting ping
parameters.
The SPAN recipe consist of two machines connected via a bridge in the
switch, and pinging each other, while ingress/egress port mirrors are
added and tested.
Yotam Gigi (5):
Controller: Task: Add documentation for one of the flags in run func.
switchdev: TestLib: Add controllable parameters to IcmpPing module.
PacketAssert: Add the promiscuous optional param.
Slave: Add basic support for tc.
recipes: switchdev: Add the SPAN recipe.
lnst/Controller/Task.py | 2 +
lnst/Slave/InterfaceManager.py | 28 +++++++++
recipes/switchdev/TestLib.py | 10 ++--
recipes/switchdev/l2-021-span.py | 119 ++++++++++++++++++++++++++++++++++++++
recipes/switchdev/l2-021-span.xml | 26 +++++++++
test_modules/PacketAssert.py | 6 +-
6 files changed, 185 insertions(+), 6 deletions(-)
create mode 100644 recipes/switchdev/l2-021-span.py
create mode 100644 recipes/switchdev/l2-021-span.xml
--
2.4.11
Show replies by thread