Skip to content
Snippets Groups Projects
user avatar
Michael Marsh authored
29a813e3
History
This repository contains scripts to help you set up a docker-based
testbed, with networking between the containers.

Since the containers don't need to do much in order to demonstrate
basic networking (you can change this to suit your needs), we're
just going to run the command

    tail -f /etc/issue

This will never exit, while it waits for more output to be appended
to the file.

Before running start_testbed.py, you must run:

    sudo mkdir -p /var/run/netns

This only needs to be done once for your VM.

To start the testbed, run

    ./start_testbed.py [-f <config file>]

To stop the testbed, run

    ./stop_testbed.py [-f <config file>]

In both cases, if the config file isn't specified, it will use
example.yml