The implementation adds abstractions for all traffic generators as well
as those that can capture individual packets and investigate (not just
count) them.

The traffic generators reside on traffic generator nodes which are also
added, along with some related code.

Juraj Linkeš (5):
  dts: add scapy dependency
  dts: add traffic generator config
  dts: traffic generator abstractions
  dts: scapy traffic generator implementation
  dts: add traffic generator node to dts runner

 dts/conf.yaml                                 |  25 ++
 dts/framework/config/__init__.py              | 107 +++++-
 dts/framework/config/conf_yaml_schema.json    | 172 ++++++++-
 dts/framework/dts.py                          |  42 ++-
 dts/framework/remote_session/linux_session.py |  55 +++
 dts/framework/remote_session/os_session.py    |  22 +-
 dts/framework/remote_session/posix_session.py |   3 +
 .../remote_session/remote/remote_session.py   |   7 +
 dts/framework/testbed_model/__init__.py       |   1 +
 .../capturing_traffic_generator.py            | 155 ++++++++
 dts/framework/testbed_model/hw/port.py        |  55 +++
 dts/framework/testbed_model/node.py           |   4 +-
 dts/framework/testbed_model/scapy.py          | 348 ++++++++++++++++++
 dts/framework/testbed_model/sut_node.py       |   5 +-
 dts/framework/testbed_model/tg_node.py        |  62 ++++
 .../testbed_model/traffic_generator.py        |  59 +++
 dts/poetry.lock                               |  18 +-
 dts/pyproject.toml                            |   1 +
 18 files changed, 1103 insertions(+), 38 deletions(-)
 create mode 100644 dts/framework/testbed_model/capturing_traffic_generator.py
 create mode 100644 dts/framework/testbed_model/hw/port.py
 create mode 100644 dts/framework/testbed_model/scapy.py
 create mode 100644 dts/framework/testbed_model/tg_node.py
 create mode 100644 dts/framework/testbed_model/traffic_generator.py

-- 
2.30.2

Reply via email to