Commit Graph
91 Commits
Author SHA1 Message Date
Bob Lantz 74a56e2bae Pass code check. 2010-09-01 20:50:42 -07:00
Bob Lantz 300efb2b80 Added simple example of using API just to create a namespace. 2010-09-01 19:54:10 -07:00
Bob Lantz e0e69bbeec Added new example of multiple controllers. 2010-09-01 19:53:09 -07:00
Bob Lantz 73a098a499 Use __dict__.update to update an object's fields. 2010-09-01 19:51:09 -07:00
Bob Lantz c26875cb55 Fixed minor breakage due to code cleanup. 2010-05-07 01:15:41 -07:00
Bob Lantz e3f6ecca97 Pass codecheck. 2010-05-06 17:48:15 -07:00
Bob Lantz 82b7207295 Pass pylint. 2010-05-06 16:24:15 -07:00
Bob Lantz 259d713315 Pass pyflakes. 2010-05-04 19:11:12 -07:00
Bob Lantz c79882b766 Fixed typo. 2010-05-04 17:32:46 -07:00
Bob Lantz fa20913b56 Added space to one line. 2010-04-29 16:18:25 -07:00
Bob Lantz 6ef2973fe2 Use switches rather than switches.keys().
Minor cosmetic change, really.
2010-04-22 17:16:53 -07:00
Bob Lantz 3758da2ec8 Minor comment change. 2010-04-22 17:08:39 -07:00
Bob Lantz b145865407 Added comment advising use of high-level API. 2010-04-22 17:04:17 -07:00
Bob Lantz d2ff558da7 Correctly handle xterm creation with new makeTerm interface. 2010-04-22 17:02:41 -07:00
Bob Lantz 34954fe671 Minor comment change. 2010-04-22 17:02:19 -07:00
Bob Lantz ab1fb093d1 Added output hook and graph. 2010-04-22 17:01:54 -07:00
Bob Lantz 3482b4467c Changed to not print control chars we don't handle. 2010-04-12 18:32:32 -07:00
Bob Lantz e7ba6b9ebb Add title to consoles. 2010-04-11 01:43:35 -07:00
Bob Lantz fce4d59dc1 Added ability to show switches and controllers. 2010-04-11 01:12:23 -07:00
Bob Lantz 6c82d1bae7 Added blurbs for new demos. 2010-04-10 23:51:57 -07:00
Bob Lantz 03e5965236 Changed to use info() and not call build() unnecessarily. 2010-04-10 23:51:34 -07:00
Bob Lantz c3a583c813 Changed comment on iperf. 2010-04-10 22:40:12 -07:00
Bob Lantz e123afea97 Changed to let iperf run indefinitely. Simplifies things. 2010-04-10 22:38:20 -07:00
Bob Lantz 7ad4829203 Added iperf command. 2010-04-10 22:27:55 -07:00
Bob Lantz a4db2c2fca Removed unnecessary init() calls. 2010-04-10 21:35:58 -07:00
Bob Lantz 4720f559c3 Fixed to import TreeNet and to skip unnecessary init(). 2010-04-10 21:35:35 -07:00
Bob Lantz 56278434a8 Changed to use library TreeNet() and remove unnecessary init(). 2010-04-10 21:35:02 -07:00
Bob Lantz 8e4d818a60 Made the scroll bars narrower to fit ping output on my 15" screen. 2010-04-10 21:01:44 -07:00
Bob Lantz d0e53ca863 Added semi-interactive command line support.
Now you can type commands into each mini-console!
2010-04-10 20:52:45 -07:00
Bob Lantz 3e6b3dd273 Added an example of how to make an empty Mininet and add things to it. 2010-04-10 19:29:04 -07:00
Bob Lantz c58bb42f57 Added updbwgraph, a demo of how to graphically monitor node output. 2010-04-10 19:28:18 -07:00
Bob Lantz afe0ce81a5 Added simple console tool demo.
The console tool spawns and monitors a bunch of nodes.
2010-04-10 19:26:54 -07:00
Bob Lantz e10abba08d Added a simple graphical network editor demo. 2010-04-10 19:26:20 -07:00
Bob Lantz b1affce867 Removed TreeNet() convenience function (moved to topolib.) 2010-04-10 19:23:45 -07:00
Bob Lantz 41badb9686 Pass code check. 2010-03-24 17:08:25 -07:00
Bob Lantz 45e82d0952 Restored treeping64 and tre1024 examples and updated README. 2010-03-24 17:04:11 -07:00
Bob Lantz d93c6ef6ce Change to use setLogLevel() 2010-03-24 17:03:57 -07:00
Bob Lantz fe414722ac Change to use setLogLevel() 2010-03-24 17:03:49 -07:00
Bob Lantz 22f807fc6f Reinstated multitest example and updated examples/README. 2010-03-24 15:20:22 -07:00
Bob Lantz cf6f67045b Added two spaces before in-line # comments. 2010-03-24 14:41:40 -07:00
Bob Lantz 353411422e Minor formatting changes. 2010-03-24 13:42:46 -07:00
Bob Lantz 6ab417ccd7 Added setup for kernel switch. 2010-03-22 16:24:04 -07:00
Bob Lantz 3e624fb237 Added openvswitch kernel switch. 2010-03-17 23:43:03 -07:00
Bob Lantz ec7b211c41 Buffered output. Added net.monitor() and node.readline()
Moved monitor() and readline() into net.py and node.py respectively,
which will hopefully be useful for monitoring large sets of hosts,
as is done in udpbwtest.py.

Changed iperf to use interactive command infrastructure (such as it
is), which may make it more reliable. Hopefully it's a bit clearer
as well, although it is slightly more complicated.
2010-03-16 14:59:45 -07:00
Bob Lantz 6ab1f1ff23 Run in non-verbose mode, and print network sizes. 2010-03-16 14:59:45 -07:00
Bob Lantz 736038f8ef Added README for examples. 2010-03-16 14:59:45 -07:00
Bob Lantz 1a9d2eac29 Fixed createLink args and cleaned up slightly. 2010-03-09 21:47:02 -08:00
Bob Lantz 73a323f2a2 Made compatible with rearranged args for createLink. 2010-03-09 21:46:32 -08:00
Bob Lantz 7ba9e05542 Fixed errors due to renaming buffer to buf. 2010-03-08 15:36:09 -08:00
Bob Lantz 80be564274 Removed underscores for public Node methods. Minor cleanup & comments. 2010-03-08 15:32:41 -08:00