summaryrefslogtreecommitdiff
path: root/dts/framework/testbed_model/__init__.py
blob: e3edd4d811b4cc6fa9aa263251c9aeb409b0ed02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2022-2023 University of New Hampshire
# Copyright(c) 2023 PANTHEON.tech s.r.o.

"""Testbed modelling.

This package defines the testbed elements DTS works with:

    * A system under test node: :class:`~.sut_node.SutNode`,
    * A traffic generator node: :class:`~.tg_node.TGNode`,
    * The ports of network interface cards (NICs) present on nodes: :class:`~.port.Port`,
    * The logical cores of CPUs present on nodes: :class:`~.cpu.LogicalCore`,
    * The virtual devices that can be created on nodes: :class:`~.virtual_device.VirtualDevice`,
    * The operating systems running on nodes: :class:`~.linux_session.LinuxSession`
      and :class:`~.posix_session.PosixSession`.

DTS needs to be able to connect to nodes and understand some of the hardware present on these nodes
to properly build and test DPDK.
"""