Bob Lantz
7fe847967d
clean up "make man" slightly
2012-07-03 22:08:25 -07:00
Bob Lantz
f2e7884ade
Add support for generating man page from mn --help.
2012-07-01 23:23:56 -07:00
Bob Lantz
0809105bed
Fixing some lintian problems.
2012-07-01 23:22:44 -07:00
Bob Lantz
93bf7793cb
Debian copyright wants a real file, so change LICENSE to symlink.
2012-07-01 23:22:05 -07:00
Bob Lantz
ec969b7f99
Change default controller for mn to ovsc (ovs-controller.)
...
Also add check to see if another controller is running -
eventually we should really detect errors from starting the
controller!!
2012-07-01 20:31:30 -07:00
Bob Lantz
cb859243a5
Added Debian/Ubuntu packaging - thanks to James Page.
2012-07-01 19:16:41 -07:00
Bob Lantz
e04c207c3c
Update for Mininet 2.0.0 development.
2012-07-01 19:08:20 -07:00
Bob Lantz
0f832c9226
Propagate prefix length to host IP configuration.
2012-06-25 14:14:09 -07:00
Nikhil Handigol
107785ddf1
RED bug fix in another place
2012-06-05 12:18:26 -07:00
Nikhil Handigol
6bb5e12347
RED bug fix: change avg. packet size
2012-06-05 12:16:32 -07:00
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
Bob Lantz
6c947bca07
More indent errors - curse you emacs.
2012-05-23 21:12:24 -07:00
Bob Lantz
e4514a4ecb
Still more indentation errors. ;-p
2012-05-23 21:09:14 -07:00
Bob Lantz
8c778bb081
Fix indentation errors.
2012-05-23 21:06:15 -07:00
Bob Lantz
f1bf3c60e0
Added popenpoll.py example of using popen()/pmonitor()
2012-05-23 20:56:35 -07:00
Bob Lantz
06f7408cf2
Fix popen to allow popen( cmd, arg1, arg2, arg3 )
2012-05-23 20:04:36 -07:00
Bob Lantz
e1ca7196c7
configHosts(): don't try to configure nonexistent interfaces.
2012-05-23 13:37:02 -07:00
Bob Lantz
8f310286f8
Add setLinkInfo() which seems to be missing.
2012-05-21 23:09:11 -07:00
Nikhil Handigol
b97c0392a9
make install for sch_htb.ko
2012-05-17 19:59:55 +00:00
Nikhil Handigol
9c6620d85d
modified HTB to fix the perfect synchronization bug
2012-05-17 17:13:30 +00:00
Nikhil Handigol
ae2ede7994
bug fix: link config
2012-05-17 17:05:37 +00:00
Bob Lantz
b91008345f
Fix pexec('echo foo', shell=True)
2012-05-16 23:59:12 -07:00
Bob Lantz
2f8dfe5810
Ignore error installing OVS controller, and disable its startup script.
2012-05-14 17:29:24 -07:00
Bob Lantz
79dcdc0491
Add libconfig-dev dependency for oflops.
2012-05-14 16:58:36 -07:00
Bob Lantz
b0fb398833
Patch/hacks to enable NOX destiny/classic to compile on Ubuntu 12.04
2012-05-14 16:03:48 -07:00
Bob Lantz
6e64deec08
Fix typo.
2012-05-13 15:29:08 -07:00
Bob Lantz
b97c1dbd56
Set dpid on OVSSwitch.
2012-05-13 15:11:41 -07:00
Bob Lantz
d75e39ac61
Change wireshark install to reflect new repository location.
2012-05-13 14:43:25 -07:00
Bob Lantz
e8d60e0fcf
Pass code check.
2012-05-10 22:37:49 -07:00
Bob Lantz
0d94548a09
Fix default dpid which should be 12 digits for reference user switch.
2012-05-10 22:36:20 -07:00
Bob Lantz
4c3ff8f184
Remove accidentally added debugging line.
2012-05-10 22:23:31 -07:00
Bob Lantz
0e8cca0869
Remove unnecessary and broken --ip option.
2012-05-10 16:54:03 -07:00
Bob Lantz
0eba655d2d
Fix RemoteController which was still using defaultIP rather than ip.
2012-05-10 16:52:40 -07:00
Bob Lantz
cece39e439
Fix poller to only check if stdin and node are readable.
...
Thanks to James Zeng for pointing this out!
2012-05-10 16:32:55 -07:00
Bob Lantz
cfd381134f
Fix errRun to not exit until all of stdout and stderr have been read.
2012-05-09 22:59:30 -07:00
Bob Lantz
55cf19c4de
Improve error handling for defaultDpid()
...
I think it's worth considering how we want to specify dpids for
switches. One way would be to have Mininet (optionally) pick them
automatically. Another way, which I have currently implemented, is
to intuit them from the name, for example s1 -> 1. The latter is
slightly inefficient, but is convenient because it ensures that
there is a logical mapping between switch names and dpids, which
is very helpful for debugging an OpenFlow system!
Probably we should just clarify that the easiest way to set a dpid
is to include it in the switch name, but you can also pass it in
as a custom parameter to the constructor.
2012-04-25 14:21:39 -07:00
Bob Lantz
50cebe6753
Add pmonitor() to make it easy to monitor popen objects.
2012-04-13 17:42:37 -07:00
Bob Lantz
237a3c54cf
Begin test/example for popen().
2012-04-13 15:50:45 -07:00
Bob Lantz
5ca91f9ced
White space edits for code check.
2012-04-13 15:50:45 -07:00
Bob Lantz
df600200a7
CPULimiteHost.popen(): set cgroup and (optionally) RT priority
2012-04-13 15:50:45 -07:00
Bob Lantz
089e8130e4
Add popen() to regular hosts (cpu limited in progress)
2012-04-13 15:50:45 -07:00
Bob Lantz
e78e8fb56a
Add support for attaching to network namespace using setns(2)
2012-04-13 15:50:45 -07:00
Bob Lantz
669e420cc4
Add default value mems=0 for memory placement.
2012-04-13 07:38:35 +00:00
Bob Lantz
5507550c53
Fix wireshark dissector install on 11.10
2012-04-11 13:20:18 -07:00
Bob Lantz
7cb340b7c9
Pass code check.
2012-04-10 00:12:37 +00:00
Bob Lantz
92b601aba9
Allow fail-mode to be set.
...
Probably we should have a generic mechanism to specify OVS options.
2012-04-10 00:12:03 +00:00
Bob Lantz
350fdbfe50
Allow modules (node.py) to be 1500 lines. Maybe reduce this someday.
2012-04-10 00:02:56 +00:00
Bob Lantz
548580d817
Allow lists of nodes to be passed to getNodeByName
...
....which should perhaps be renamed!!!
2012-04-09 23:54:17 +00:00