aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds/dockertb.py
Commit message (Collapse)AuthorAgeFilesLines
* experiment: Move link rate setting to prototypeDimitri Staessens2021-07-191-0/+1
| | | | | | | Apparently I didn't test my final change for this feature when I moved it from the storyboard to the experiment. It didn't work, I tried to put it in the testbed class, but that was a mess, so for now it's moved to the prototype.
* testbeds: Set default project to rumbaSander Vrijders2018-07-271-1/+1
| | | | | This will set the default project name to rumba for most testbeds, since a dedicated group for rumba experiments has been setup.
* testbeds: Fix bad interface name in docker testbedSander Vrijders2018-06-041-14/+49
| | | | | | | Linux has length limits for the name of an interface. This adds an additional check to ensure the name is never too long. It also adds more debug logs which are handy to see the progress of swap-in and out.
* testbeds: Add default image for docker testbedSander Vrijders2018-05-291-7/+18
| | | | | | This adds a default image for the docker testbed for Ouroboros so it is easier for an experimenter to start experimenting with the docker testbed, similarly to the QEMU testbed.
* testbeds: Fix invalid container namesSander Vrijders2018-05-291-3/+3
| | | | | | Docker was failing when the node name was only a single character, which is not allowed. This always adds the prefix 'node-' to node names to solve this problem.
* examples: Make scalingtime.py more genericSander Vrijders2018-04-251-1/+1
| | | | | | | This makes scalingtime.py more generic by allowing the user to pass command-line arguments to select the prototype, testbed, ... Fixes #50
* rumba: Update copyright on license headersSander Vrijders2018-04-231-3/+3
| | | | | This updates the copyright on the license headers to that it is extended to the current year.
* testbeds, prototypes, model: Add docstringsSander Vrijders2018-03-281-2/+13
| | | | | This adds docstrings for methods of in the testbeds, prototypes and certain things in the model.
* linkquality: added link_quality to add delay, loss and rate limit to linkNick Aerts2018-03-271-4/+1
| | | | | | | | | | | | | | This adds the ability to assign delay and loss to links. 4 new object types are introduced: - LinkQuality - Delay - Loss - Rate All attributes are read-only, one attribute link_quality is added to the ShimEthDIF with a callback to the LinkQualityManager which will automatically apply a new link_quality profile when this attribute is written.
* testbeds: Add docker testbedNick Aerts2018-03-201-0/+190
This adds support for a testbed based on Docker containers running on the local host. Bridging the containers can be done using built-in Linux bridging or using OpenVSwitch bridges. A new resource 'executor' has been added to abstract away command execution on nodes on the testbed. Executors have been created for local command execution, docker exec based command execution and SSH-based command execution. This has also been changed in the prototypes to execute using the correct executor.