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
Bob Lantz
e91b2815fa
Moved waitForNode. Maybe candidate for util.py or static method...
2010-03-24 17:21:57 -07:00
Bob Lantz
c2cc1aacf6
Attempt to handle interrupts in the middle of CLI commands.
2010-03-24 17:17:24 -07:00
Bob Lantz
41badb9686
Pass code check.
2010-03-24 17:08:25 -07:00
Bob Lantz
45e82d0952
Restored treeping64 and tre1024 examples and updated README.
2010-03-24 17:04:11 -07:00
Bob Lantz
d93c6ef6ce
Change to use setLogLevel()
2010-03-24 17:03:57 -07:00
Bob Lantz
fe414722ac
Change to use setLogLevel()
2010-03-24 17:03:49 -07:00
Bob Lantz
8423875b37
Change to use new interface to mn.run()
2010-03-24 17:03:27 -07:00
Bob Lantz
47acf53974
Change to use printf rather than echo.
2010-03-24 17:02:44 -07:00
Bob Lantz
67516aa44f
Change run() to allow running external functions.
2010-03-24 16:58:44 -07:00
Bob Lantz
6e4e79afc3
Add setLogLevel as an export.
2010-03-24 16:58:27 -07:00
Bob Lantz
22f807fc6f
Reinstated multitest example and updated examples/README.
2010-03-24 15:20:22 -07:00
Bob Lantz
b2ef87ae51
Changes to pass code check.
...
We should check NOXController and RemoteController to make sure that
they are not broken, but I cannot do this at the moment.
2010-03-24 15:02:28 -07:00
Bob Lantz
0774c8bbce
Added two spaces before in-line # comments.
2010-03-24 14:42:42 -07:00
Bob Lantz
cf6f67045b
Added two spaces before in-line # comments.
2010-03-24 14:41:40 -07:00
Bob Lantz
353411422e
Minor formatting changes.
2010-03-24 13:42:46 -07:00
Bob Lantz
c70aab0a38
Changed mininet.link() to mininet.configLinkStatus(src,dst,status)
...
Also rearranged parameters in link command to
mininet> link s1 h2 up
To resemble ifconfig a bit more.
2010-03-23 15:25:12 -07:00
Bob Lantz
fb2f652319
Changed mininet.link() to support multiple links.
...
It should also probably be renamed to something like:
configLinks(src, dst, status).
2010-03-23 15:05:55 -07:00
Bob Lantz
178a3d8410
Minor tweaks.
2010-03-22 19:34:47 -07:00
Bob Lantz
c8fbd4465c
Updated installation notes and added patch for controller.c.
2010-03-22 17:50:02 -07:00
Bob Lantz
f2eaeac78c
Added patch for 2.6.33.x kernel.
2010-03-22 16:24:22 -07:00
Bob Lantz
6ab417ccd7
Added setup for kernel switch.
2010-03-22 16:24:04 -07:00
Bob Lantz
3e624fb237
Added openvswitch kernel switch.
2010-03-17 23:43:03 -07:00
Bob Lantz
8abc3472e3
Pass code check.
2010-03-16 14:59:46 -07:00
Bob Lantz
ec7b211c41
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
is), which may make it more reliable. Hopefully it's a bit clearer
as well, although it is slightly more complicated.
2010-03-16 14:59:45 -07:00
Bob Lantz
6ab1f1ff23
Run in non-verbose mode, and print network sizes.
2010-03-16 14:59:45 -07:00
Bob Lantz
736038f8ef
Added README for examples.
2010-03-16 14:59:45 -07:00
Bob Lantz
e4c82e526e
Change Node.monitor() to just return output.
...
It seems easier to rely on node.waiting for the moment.
2010-03-16 14:59:45 -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
Bob Lantz
e100d1d9d0
Change ofprotocold -> ovs-openflowd in OVSKernelSwitch.
2010-03-15 19:27:55 -07:00
Bob Lantz
ad824e4e84
Pass codecheck.
2010-03-15 19:24:54 -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
Bob Lantz
cae423e543
For now, make install.
2010-03-14 19:32:10 -07:00
Bob Lantz
7f9eb9e540
Changed remaining refs to netns to refer to mnexec.
2010-03-14 19:28:19 -07:00
Bob Lantz
3465c9ea64
Updated to reflect changes and include 2.6.33 patch.
2010-03-14 19:19:10 -07:00
Bob Lantz
ed097b3b9c
Working a bit on text files. Removed netns.
2010-03-14 15:18:17 -07:00
Bob Lantz
bca38c997e
Minor config notes changes.
2010-03-14 00:18:24 -08:00
Bob Lantz
0e2a7240c3
Reinstate mnexec in install.
2010-03-14 00:11:36 -08:00
Bob Lantz
51a1482407
Removed unused variable.
2010-03-14 00:03:54 -08:00
Bob Lantz
0e3fef2fb3
Merge branch 'master' of yuba.stanford.edu:mininet
...
Conflicts:
mininet/node.py
2010-03-13 18:28:48 -08:00
Bob Lantz
bcacfc0510
Support for control-C. Finally.
...
I've changed the way things work a bit:
1. netns is replaced by mnexec, a general-purpose mininet helper.
2. For interactive commands, we now use mnexec -p, which prints out
the pid, so we can kill it when someone hits control-C!
3. We close file descriptors for subshells. This might save memory,
but who knows.
4. We detach our subshells from the tty using mnexec -s; thus
control-C should not terminate everything.
5. Given 4, mn -c is now necessary if you kill mininet.
2010-03-13 18:23:07 -08:00