Brandon Heller
bc547080b8
Rewrite Ripcord test and most of mininet
...
Make much of the Mininet code object-oriented around the new Mininet
object, and create a generic way to build a Mininet.
Previously, each network topology was created by Mininet API calls,
which seems much less approachable for new users than passing in a
topology object along with controller, switch, and host classes.
The modified code is all in ripcordtest.py, but will need to replace the
main mininet.py code eventually.
Kernel-space support only, for now.
2009-12-20 04:03:23 -08:00
Brandon Heller
75810224ed
Remove verbose command printouts
2009-12-20 03:54:37 -08:00
Brandon Heller
8e63d3cb72
Add missing newline printouts
2009-12-19 19:21:47 -08:00
Brandon Heller
fabbac885f
Document retry function
2009-12-19 19:21:18 -08:00
Brandon Heller
2e52801de5
Fix IP printing exception
2009-12-19 19:20:53 -08:00
Brandon Heller
b426d24e45
Minor documentation
2009-12-19 19:05:09 -08:00
Brandon Heller
b6423f8c4d
Fix module resolution
...
Forgot to add __init__.py
2009-12-18 20:36:48 -08:00
Brandon Heller
15f37cc292
Add LinearNet test case
2009-12-18 20:36:48 -08:00
Brandon Heller
7b804ffbae
More flexible logging support
...
Use customized StreamHandler from Python logging module to print
only messages for the specified loglevel to the console.
2009-12-18 20:36:36 -08:00
Brandon Heller
1095628b8a
Clean up display
...
Don't print retry errors by default.
2009-12-18 15:51:30 -08:00
Brandon Heller
7c1d7c9f90
Don't attempt to kill processes twice
...
Was causing OSErrors because the process to kill no longer existed.
2009-12-18 15:42:13 -08:00
Brandon Heller
345bf7cc29
Reduce interface move delay and make configurable
...
Much faster now; from 1 s delay to 100 us.
2009-12-18 15:39:14 -08:00
Brandon Heller
ff43615ab1
Add example unit tests and Makefile target
2009-12-18 12:15:04 -08:00
Brandon Heller
fd99d67c33
Add make clean to remove dist files created by setuptools
2009-12-18 12:12:51 -08:00
Brandon Heller
51270ce4a2
Use setuptools to install python files
...
Now, to reference mininet files, use 'import mininet.mininet'.
PYTHONPATH mods are no longer required for installation.
2009-12-18 12:12:37 -08:00
Brandon Heller
cd27f9db57
Start controller with verbose by default
2009-12-18 12:11:25 -08:00
Brandon Heller
ede34b6a4d
Add missing function import
2009-12-18 12:10:35 -08:00
Brandon Heller
0608b5939b
Add notes on installing NOX on Deb testing.
2009-12-12 04:47:13 -08:00
Brandon Heller
ea7c8795f5
Ensure netns is in the path.
2009-12-12 02:54:52 -08:00