Statistics
| Branch: | Tag: | Revision:

mininet / mininet @ efc9a01c

# Date Author Comment
efc9a01c 03/03/2010 09:52 PM Bob Lantz

Moved link creation into Node.addIntf() and fixed util:CreateLink().

Also tweaked cmd/cmdPrint to make them more beautiful and functional,
and a few other minor changes, such as using a new idiom for verbose.

These changes support reinstating the examples.

04fa18dc 03/03/2010 09:51 PM Bob Lantz

Changed cmdPrint to cmd.

a681f9b6 03/03/2010 09:50 PM Bob Lantz

Added debug() convenience function.

1fdcd676 03/03/2010 09:46 PM Bob Lantz

Added py command to evaluate Python expressions, e.g. h1.cmd('ls')

137ec305 03/01/2010 11:38 PM Bob Lantz

Removed trailing spaces.

63214ea2 03/01/2010 11:34 PM Bob Lantz

Merge branch 'customtopos' into bl-dev

e0cfcdd5 03/01/2010 11:21 PM Bob Lantz

Tweaks to pass code check.

2235f216 02/28/2010 07:40 AM Bob Lantz

Minor cleanup of mn/net and fixes for CLI.

All commands should work now.

c3a44400 02/28/2010 07:19 AM Bob Lantz

Changed custom feature so that params aren't added to globals.

There is probably a better way of doing this, but currently
parseCustomFile can modify globals (e.g. TOPOS) as well as
instance variables (self.validate) and classes (e.g. MyTopo),
which are also in the global name space....

54683776 02/27/2010 09:55 PM Bob Lantz

Removed blank line at EOF.

dba3b599 02/27/2010 09:54 PM Bob Lantz

Changed to dump bad iperf output.

78073e1b 02/27/2010 09:54 PM Bob Lantz

Fixed to be compatible with modified Mininet() class.

d40b0a99 02/27/2010 02:54 AM Bob Lantz

Merge branch 'customtopos' into bl-dev

235415cf 02/27/2010 01:25 AM Bob Lantz

Ran unpep8 on test_nets.py.

019bff82 02/27/2010 01:16 AM Bob Lantz

Made it possible to create a Mininet() without using a Topo object.

This increases flexibility by allowing a topology to be manually created
in Python, or specified using another format, without having to create
a Topo object first.

However, Topos are useful, and are still the default topology object!

4f4f1dd2 02/18/2010 07:44 PM Brandon Heller

Fix KeyError for missing NOX env var

31b43002 02/16/2010 10:42 PM Bob Lantz

Added a bit to comments, and removed trailing spaces.

64c451e0 02/10/2010 06:40 AM Bob Lantz

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...

e34cd9a6 02/10/2010 06:37 AM Bob Lantz

Added warn to complement info, error.

6d72a3cb 02/08/2010 11:51 PM Bob Lantz

Minor cleanup; clarified fdToNode (still need to test however.)

d5886525 02/08/2010 11:51 PM Bob Lantz

Changed to use info() and error() logging aliases.

f8952d56 02/08/2010 11:49 PM Bob Lantz

Added info() and error() as aliases for lg.info() and lg.error()

bd1e997f 02/08/2010 11:43 PM Bob Lantz

Remove backslash.

7c371cf3 02/06/2010 01:29 AM Bob Lantz

Comment tweaks.

e85f8bdf 02/06/2010 01:22 AM Bob Lantz

Removed hash-bang in module files which aren't executed directly,
with the exception of topo.py, which I haven't touched.

7d4b7b7f 02/06/2010 01:18 AM Bob Lantz

Comment tweaks and additions.

496b5f9e 02/06/2010 01:01 AM Bob Lantz

Moved CLI into its own file. Also, MininetCLI is now just 'CLI'.

281f6e59 02/06/2010 12:42 AM Bob Lantz

Minor changes to get 'make test' to pass.

- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair

80a8fa62 02/05/2010 10:33 AM Bob Lantz

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

0df8b195 02/03/2010 11:38 PM Bob Lantz

Renamed logging_mod.py -> log.py

Updated other files accordingly.

befa1310 01/30/2010 10:46 AM Brandon Heller

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.

114dcd56 01/29/2010 10:42 PM Brandon Heller

Improve CLI line editing capabilities

Convert CLI to use Python Cmd object, which provides line editing.

83097ff9 01/29/2010 09:29 PM Brandon Heller

Fix errors from style changes

f7c2df25 01/10/2010 05:11 AM Brandon Heller

Support OpenVSwitch in kernel-mode

723d068c 01/10/2010 01:59 AM Brandon Heller

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.

ca58c896 01/07/2010 08:54 AM Brandon Heller

Restore user-space switch option

Switches and controller in root namespace only, for now.

d856c818 01/07/2010 05:23 AM Brandon Heller

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.

6d2cd77b 01/06/2010 04:53 PM Brandon Heller

Add reversed version of the SingleSwitch topology

Possibly useful for adding custom port mappings.

80b3dbbd 01/06/2010 04:52 PM Brandon Heller

CLI: add node dump-all-data command

74ef7615 01/06/2010 04:40 PM Brandon Heller

CLI: add interface dump command

ee007363 01/06/2010 03:22 PM Brandon Heller

Add default ip and port for remote controller

376bcba4 01/03/2010 05:16 PM Brandon Heller

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.

433a7cc8 01/03/2010 11:53 AM Brandon Heller

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.

c98514ae 01/03/2010 10:44 AM Brandon Heller

Support more topologies

ac65ea3f 01/03/2010 10:43 AM Brandon Heller

Increase createLink retry count

Was seeing occasional errors with tests run back-to-back.

fcf6a16f 01/02/2010 07:20 PM Brandon Heller

Remove accidentally-added iperf verbosity

0cd489a7 01/02/2010 06:58 PM Brandon Heller

Add iperf UDP test

8a034f4f 01/02/2010 06:58 PM Brandon Heller

Add xterm support

1bb4412f 01/02/2010 06:58 PM Brandon Heller

Separate kernel and user switches into separate objects

16c57ddb 01/02/2010 06:58 PM Brandon Heller

Enable controller-less setups

4804237f 01/02/2010 06:58 PM Brandon Heller

Add more NOX options

eeb9cb3c 01/02/2010 06:58 PM Brandon Heller

Restore iperf test

Also simplify test running.

8f20b95d 01/02/2010 10:43 AM Brandon Heller

Auto-install run and clean scripts

Also remove usused imports and outdated doc text.

60d9ead6 01/01/2010 11:26 AM David Erickson

Added a RemoteController object

Now you can run a controller on a remote PC that is
not on the same pc as Mininet.

54037995 01/01/2010 11:16 AM Brandon Heller

Add MAC auto set for switches

Also use indexing for DPIDs to avoid zeroed MAC

8b5062a3 12/26/2009 10:25 PM Brandon Heller

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.

e3621eb0 12/26/2009 03:40 PM Brandon Heller

Move fixLimits function to util

89bf3103 12/20/2009 10:19 PM Brandon Heller

Move Node functions into their own file

Nodes include Switch, Host, and Controller; move these to a separate
file.

This file still could use some attention to hide private functions.
Node seems like a primary class to extend, for adding stuff like Open
vSwitch, so it could benefit from a simpler interface.

4d2d52c3 12/20/2009 05:46 PM Brandon Heller

Remove unused function

220890a0 12/20/2009 05:32 PM Brandon Heller

Move utility functions out of mininet.py

Having a file with the same name as its package creates hard-to-diagnose
import error, so rename mininet.py to net.py. This commit moves utility
functions, generally those dealing with network namespaces and interface...

75810224 12/20/2009 11:54 AM Brandon Heller

Remove verbose command printouts

8e63d3cb 12/20/2009 03:21 AM Brandon Heller

Add missing newline printouts

fabbac88 12/20/2009 03:21 AM Brandon Heller

Document retry function

2e52801d 12/20/2009 03:20 AM Brandon Heller

Fix IP printing exception

b426d24e 12/20/2009 03:05 AM Brandon Heller

Minor documentation

b6423f8c 12/19/2009 04:36 AM Brandon Heller

Fix module resolution

Forgot to add init.py

15f37cc2 12/19/2009 04:36 AM Brandon Heller

Add LinearNet test case

7b804ffb 12/19/2009 04:36 AM Brandon Heller

More flexible logging support

Use customized StreamHandler from Python logging module to print
only messages for the specified loglevel to the console.

1095628b 12/18/2009 11:51 PM Brandon Heller

Clean up display

Don't print retry errors by default.

7c1d7c9f 12/18/2009 11:42 PM Brandon Heller

Don't attempt to kill processes twice

Was causing OSErrors because the process to kill no longer existed.

345bf7cc 12/18/2009 11:39 PM Brandon Heller

Reduce interface move delay and make configurable

Much faster now; from 1 s delay to 100 us.

ff43615a 12/18/2009 08:15 PM Brandon Heller

Add example unit tests and Makefile target

51270ce4 12/18/2009 08:12 PM Brandon Heller

Use setuptools to install python files

Now, to reference mininet files, use 'import mininet.mininet'.

PYTHONPATH mods are no longer required for installation.