Add ability to read custom Mininets

This commit is contained in:
Brandon Heller
2010-01-11 16:40:25 -08:00
parent 1b6a9c3a20
commit 3031d31efe
3 changed files with 55 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
This directory should hold configuration files for custom mininets.
See custom_example.py, which loads the default minimal topology. The advantage of defining a mininet in a separate file is that you then use the --custom option in mn_run.py to run the CLI or specific tests with it.
Each custom file must define a Mininet object for an 'mn' variable.
To start up a mininet with this custom topology, do:
sudo mn_run.py --custom custom_example.py