Statistics
| Branch: | Tag: | Revision:

mininet / mininet / util.py @ efc9a01c

History | View | Annotate | Download (4.92 KB)

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

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.

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.

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.

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.

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

Increase createLink retry count

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

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

Add MAC auto set for switches

Also use indexing for DPIDs to avoid zeroed MAC

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

Move fixLimits function to util

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