aboutsummaryrefslogtreecommitdiff
path: root/examples/snake.py
Commit message (Collapse)AuthorAgeFilesLines
* examples: Import log in snake exampleDimitri Staessens2018-04-051-0/+1
| | | | The logger was used but not imported
* testbeds: Add docker testbedNick Aerts2018-03-201-1/+1
| | | | | | | | | | | | 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.
* utils, examples: Add ExperimentManager CMMarco Capitani2017-11-131-3/+3
| | | | | | | | Adds an ExperimentManager context manager for scripts: - No more ugly stack traces after execution if something goes wrong - No more ugly and easy to forget try-finally blocks
* examples: Add snake exampleSander Vrijders2017-09-201-0/+69
This adds the snake as an example. It forms a single DIF connected node by node. The number of nodes can be passed as parameter.