Commit Graph
380 Commits
Author SHA1 Message Date
Bob Lantz f00101716b Added additional sanity checks for when OF/OVS isn't installed. 2010-08-16 23:01:31 -07:00
Bob Lantz b47cdfea26 Added pathCheck for additional sanity when OF/OVS isn't installed. 2010-08-16 23:01:06 -07:00
Bob Lantz f95aebb4f9 Remove blank lines to pass code check. 2010-08-16 23:00:43 -07:00
Bob Lantz d869d82027 Added support for pre- and post-test CLI scripts. 2010-08-16 20:21:08 -07:00
Bob Lantz 54d026f656 Change to automatically update IP and MAC addresses. 2010-08-16 19:36:00 -07:00
Bob Lantz 68c89df8a1 Pass make codecheck. 2010-08-16 19:35:49 -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 299925c22f Add more param choices for iperf udp on CLI 2010-08-16 12:04:24 -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 0a6e54231e Set default switch type to OVS 2010-08-16 12:04:24 -07:00
Brandon Heller 6b2a3b187b Small OVS API change 2010-08-16 12:04:24 -07:00
Brandon Heller e282b6e29f Fix --mac breakage
The OVS interface for this moved to ovs-openflowd.

This functionality was never there for the user-space switch.  Now it's
in.
2010-08-16 12:04:23 -07:00
Brandon Heller 7abca147c4 vm: Remove SSH keychain load-on-boot script 2010-08-16 12:04:23 -07:00
Brandon Heller 71ba12c539 vm: Forgot to run boot.sh 2010-08-16 12:04:23 -07:00
Brandon Heller b97415eed4 vm: Use OVS git release
OVS1.0.1 does not work with veth pairs.
2010-08-16 12:04:23 -07:00
Brandon Heller 9f8c25515f Add missing dep for cbench 2010-08-16 12:04:23 -07:00
Brandon Heller 011b02f886 Update VM install for 1.0
Remove all OpenFlow Ref kmod stuff.
2010-08-16 12:04:23 -07:00
Bob Lantz fa8693480a Changed license to OpenFlow license. 2010-08-16 11:49:44 -07:00
Brandon Heller fc75a1b185 Add ability to specify hosts for iperf test 2010-08-16 11:41:25 -07:00
Bob Lantz 6e9074f89e Added error message if we can't read script file. 2010-08-10 18:57:00 -07:00
Bob Lantz 6aff964ea0 Added "source" command and restored echo after noecho command.
Interactive commands should "work", sort of.
2010-08-10 18:47:15 -07:00
Bob Lantz 272d496dfe Darned trailing whitespace. 2010-06-16 12:24:45 -07:00
Bob Lantz a6661f0ac1 Consistently use tcp:%s:%d for controller IP address format.
(In user, kernel and ovsk switch classes.)
2010-06-16 12:21:43 -07:00
Bob Lantz 68f5925ed6 Changed port to int type (was string, which caused %d not to work in node.py.) 2010-06-16 12:15:29 -07:00
Brandon Heller 3b48e82990 Add rough tutorial VM changes 2010-05-20 16:23:08 -07:00
Bob Lantz c26875cb55 Fixed minor breakage due to code cleanup. 2010-05-07 01:15:41 -07:00
Bob Lantz e3f6ecca97 Pass codecheck. 2010-05-06 17:48:15 -07:00
Bob Lantz 82b7207295 Pass pylint. 2010-05-06 16:24:15 -07:00
Bob Lantz 259d713315 Pass pyflakes. 2010-05-04 19:11:12 -07:00
Bob Lantz c79882b766 Fixed typo. 2010-05-04 17:32:46 -07:00
Bob Lantz fa20913b56 Added space to one line. 2010-04-29 16:18:25 -07:00
Bob Lantz 271013e0dc Minor cleanup. 2010-04-27 15:13:25 -07:00
Bob Lantz 6c5cc2bfee Fix malformed patch format.
For some reason, the leading spaces were missing.
2010-04-23 15:08:30 -07:00
Bob Lantz 83e7ea2a0d Correction: blacklist.conf -> blacklist
On debian, the module blacklist is blacklist, not
blacklist.conf.
2010-04-23 15:06:42 -07:00
Bob Lantz 6ef2973fe2 Use switches rather than switches.keys().
Minor cosmetic change, really.
2010-04-22 17:16:53 -07:00
Bob Lantz e55cbef182 Removed debugging printing.
Note now that we can pass options into switches; for example,
we could enable stp with Switch( 's1', opts='--stp' ).
2010-04-22 17:12:22 -07:00
Bob Lantz 3758da2ec8 Minor comment change. 2010-04-22 17:08:39 -07:00
Bob Lantz 121eb4496b Changed to support new cmd() interface.
It seems that it is more convenient to be able to call

cmd( 'foo', 'bar', 1)

for example. However, this may make it slightly less
efficient, so we will see how it works.
2010-04-22 17:06:34 -07:00
Bob Lantz 8bc0037938 Fixed link check and updated quietRun interface.
Link check wasn't quite right - e.g. 'eth1' could be found in
'eth10' previously.

Updated quietRun to allow passing in args directly rather than
as a list.
2010-04-22 17:05:27 -07:00
Bob Lantz 54dfb2434a Changed to use new cmd interface.
I'm still not 100% sure on this.
2010-04-22 17:04:48 -07:00
Bob Lantz b145865407 Added comment advising use of high-level API. 2010-04-22 17:04:17 -07:00
Bob Lantz 83332c1a42 Handle interfaces (e.g. real interfaces) without remote Node. 2010-04-22 17:03:26 -07:00
Bob Lantz d2ff558da7 Correctly handle xterm creation with new makeTerm interface. 2010-04-22 17:02:41 -07:00
Bob Lantz 34954fe671 Minor comment change. 2010-04-22 17:02:19 -07:00
Bob Lantz ab1fb093d1 Added output hook and graph. 2010-04-22 17:01:54 -07:00
Bob Lantz 2a554ae33c Changed 'args' to 'line' and fixed iperfudp. 2010-04-12 18:56:50 -07:00
Bob Lantz caf024bc98 Made help string a class var. 2010-04-12 18:52:00 -07:00
Bob Lantz e555f83c97 Replaced stdout.write() with output() 2010-04-12 18:45:43 -07:00
Bob Lantz c16679863b Updated comments to reflect interactive command support.
It may be fragile, but it does sort of work.
2010-04-12 18:37:33 -07:00