- Mar 07, 2013
-
-
Bob Lantz authored
fixes #109 (hopefully)
-
- Mar 01, 2013
-
-
Bob Lantz authored
This is necessary since exec() isn't really a function, and eval can't evaluate statements. fixes #104
-
- Dec 20, 2012
-
-
Bob Lantz authored
Fixes #89 ; Thanks to Nikhil S. Menon for the bug report
-
- Dec 01, 2012
-
-
Bob Lantz authored
- Nov 27, 2012
-
-
Brandon Heller authored
Reported-by: Julius Bachnick https://mailman.stanford.edu/pipermail/mininet-discuss/2012-November/001349.html
-
- Nov 15, 2012
-
-
Brandon Heller authored
-
Brandon Heller authored
for OVS Otherwise, OVS thinks the second controller is a parameter of the first, and only creates one controller entry as seen in 'ovs-vsctl show'.
-
- Nov 14, 2012
-
-
Brandon Heller authored
Source of error: regex to parse ps output had a single space, rather than handling any amount of whitespace before the CPU percentage. When that percentage would drop below 10.0, an space would be printed, confusing the regex. Fixed by handling arbitrary whitespace before the percentage.
-
- Nov 16, 2012
-
-
Bob Lantz authored
-
- Nov 14, 2012
-
-
Brandon Heller authored
Also a more complete ping test that parses all output to the CLI. These tests expand the hifi-specific ones to not just cover whether a topology can be created with options, but whether those options are properly implemented within some tolerance, like CPU limits, link bandwidth, delays, and even drops.
-
Brandon Heller authored
-
Brandon Heller authored
-
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.
-
Brandon Heller authored
Two benefits: - One place to change if in the future, a more granular method of root access is used (like the BigSwitch patch). - Makes this reusable by stuff like examples/baresshd.py that use the low-level Mininet API.
-
Brandon Heller authored
'mount' shows something slightly different in Ubuntu 12.10: cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755) Note the lack of a plural on first word cgroup, which has changed. Still mounted at /sys/fs/cgroup, so check for both possibilities when instantiated CPU-limited hosts.
-
Brandon Heller authored
There are a bunch of these remaining, but I don't think the right course is to 'fix' all of them to make pep8 happy, but instead to either change the test in pep8 to consider that a continuation line may itself be continued halfway, OR, to change the code in these lines to be more readable by removing the need for all those nested continuations. Personally, I find multiply-broken lines (aka nested continuations) really hard to read.
-
Brandon Heller authored
I wasn't sure this was worth fixing at first, but it does look more readable now.
-
Brandon Heller authored
-
Brandon Heller authored
-
- Nov 13, 2012
-
-
Brandon Heller authored
-
Brandon Heller authored
Lengthy discussion of why this is a good thing (I didn't know) at SO: http://stackoverflow.com/questions/2209755/python-operation-vs-is-not
-
Brandon Heller authored
-
Brandon Heller authored
-
- Nov 04, 2012
-
-
Bob Lantz authored
-
- Oct 31, 2012
- Oct 30, 2012
-
-
Angad Singh authored
-
- Oct 05, 2012
-
-
Bob Lantz authored
-
- Sep 15, 2012
-
-
Bob Lantz authored
-
- Aug 18, 2012
-
-
Bob Lantz authored
Thanks to Isaku Yamahata.
-
- Aug 17, 2012
-
-
Bob Lantz authored
-
- Aug 06, 2012
-
-
Bob Lantz authored
-
James Page authored
-
- Aug 01, 2012
-
-
Bob Lantz authored
-
- Jul 07, 2012
- Jul 04, 2012
-
-
Bob Lantz authored
-
- Jul 02, 2012
-
-
Bob Lantz authored
Also add check to see if another controller is running - eventually we should really detect errors from starting the controller!!
-