Brandon Heller
928c0761a0
Move code from mn into mininet/util to enable reuse
...
Any code in mn is not usable by other Python code.
Hence, move this code into util, so other scripts can use it.
2012-05-30 00:08:01 -07:00
Brandon Heller
30b4b4e7f9
Rename and document customNode
...
Now customConstructor, because it general to both links and nodes.
2012-05-29 23:57:52 -07:00
Brandon Heller
f509ae282d
cli: add time command
2012-05-25 16:34:05 -07:00
Brandon Heller
b80f4aeb85
install.sh: Copy Wireshark dissector to global plugin dir
2012-02-10 14:59:39 -08:00
Brandon Heller
4800435d1a
vm: Don't exit if some files aren't there
2010-08-18 04:43:51 -07:00
Brandon Heller
4d1c17e17e
Move kernel downloads to OpenFlow web page
2010-08-18 02:30:18 -07:00
Brandon Heller
9da63d4e85
Add dpctl command, which runs on all switches
2010-08-18 02:08:35 -07:00
Brandon Heller
0a9358c9fc
Add option to turn off passive listening port
2010-08-18 02:08:34 -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
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
Brandon Heller
fc75a1b185
Add ability to specify hosts for iperf test
2010-08-16 11:41:25 -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
Brandon Heller
3b48e82990
Add rough tutorial VM changes
2010-05-20 16:23:08 -07:00
Brandon Heller
15b482e375
Support gnome terminals too
...
Caution: code is incomplete - can't set a default type from the CLI
and in some places the phrase xterm should be replaced by terminal.
2010-04-05 02:27:00 -07:00
Brandon Heller
e540ab5726
Use quit rather than kill when cleaning up screens
...
Kill seems to get ignored, while quit kills the detached sessions.
2010-04-05 02:07:23 -07:00
Brandon Heller
ce9cd5bee5
Add command to spawn an xterm
2010-04-05 01:06:30 -07:00
Brandon Heller
74cd084315
Clean up a few more things
2010-03-23 00:51:45 -07:00
Brandon Heller
1e4f337584
Fix path for cleaning
2010-03-23 01:18:48 -07:00
Brandon Heller
f5191b855f
Revert "Add ability to pause and resume any node"
...
This reverts commit 07aad11081 .
When the semantics are clear, functionality like this will get added back to
Mininet.
Conflicts:
mininet/node.py
2010-03-23 01:15:51 -07:00
Brandon Heller
f32a546855
Fix NOX breakage
...
Controllers are no longer namespace-able, and all calls need one fewer
arg.
Also use more sensible temporary variable name.
2010-03-23 00:48:35 -07:00
Brandon Heller
e4370f7ee7
Run depmod for specified kernel
2010-03-22 23:56:58 -07:00
Brandon Heller
c9ae0ab003
Generate initrd if missing
...
Works around bug in newer version of kernel-package.
2010-03-23 01:45:59 -07:00
Brandon Heller
fc48e6ee7c
Add VM build option for 2.6.33 OVS/OF
2010-03-22 23:17:22 -07:00
Brandon Heller
9a7717ed9d
Get past NOX build error w/newer autoconf
2010-03-22 22:44:31 -07:00
Brandon Heller
c532689266
Clone NOX into ~/ and fix typo
2010-03-22 22:28:13 -07:00
Brandon Heller
d82b6183d6
Get past verification error
2010-03-22 22:14:57 -07:00
Brandon Heller
a9aebba7f7
Restore 2.6.29 as default image
2010-03-22 22:14:10 -07:00
Brandon Heller
9098528a16
Fix CLI breakage with new test interface
2010-03-24 07:24:26 -07:00
Brandon Heller
55c335849a
Add OVS patch for 2.6.33+
...
Thanks to Ben Pfaff who wrote the patch
2010-03-24 05:20:12 -07:00
Brandon Heller
4779fa84f9
Add bash_profile for VM build
2010-03-24 05:20:12 -07:00
Brandon Heller
0b1832ddc2
Consolidate install script and add cmd-line options
...
Now, the majority the install can be done with one line, but the other
to each part of the install is still available.
Also fix a few bugs and add Wireshark coloring rules.
2010-03-24 05:19:52 -07:00
Brandon Heller
a3d899123d
Comment clarification
2010-03-14 03:57:25 -07:00
Brandon Heller
b055728fd5
Automatically load kernel module dependencies
...
Before this commit, you'd have to manually insert the kernel module for
OVS or OF kernel modules, and you couldn't run one regression test with
all 3.
Now, these are kmod insert/remove is handled automatically.
2010-03-14 03:53:16 -07:00
Brandon Heller
a165881049
Ignore pyc files
2010-03-14 03:53:16 -07:00
Brandon Heller
e01292c167
Fix minor typo
2010-03-14 03:53:16 -07:00
Brandon Heller
956bf4f2d0
Fix param typo
2010-03-14 03:53:15 -07:00
Brandon Heller
3fac5a43d7
Handle ping output for paused hosts
2010-03-13 21:44:11 -08:00
Brandon Heller
07aad11081
Add ability to pause and resume any node
2010-03-13 21:35:52 -08:00
Brandon Heller
28cd95c374
Fix link command parsing bug
2010-03-13 21:32:11 -08:00
Brandon Heller
af380c8912
Show PIDs in dump()
2010-03-13 16:36:34 -08:00
Brandon Heller
8d3c2859e4
Add port status change command
2010-03-13 06:30:53 -08:00
Brandon Heller
e7c787b343
Fix sending commands to switches
2010-03-13 06:02:40 -08:00
Brandon Heller
44c63c2abd
Fix OVS breakage
2010-03-12 16:13:09 -08:00
Brandon Heller
77529ce550
Ignore binary and egg data
2010-03-12 16:13:08 -08:00
Brandon Heller
c30e500731
Update install instructions
2010-03-12 16:13:08 -08:00
Brandon Heller
b403cc7f96
Colorize git output by default in VM
2010-03-12 16:13:08 -08:00
Brandon Heller
3b1174eff6
Update install scripts
...
Don't build NOX and OVS as root. Also don't nuke kernel src. Install
newer autoconf needed for OVS install from Deb backports, not src.
2010-03-12 16:13:08 -08:00
Brandon Heller
b0a7a2579a
Fix OVS breakage
2010-03-10 15:44:00 -08:00
Brandon Heller
4e57ddbce1
Ignore binary and egg data
2010-03-09 22:45:54 -08:00
Brandon Heller
8f30aa0017
Update install instructions
2010-03-09 22:37:29 -08:00
Brandon Heller
f7f2f977d5
Colorize git output by default in VM
2010-03-09 22:16:30 -08:00
Brandon Heller
188964c911
Update install scripts
...
Don't build NOX and OVS as root. Also don't nuke kernel src. Install
newer autoconf needed for OVS install from Deb backports, not src.
2010-03-09 22:16:30 -08:00
Brandon Heller
cdeaca8682
Rename cliinfo debug level to output
2010-03-05 04:11:29 -08:00
Brandon Heller
dfc08a869e
Add none test to measure MN creation/teardown time
2010-03-05 04:08:58 -08:00
Brandon Heller
c8641d7d15
Fix remote controller param
2010-03-05 01:13:22 -08:00
Brandon Heller
7ae73e677f
Fix pylint warnings
2010-03-04 22:36:34 -08:00
Brandon Heller
f259e2fa1c
Don't try to codecheck non-existent mnclean
2010-03-04 22:26:29 -08:00
Brandon Heller
509a852f18
Add TreeTopo to cmd line
2010-03-04 21:52:41 -08:00
Brandon Heller
3eb5abe6a7
Make cleanup a param of mn, not a separate script
...
Also switch from print to info statements, to enable a non-verbose
clean. Instead of 'mnclean', now run 'mn -c'.
2010-03-04 21:47:50 -08:00
Brandon Heller
4e69ae83dd
Slightly reduce cliinfo verbosity
2010-03-04 21:34:01 -08:00
Brandon Heller
bb941950d5
Add flexible topology input parsing
...
Now you can pass a topology name followed by params. For example, to
create a switch with 3 hosts:
sudo mn --topo single,3
2010-03-04 21:29:32 -08:00
Brandon Heller
1a40cd0477
Add new loglevel to display CLI output only
...
Also print warning if user chooses a loglevel that will hide CLI output.
2010-03-04 18:58:37 -08:00
Brandon Heller
28ab4a33d6
Add env var to install script
2010-02-18 12:10:36 -08:00
Brandon Heller
4f4f1dd2fa
Fix KeyError for missing NOX env var
2010-02-18 11:44:08 -08:00
Brandon Heller
8ff7ee4297
Remove NOX_INSTALL file
...
NOX Install is covered in the wiki and in util/deb/install_nox.sh.
2010-02-18 11:37:50 -08:00
Brandon Heller
4e94bac0ae
Update custom topo instructions
2010-02-18 11:36:56 -08:00
Brandon Heller
fe29f64dd3
More specific topo example filename
2010-02-18 10:49:23 -08:00
Brandon Heller
2b083dd191
Add gitk to installed VM tools
2010-02-18 06:02:00 -08:00
Brandon Heller
777c90236e
Add VM install scripts
2010-02-18 00:09:12 -08:00
Brandon Heller
8d8ac76e85
Move sysctl script to util
2010-02-17 22:47:03 -08:00
Brandon Heller
f52edfc545
Move sysctl params to separate file
...
Simplifies installation step
2010-01-31 06:58:02 -08:00
Brandon Heller
befa1310df
Revamp custom topology input
...
Defining custom topologies, switch types, controllers, and hosts is now
much easier. Plus, all Ripcord-specific stuff has been moved out.
2010-01-30 02:46:08 -08:00
Brandon Heller
3774f234f0
Update license and add networkx dependency
2010-01-29 18:49:08 -08:00
Brandon Heller
114dcd5653
Improve CLI line editing capabilities
...
Convert CLI to use Python Cmd object, which provides line editing.
2010-01-29 14:42:53 -08:00
Brandon Heller
83097ff942
Fix errors from style changes
2010-01-29 13:29:12 -08:00
Brandon Heller
8f99421e02
Fix setuptools installation
...
The packages argument was incorrectly specified, leading to an install
process that would appear to have succeeded, but would not actually copy
code.
The error likely occurred due to copying setup.py from another project
where the source files were located in a different position relative to
setup.py.
2010-01-27 22:45:05 -08:00
Brandon Heller
8e8081c408
Add VL2 reduced topology
2010-01-25 15:27:50 -08:00
Brandon Heller
3031d31efe
Add ability to read custom Mininets
2010-01-11 16:40:25 -08:00