Commit Graph
591 Commits
Author SHA1 Message Date
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
Brandon Heller 57aae3e103 Add more param choices for iperf udp on CLI 2010-08-10 04:28:18 -07:00
Brandon Heller 60a39a7241 Add ability to specify hosts for iperf test 2010-08-10 02:16:36 -07:00
Brandon Heller 1a52deeea6 Remove print statement left in 2010-08-10 02:05:20 -07:00
Brandon Heller 956546acc7 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-09 23:22:40 -07:00
Brandon Heller e9d4482e42 Set default switch type to OVS 2010-08-06 10:39:39 -07:00
Brandon Heller d26abda426 Small OVS API change 2010-08-06 10:38:15 -07:00
Brandon Heller 81d27b3c56 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-06 10:34:17 -07:00
Brandon Heller 72ddde869c vm: Remove SSH keychain load-on-boot script 2010-08-06 01:15:40 -07:00
Brandon Heller cd19cf520f vm: Forgot to run boot.sh 2010-08-06 00:44:29 -07:00
Brandon Heller a434c3d1b6 vm: Use OVS git release
OVS1.0.1 does not work with veth pairs.
2010-08-06 00:36:39 -07:00
Brandon Heller 6aa7f3493b Add missing dep for cbench 2010-08-05 16:56:50 -07:00
Brandon Heller 32b122bf42 Update VM install for 1.0
Remove all OpenFlow Ref kmod stuff.
2010-08-04 21:56:04 -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