Bob Lantz
cbe20c7587
Remove unused imports.
2012-03-08 00:05:25 -08:00
Bob Lantz
b1f90976a3
Remove default classes since Mininet() really handles them.
2012-03-07 00:03:38 -08:00
Bob Lantz
94c02695fd
Clarify precedence of default classes.
2012-03-06 23:50:46 -08:00
Bob Lantz
a6bcad8f48
Intf and Link classes. Latter support bandwidth limits using tc.
2012-03-02 15:45:21 -08:00
Bob Lantz
24baea734f
Changed networkx import line; we may have to deal with version issues here.
2010-10-17 17:36:48 -07:00
Bob Lantz
68c89df8a1
Pass make codecheck.
2010-08-16 19:35:49 -07:00
Bob Lantz
dd159b4a73
mininet.node.SWITCH_PORT_BASE specifies first switch port number.
...
This should be mostly cosmetic, but it causes switches to number
their ports consistently with OpenFlow 1.0, which starts at 1.
For older versions of OpenFlow, SWITCH_PORT_BASE may be set to zero.
2010-08-16 14:49:02 -07:00
Bob Lantz
0774c8bbce
Added two spaces before in-line # comments.
2010-03-24 14:42:42 -07:00
Bob Lantz
80be564274
Removed underscores for public Node methods. Minor cleanup & comments.
2010-03-08 15:32:41 -08:00
Brandon Heller
befa1310df
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.
2010-01-30 02:46:08 -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
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
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
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
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