Commit Graph
221 Commits
Author SHA1 Message Date
Bob Lantz 612b21cbe7 Pass code check. 2012-03-23 18:38:49 -07:00
Bob Lantz 44af37bc2b Change default period to 100 ms, which seems to help cfs at least...
rt is still somewhat broken.
2012-03-23 18:18:48 -07:00
Bob Lantz 8dcefd5ff9 Fix OVS legacy switch. 2012-03-23 13:33:12 -07:00
Bob Lantz 28833d864c Retry deleting cgroup for the moment because it seems flaky.
Ultimately we may wish to create a mininet/ cgroup and do a recursive
delete at the end.
2012-03-22 19:08:45 -07:00
Bob Lantz d1b29d58df Fix printing pid for background tasks. 2012-03-22 14:43:27 -07:00
Bob Lantz 1aec55d960 Workaround: reapply tc config after OVS destroys it. 2012-03-21 22:39:46 -07:00
Bob Lantz 595427842c Make CPULimitedHost method sig friendlier, and make 'cfs' default sched. 2012-03-21 17:28:00 -07:00
Bob Lantz b684ff7844 Fix convenience configuration methods. 2012-03-20 16:23:17 -07:00
Bob Lantz efc991547e Add warning in defaultIntf() if host has no interfaces.
Possibly this should be in intf() instead, as intf() is assumed
to always succeed.
2012-03-20 15:46:54 -07:00
Bob Lantz 318ae55e35 Allow sendCmd( [ cmd, arg1, ... ] ) 2012-03-20 00:10:11 -07:00
Bob Lantz 28f46c8d2d Pass code check. 2012-03-12 16:12:38 -07:00
Bob Lantz bf9c6ab7b4 Clarify comments and finally remove ControllerParams definition. 2012-03-12 00:29:55 -07:00
Bob Lantz 14c1926081 Use port 0 for control interface on switches. 2012-03-12 00:20:48 -07:00
Bob Lantz 8856d284c0 Fix CLI commands. 2012-03-11 19:44:04 -07:00
Bob Lantz 14ff3ad3d0 Fix codecheck and MininetWithControlNet. 2012-03-10 20:44:34 -08:00
Bob Lantz a49c85a610 Fix examples to work with new API (and vice-versa.) 2012-03-09 16:06:23 -08:00
Bob Lantz 8e3699eca6 Move init() into Mininet() and remove calls (since called automatically.)
Note: we should probably rename it "setup()" to avoid confusion.
2012-03-09 14:10:20 -08:00
Bob Lantz 9addfc13ce Add OVSController to complete out-of-box Ubuntu experience. 2012-03-08 23:48:07 -08:00
Bob Lantz 2db4268ba8 Fix NOX controller so that mn --controller nox,pyswitch,... works. 2012-03-08 22:07:19 -08:00
Bob Lantz 0dbfd3a636 Add CPULimitedHost to file comment. 2012-03-08 13:48:46 -08:00
Bob Lantz 8a622c3a9a Reorganize CPULimitedHost and add cgroup cleanup. 2012-03-08 13:39:28 -08:00
Bob Lantz 216a4b7c9d Support for CFS bandwidth limiting.
Also trying to fix NOX cmdline opt, but broken at the moment.
2012-03-08 00:05:45 -08:00
Bob Lantz 84a91a14a4 New configuration scheme and support for CPU limits (RT). 2012-03-06 23:52:00 -08:00
Bob Lantz 03dd914edc Tease out intfList() from intfNames(). 2012-03-02 20:34:37 -08:00
Bob Lantz a6bcad8f48 Intf and Link classes. Latter support bandwidth limits using tc. 2012-03-02 15:45:21 -08:00
Bob Lantz 8a7d42db0b Update OVS switch to use ovs-vsctl rather than deprecated ovs-openflowd. 2012-02-10 14:59:39 -08:00
Bob Lantz 5cc808286a Revert inadvertent print in node.py 2011-06-29 19:36:44 -07:00
Bob Lantz 37e1eafdbb Switch to Open vSwitch 1.1.1 for stability. 2011-06-28 16:50:14 -07:00
Bob Lantz 518c75b548 Fixed nox_pysw not to fail on startup, but --port still doesn't work. 2011-01-18 21:23:24 -08:00
Bob Lantz 996098081e Not sure why, but there's an extra blank line ;-/ 2010-10-27 21:21:54 -07:00
Bob Lantz 4876b43fe9 Merge branch 'of1.0' into testing
Conflicts:

	bin/mn
	mininet/cli.py
	mininet/moduledeps.py
	mininet/node.py
	mininet/topo.py
	util/install.sh
2010-10-17 17:23:23 -07:00
Bob Lantz 57fd19efaa Rename Controller.controller to .command 2010-09-01 20:52:29 -07:00
Bob Lantz 2a75022403 Fixed args for nox. 2010-09-01 19:50:00 -07:00
Bob Lantz fe769afa22 Added port to controller args; changed NOX to new arg format. 2010-09-01 19:46:48 -07:00
Bob Lantz e900a16caf Don't try to modprobe tun if it's built-in (e.g. Ubuntu.) 2010-08-19 14:42:33 -07:00
Bob Lantz f9654e5654 Better error messages when switch setup() fails. 2010-08-18 10:58:24 -07:00
Bob Lantz bd507eecfa Oops, get rid of debug print. 2010-08-18 10:07:57 -07:00
Bob Lantz 9802686b32 Switches use high default intf; disable slicing for user switch. ;-(
This should fix --switch user --innamespace.
2010-08-18 10:04:42 -07:00
Brandon Heller b480b6ef77 Add newline 2010-08-18 02:08:34 -07:00
Brandon Heller ccca871ae6 Add passive listening port 2010-08-18 02:08:34 -07:00
Bob Lantz 455194a3b8 Delete spaces around =. 2010-08-17 03:04:12 -07:00
Bob Lantz 2f40c85691 Added additional sanity checks for when OF/OVS isn't installed. 2010-08-17 00:02:33 -07:00
Bob Lantz 9de7873bc8 Change to automatically update IP and MAC addresses. 2010-08-17 00:02:31 -07:00
Bob Lantz 52082ff3f9 mininet.node.SWITCH_PORT_BASE specifies first switch port number.
This should be mostly cosmetic, but it causes switches to number
their ports consistently with OpenFlow 1.0, which starts at 1.
For older versions of OpenFlow, SWITCH_PORT_BASE may be set to zero.
2010-08-17 00:02:30 -07:00
Bob Lantz f00101716b Added additional sanity checks for when OF/OVS isn't installed. 2010-08-16 23:01:31 -07:00
Bob Lantz 54d026f656 Change to automatically update IP and MAC addresses. 2010-08-16 19:36:00 -07:00
Bob Lantz dd159b4a73 mininet.node.SWITCH_PORT_BASE specifies first switch port number.
This should be mostly cosmetic, but it causes switches to number
their ports consistently with OpenFlow 1.0, which starts at 1.
For older versions of OpenFlow, SWITCH_PORT_BASE may be set to zero.
2010-08-16 14:49:02 -07:00
Brandon Heller 7d83d46270 Remove print statement left in 2010-08-16 12:04:24 -07:00
Brandon Heller 2fffa0bb6f Change port base from 0 to 1
OpenFlow versions > v0.9 require this.

Only tested w/FatTree topo - it's almost a guarantee that this breaks
every other topology.
2010-08-16 12:04:24 -07:00
Brandon Heller 6b2a3b187b Small OVS API change 2010-08-16 12:04:24 -07:00