Statistics
| Branch: | Tag: | Revision:

mininet / mininet / node.py @ e953444f

History | View | Annotate | Download (20.1 KB)

# Date Author Comment
e953444f 03/13/2010 09:59 PM Bob Lantz

Corrected list checkin sendCmd.

4065511a 03/13/2010 12:16 AM Bob Lantz

Detach shells from tty; monitoring changes.

Call netns using setsid to detach from the tty; this is
intended to fix the problem of control-C killing your network.

sendInt() doesn't actually work - hopefully we can fix this in the
future, but it's tricky since we want to detach the many shells from...

44c63c2a 03/13/2010 12:13 AM Brandon Heller

Fix OVS breakage

e3a2ef01 03/10/2010 05:52 AM Bob Lantz

Fixed docstrings for switch arg: name.

d44a5843 03/10/2010 05:48 AM Bob Lantz

Reinstantiated inNamespace and routed control network.

We need to figure out how to specify the IP addresses for the
routed control network. For now I'm going back to 192.168.12x.y

Also changed controller params to use IP strings rather than
numbers. However, we still need to clarify what ControllerParams...

80be5642 03/08/2010 11:32 PM Bob Lantz

Removed underscores for public Node methods. Minor cleanup & comments.

6f45478f 03/05/2010 09:59 PM Bob Lantz

Removed spaces.

75d72d96 03/05/2010 09:58 PM Bob Lantz

Restored accidentally deleted kill %ofpd lines. Added Node.MAC

c8641d7d 03/05/2010 09:13 AM Brandon Heller

Fix remote controller param

086ef80e 03/05/2010 12:53 AM Bob Lantz

Changed setIP to accept numeric prefix len. Added Node.deleteIntfs().

dc630c54 03/03/2010 10:37 PM Bob Lantz

Restored scratchnet and scratchnetuser demos.

Also changed the str format for nodes to use str() rather
than repr() so we don't end up with extraneous quotes.

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.

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

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.

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

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

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.

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.

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.

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.

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

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.

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.