pass code check
Change to use Intf() class rather than string for interface.
Was broken in 2.0.0rc1
Merge branch '2.0dev' into 2.0merge
Conflicts: .gitignore .pylint examples/miniedit.py mininet/node.py mininet/util.py util/install.sh util/vm/install-mininet-vm.sh
Move CPU limit into net, to be reused in future unit tests
examples/simpleperf: Warn in docstring about effects of link settings
These include dropped pings and iperf hanging.
Fix SSHD example by generalizing input intf args
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 aninterface and return None if an object was passed in instead of a...
examples/baresshd: ensure root permissions
Prevent idiots like me from getting confused by non-obvious 'broken pipe'errors when they forget to put 'sudo' in front :-)
examples: Add new tests to README
examples/cpu: Fix typo, note existence in README
examples: Make simpleperf.py executable
pep8: Fix E127 continuation line over-indented
There are a bunch of these remaining, but I don't think the right course isto 'fix' all of them to make pep8 happy, but instead to either changethe test in pep8 to consider that a continuation line may itself...
pep8: fix E128 continuation line under-indented errors
I wasn't sure this was worth fixing at first, but it does look more readablenow.
pep8: Fix E121/126, continuation line indention
pep8: Fix E125 continuation line does not distinguish itself from next logical line
pep8: Fix E203 whitespace before punctutation
rename Topo() methods for consistency: add_node() -> addNode()
More indent errors - curse you emacs.
Still more indentation errors. ;-p
Fix indentation errors.
Added popenpoll.py example of using popen()/pmonitor()
Add pmonitor() to make it easy to monitor popen objects.
Begin test/example for popen().
Pass code check.
Off by one... I dislike range()
Added simpleperf.py to examples.
Added multipoll and multiping examples.
Remove blank line.
Reinstate more complicated test.
Increase the quota and cpu fraction to get max cfs performance.
Simple cpu limiting example.
Fix typo inadvertently saved in editor.
Add verySimpleLimit() for debugging.
Save parameters for future reference (e.g. OVS/tc workaround.)
Fix to work with new Topo class.
Fix codecheck and MininetWithControlNet.
Fix examples to work with new API (and vice-versa.)
Move init() into Mininet() and remove calls (since called automatically.)Note: we should probably rename it "setup()" to avoid confusion.
Support for CFS bandwidth limiting.Also trying to fix NOX cmdline opt, but broken at the moment.
Example/test of link and CPU bandwidth limits.
Make pylint happy.
Modified to add eth1.
Added example of adding hw interface to mininet.
Removed udpbwgraph - not ready for prime time.
Commented out kernel ref, moved to Open vSwitch.
Added simple example of using API just to create a namespace.
Added new example of multiple controllers.
Use dict.update to update an object's fields.
Fixed minor breakage due to code cleanup.
Added space to one line.
Use switches rather than switches.keys().
Minor cosmetic change, really.
Minor comment change.
Added comment advising use of high-level API.
Correctly handle xterm creation with new makeTerm interface.
Added output hook and graph.
Changed to not print control chars we don't handle.
Add title to consoles.
Added ability to show switches and controllers.
Added blurbs for new demos.
Changed to use info() and not call build() unnecessarily.
Changed comment on iperf.
Changed to let iperf run indefinitely. Simplifies things.
Added iperf command.
Removed unnecessary init() calls.
Fixed to import TreeNet and to skip unnecessary init().
Changed to use library TreeNet() and remove unnecessary init().
Made the scroll bars narrower to fit ping output on my 15" screen.
Added semi-interactive command line support.
Now you can type commands into each mini-console!
Added an example of how to make an empty Mininet and add things to it.
Added updbwgraph, a demo of how to graphically monitor node output.
Added simple console tool demo.
The console tool spawns and monitors a bunch of nodes.
Added a simple graphical network editor demo.
Removed TreeNet() convenience function (moved to topolib.)
Restored treeping64 and tre1024 examples and updated README.
Change to use setLogLevel()
Reinstated multitest example and updated examples/README.
Added two spaces before in-line # comments.
Minor formatting changes.
Added setup for kernel switch.
Added openvswitch kernel switch.
Buffered output. Added net.monitor() and node.readline()
Moved monitor() and readline() into net.py and node.py respectively,which will hopefully be useful for monitoring large sets of hosts,as is done in udpbwtest.py.
Changed iperf to use interactive command infrastructure (such as it...
Run in non-verbose mode, and print network sizes.
Added README for examples.
Fixed createLink args and cleaned up slightly.
Made compatible with rearranged args for createLink.
Fixed errors due to renaming buffer to buf.
Removed underscores for public Node methods. Minor cleanup & comments.
Tweaks to separate command and options.
Revived sshd.py example.
Added some additional explanatory comments.