Bob Lantz
31b43002e7
Added a bit to comments, and removed trailing spaces.
2010-02-16 14:42:58 -08:00
Bob Lantz
6d72a3cb0c
Minor cleanup; clarified fdToNode (still need to test however.)
2010-02-08 15:51:43 -08:00
Bob Lantz
7c371cf32a
Comment tweaks.
2010-02-05 17:29:15 -08:00
Bob Lantz
e85f8bdf29
Removed hash-bang in module files which aren't executed directly,
...
with the exception of topo.py, which I haven't touched.
2010-02-05 17:22:18 -08:00
Bob Lantz
7d4b7b7f47
Comment tweaks and additions.
2010-02-05 17:18:08 -08:00
Bob Lantz
281f6e59db
Minor changes to get 'make test' to pass.
...
- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair
2010-02-05 16:42:01 -08:00
Bob Lantz
80a8fa62d5
First crack at restoring mininet python style, assisted by handy
...
'unpep8' script, which does most of the work.
- topo.py is still in pep8
- not all examples work, but this is due to other issues
2010-02-05 02:33:34 -08:00
Bob Lantz
0df8b19568
Renamed logging_mod.py -> log.py
...
Updated other files accordingly.
2010-02-03 15:38:29 -08:00
Brandon Heller
f7c2df2513
Support OpenVSwitch in kernel-mode
2010-01-09 21:11:25 -08:00
Brandon Heller
723d068c51
Add static code checking for style and errors
...
This required a change to logging, which now uses a singleton pattern.
For all future checkins, 'make codecheck' should pass.
2010-01-09 17:59:43 -08:00
Brandon Heller
ca58c896dd
Restore user-space switch option
...
Switches and controller in root namespace only, for now.
2010-01-07 00:54:27 -08:00
Brandon Heller
d856c81896
Support out-of-order link addition
...
Sort interface names before passing to dpctl for kernel switch, so that
links for multipath topologies can be added in any order.
2010-01-06 21:23:33 -08:00
Brandon Heller
ee00736307
Add default ip and port for remote controller
2010-01-06 07:22:45 -08:00
David Erickson
60d9ead65a
Added a RemoteController object
...
Now you can run a controller on a remote PC that is
not on the same pc as Mininet.
2010-01-01 03:26:58 -08:00
Brandon Heller
540379957b
Add MAC auto set for switches
...
Also use indexing for DPIDs to avoid zeroed MAC
2010-01-01 03:16:57 -08:00
Brandon Heller
376bcba442
Add options for auto MAC and ARP setup.
...
Auto MAC setup sets each host MAC equal to its DPID, which simplifies
debugging.
Auto ARP setup removes the need for broadcast support for ARP, which
enables a smaller NOX controller.
2010-01-03 09:16:14 -08:00
Brandon Heller
1bb4412ff3
Separate kernel and user switches into separate objects
2010-01-02 10:58:28 -08:00
Brandon Heller
16c57ddb33
Enable controller-less setups
2010-01-02 10:58:28 -08:00
Brandon Heller
4804237fa7
Add more NOX options
2010-01-02 10:58:28 -08:00
Brandon Heller
8b5062a3a1
Move TreeNet to new Mininet API
...
Also remove all non-object-oriented legacy Mininet code and update
tests.
User-space compatibility is untested, but most of the code for it is
still in.
2009-12-26 14:25:48 -08:00
Brandon Heller
89bf31030b
Move Node functions into their own file
...
Nodes include Switch, Host, and Controller; move these to a separate
file.
This file still could use some attention to hide private functions.
Node seems like a primary class to extend, for adding stuff like Open
vSwitch, so it could benefit from a simpler interface.
2009-12-20 14:19:32 -08:00