- Nov 14, 2012
-
-
Brandon Heller authored
A number of functions in node.py look like this: return self.intf( intf ).<other stuff> Previously, self.intf(...) in Node would expect a string name for an interface and return None if an object was passed in instead of a string name. Now, be more permissive and assume that objects passed in are for Intf objects. This makes all such functions in node.py handle more flexible input args, either name or actual Intf object. An alternative and equally valid approach would be to raise an Exception whenever a non-string, non-falsy value was passed in to Node.intf(), and to modify the code in at least one place - examples/sshd.py - to pass the interface name, rather than the interface object. Also fix input args for examples/scratchnetuser.py - the interface name was being passed in as the prefix len, which makes no sense.
-
- Mar 11, 2012
-
-
Bob Lantz authored
-
- Mar 10, 2012
-
-
Bob Lantz authored
-
- Mar 09, 2012
-
-
Bob Lantz authored
Note: we should probably rename it "setup()" to avoid confusion.
-
- Apr 23, 2010
-
-
Bob Lantz authored
-
- Mar 25, 2010
-
-
Bob Lantz authored
-
- Mar 10, 2010
-
-
Bob Lantz authored
-
- Mar 09, 2010
-
-
Bob Lantz authored
-
- Mar 05, 2010
-
-
Bob Lantz authored
-
- Mar 03, 2010
-
-
Bob Lantz authored
Also changed the str format for nodes to use str() rather than repr() so we don't end up with extraneous quotes.
-
- Dec 18, 2009
-
-
Brandon Heller authored
Now, to reference mininet files, use 'import mininet.mininet'. PYTHONPATH mods are no longer required for installation.
-
- Dec 16, 2009
-
-
Bob Lantz authored
Added commentary on control network to mininet.py. Hopefully fixed linearbandwidth.py for real.
-
- Dec 14, 2009