Renamed mn_run.py -> mn, mn_clean.py -> mnclean; updated Makefle

It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.

Added variables to Makefile so that source files are listed in a single
location.
This commit is contained in:
Bob Lantz
2010-02-03 15:29:07 -08:00
parent 799242c617
commit ac9554d6dc
5 changed files with 14 additions and 9 deletions
+2 -2
View File
@@ -1,9 +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.
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 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
sudo mn --custom custom_example.py