Brandon Heller
3774f234f0
Update license and add networkx dependency
2010-01-29 18:49:08 -08:00
Bob Lantz
64c451e01f
Minor bug fixes and tweaks.
...
Shell now works (although we should use quietRun instead to avoid
file descriptor problem!)
exit/quit/EOF now all exit.
Renamed pingall and pingpair to make them easier to type - I think
commands should not require use of the shift key in general, although
ping-all and ping-pair might be OK.
2010-02-09 22:40:51 -08:00
Bob Lantz
e34cd9a6cf
Added warn to complement info, error.
2010-02-09 22:37:22 -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
Bob Lantz
6d72a3cb0c
Minor cleanup; clarified fdToNode (still need to test however.)
2010-02-08 15:51:43 -08:00
Bob Lantz
d5886525cc
Changed to use info() and error() logging aliases.
2010-02-08 15:51:25 -08:00
Bob Lantz
f8952d56e1
Added info() and error() as aliases for lg.info() and lg.error()
2010-02-08 15:49:32 -08:00
Bob Lantz
bd1e997f15
Remove backslash.
2010-02-08 15:43:23 -08:00
Bob Lantz
8895862acf
Munged mn and mnclean into mininet style.
2010-02-08 15:42:31 -08:00
Bob Lantz
7c371cf32a
Comment tweaks.
2010-02-05 17:29:15 -08:00
Bob Lantz
e85f8bdf29
Removed hash-bang in module files which aren't executed directly,
...
with the exception of topo.py, which I haven't touched.
2010-02-05 17:22:18 -08:00
Bob Lantz
7d4b7b7f47
Comment tweaks and additions.
2010-02-05 17:18:08 -08:00
Bob Lantz
496b5f9ed0
Moved CLI into its own file. Also, MininetCLI is now just 'CLI'.
2010-02-05 17:01:03 -08:00
Bob Lantz
281f6e59db
Minor changes to get 'make test' to pass.
...
- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair
2010-02-05 16:42:01 -08:00
Bob Lantz
80a8fa62d5
First crack at restoring mininet python style, assisted by handy
...
'unpep8' script, which does most of the work.
- topo.py is still in pep8
- not all examples work, but this is due to other issues
2010-02-05 02:33:34 -08:00
Bob Lantz
bebe9dbed2
First crack at restoring Mininet style (via handy 'unpep8' script, which
...
does most of the work.)
topo.py is still in pep8, however
2010-02-04 23:35:07 -08:00
Bob Lantz
46fa564a8a
Changed to ignore W0511, which fails on TODO, FIXME, etc..
...
We may wish to re-enable this later.
2010-02-04 23:13:33 -08:00
Bob Lantz
0df8b19568
Renamed logging_mod.py -> log.py
...
Updated other files accordingly.
2010-02-03 15:38:29 -08:00
Bob Lantz
ac9554d6dc
Renamed mn_run.py -> mn, mn_clean.py -> mnclean; updated Makefle
...
It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.
Added variables to Makefile so that source files are listed in a single
location.
2010-02-03 15:29:07 -08:00
Bob Lantz
799242c617
Fixed undefined variable 'custom' in setup().
2010-02-03 15:06:41 -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
Brandon Heller
1b6a9c3a20
Add missing pylint settings file
2010-01-09 21:12:17 -08:00
Brandon Heller
f7c2df2513
Support OpenVSwitch in kernel-mode
2010-01-09 21:11:25 -08:00
Brandon Heller
723d068c51
Add static code checking for style and errors
...
This required a change to logging, which now uses a singleton pattern.
For all future checkins, 'make codecheck' should pass.
2010-01-09 17:59:43 -08:00
Brandon Heller
ca58c896dd
Restore user-space switch option
...
Switches and controller in root namespace only, for now.
2010-01-07 00:54:27 -08:00
Brandon Heller
d856c81896
Support out-of-order link addition
...
Sort interface names before passing to dpctl for kernel switch, so that
links for multipath topologies can be added in any order.
2010-01-06 21:23:33 -08:00
Brandon Heller
6d2cd77b5a
Add reversed version of the SingleSwitch topology
...
Possibly useful for adding custom port mappings.
2010-01-06 08:53:01 -08:00
Brandon Heller
80b3dbbd48
CLI: add node dump-all-data command
2010-01-06 08:52:38 -08:00
Brandon Heller
74ef761529
CLI: add interface dump command
2010-01-06 08:40:07 -08:00
Brandon Heller
ee00736307
Add default ip and port for remote controller
2010-01-06 07:22:45 -08:00
David Erickson
60d9ead65a
Added a RemoteController object
...
Now you can run a controller on a remote PC that is
not on the same pc as Mininet.
2010-01-01 03:26:58 -08:00
Brandon Heller
540379957b
Add MAC auto set for switches
...
Also use indexing for DPIDs to avoid zeroed MAC
2010-01-01 03:16:57 -08:00
Brandon Heller
376bcba442
Add options for auto MAC and ARP setup.
...
Auto MAC setup sets each host MAC equal to its DPID, which simplifies
debugging.
Auto ARP setup removes the need for broadcast support for ARP, which
enables a smaller NOX controller.
2010-01-03 09:16:14 -08:00
Brandon Heller
433a7cc88c
Make Ripcord-specific topologies optional
...
If ripcord.dctopo imports properly, then include its topologies in the
list of available ones. Also replace topo.py with new generic
topologies and update paths.
2010-01-03 03:53:23 -08:00
Brandon Heller
c98514ae44
Support more topologies
2010-01-03 02:44:08 -08:00
Brandon Heller
ac65ea3ff3
Increase createLink retry count
...
Was seeing occasional errors with tests run back-to-back.
2010-01-03 02:43:30 -08:00
Brandon Heller
fcf6a16f3d
Remove accidentally-added iperf verbosity
2010-01-02 11:20:41 -08:00
Brandon Heller
0cd489a78b
Add iperf UDP test
2010-01-02 10:58:28 -08:00
Brandon Heller
8a034f4f6c
Add xterm support
2010-01-02 10:58:28 -08:00
Brandon Heller
1bb4412ff3
Separate kernel and user switches into separate objects
2010-01-02 10:58:28 -08:00
Brandon Heller
16c57ddb33
Enable controller-less setups
2010-01-02 10:58:28 -08:00
Brandon Heller
4804237fa7
Add more NOX options
2010-01-02 10:58:28 -08:00
Brandon Heller
eeb9cb3c2b
Restore iperf test
...
Also simplify test running.
2010-01-02 10:58:25 -08:00
Brandon Heller
83086439cc
Remove/merge obsolete examples
2010-01-02 10:55:46 -08:00
Brandon Heller
8f20b95d56
Auto-install run and clean scripts
...
Also remove usused imports and outdated doc text.
2010-01-02 02:43:51 -08:00
Brandon Heller
a6b473227f
Add mn_run.py, a script to run Mininets.
...
Simplifies launching a Mininet or running tests on one.
2010-01-02 02:42:08 -08:00
Brandon Heller
8b5062a3a1
Move TreeNet to new Mininet API
...
Also remove all non-object-oriented legacy Mininet code and update
tests.
User-space compatibility is untested, but most of the code for it is
still in.
2009-12-26 14:25:48 -08:00