Commit Graph
52 Commits
Author SHA1 Message Date
Bob Lantz 197b083fbc Add static cpu (and memory) assignment. 2012-04-08 20:49:12 -07:00
Bob Lantz a4338de38c Fix error message. 2012-04-05 20:57:29 -07:00
Bob Lantz 612b21cbe7 Pass code check. 2012-03-23 18:38:49 -07:00
Bob Lantz 335ba99b60 Add --switch ovsl for legacy OVS. 2012-03-23 13:33:31 -07:00
Bob Lantz ff56881946 Add TCLink for simplified tc-limited link creation. 2012-03-20 15:43:43 -07:00
Bob Lantz 8856d284c0 Fix CLI commands. 2012-03-11 19:44:04 -07:00
Bob Lantz 14ff3ad3d0 Fix codecheck and MininetWithControlNet. 2012-03-10 20:44:34 -08:00
Bob Lantz 82f483f559 Add support for specifying host IP range with --ipbase. 2012-03-09 17:44:47 -08:00
Bob Lantz 8e3699eca6 Move init() into Mininet() and remove calls (since called automatically.)
Note: we should probably rename it "setup()" to avoid confusion.
2012-03-09 14:10:20 -08:00
Bob Lantz 9addfc13ce Add OVSController to complete out-of-box Ubuntu experience. 2012-03-08 23:48:07 -08:00
Bob Lantz 2db4268ba8 Fix NOX controller so that mn --controller nox,pyswitch,... works. 2012-03-08 22:07:19 -08:00
Bob Lantz 8688ca9249 Remove debugging message. 2012-03-08 13:40:03 -08:00
Bob Lantz 216a4b7c9d Support for CFS bandwidth limiting.
Also trying to fix NOX cmdline opt, but broken at the moment.
2012-03-08 00:05:45 -08:00
Bob Lantz 7d557fd759 Remove deprecated reference kernel switch. 2012-03-06 23:48:26 -08:00
Bob Lantz 1dcc047624 Changed to make 'output' the default log level. 2011-01-04 17:12:34 -08:00
Bob Lantz 87737a7064 One more merge fix. 2010-10-17 17:25:16 -07:00
Bob Lantz 4876b43fe9 Merge branch 'of1.0' into testing
Conflicts:

	bin/mn
	mininet/cli.py
	mininet/moduledeps.py
	mininet/node.py
	mininet/topo.py
	util/install.sh
2010-10-17 17:23:23 -07:00
Bob Lantz 444f9d8d76 Pass code check. 2010-09-01 20:50:28 -07:00
Bob Lantz cc960215fc Added --prefixlen option - this may help with router tutorial. 2010-08-19 20:53:40 -07:00
Brandon Heller 0a9358c9fc Add option to turn off passive listening port 2010-08-18 02:08:34 -07:00
Brandon Heller ccca871ae6 Add passive listening port 2010-08-18 02:08:34 -07:00
Bob Lantz 2c07d62b3c Remove blank lines to pass code check. 2010-08-17 00:02:31 -07:00
Bob Lantz e3a1fbb047 Added support for pre- and post-test CLI scripts. 2010-08-17 00:02:31 -07:00
Bob Lantz f95aebb4f9 Remove blank lines to pass code check. 2010-08-16 23:00:43 -07:00
Bob Lantz d869d82027 Added support for pre- and post-test CLI scripts. 2010-08-16 20:21:08 -07:00
Brandon Heller 0a6e54231e Set default switch type to OVS 2010-08-16 12:04:24 -07:00
Brandon Heller e9d4482e42 Set default switch type to OVS 2010-08-06 10:39:39 -07:00
Bob Lantz 68f5925ed6 Changed port to int type (was string, which caused %d not to work in node.py.) 2010-06-16 12:15:29 -07:00
Bob Lantz 5791f32a2d Fix --controller=remote 2010-03-26 18:41:09 -07:00
Brandon Heller f32a546855 Fix NOX breakage
Controllers are no longer namespace-able, and all calls need one fewer
arg.

Also use more sensible temporary variable name.
2010-03-23 00:48:35 -07:00
Brandon Heller 9098528a16 Fix CLI breakage with new test interface 2010-03-24 07:24:26 -07:00
Bob Lantz b2ef87ae51 Changes to pass code check.
We should check NOXController and RemoteController to make sure that
they are not broken, but I cannot do this at the moment.
2010-03-24 15:02:28 -07:00
Brandon Heller cdeaca8682 Rename cliinfo debug level to output 2010-03-05 04:11:29 -08:00
Brandon Heller dfc08a869e Add none test to measure MN creation/teardown time 2010-03-05 04:08:58 -08:00
Brandon Heller c8641d7d15 Fix remote controller param 2010-03-05 01:13:22 -08:00
Brandon Heller 509a852f18 Add TreeTopo to cmd line 2010-03-04 21:52:41 -08:00
Brandon Heller 3eb5abe6a7 Make cleanup a param of mn, not a separate script
Also switch from print to info statements, to enable a non-verbose
clean.  Instead of 'mnclean', now run 'mn -c'.
2010-03-04 21:47:50 -08:00
Brandon Heller 4e69ae83dd Slightly reduce cliinfo verbosity 2010-03-04 21:34:01 -08:00
Brandon Heller bb941950d5 Add flexible topology input parsing
Now you can pass a topology name followed by params.  For example, to
create a switch with 3 hosts:

  sudo mn --topo single,3
2010-03-04 21:29:32 -08:00
Brandon Heller 1a40cd0477 Add new loglevel to display CLI output only
Also print warning if user chooses a loglevel that will hide CLI output.
2010-03-04 18:58:37 -08:00
Bob Lantz 315cbf9e79 Use IP address strings rather than hex number. 2010-03-09 21:45:32 -08:00
Bob Lantz e0cfcdd505 Tweaks to pass code check. 2010-03-01 15:21:29 -08:00
Bob Lantz 2235f21698 Minor cleanup of mn/net and fixes for CLI.
All commands should work now.
2010-02-27 23:40:05 -08:00
Bob Lantz c3a4440025 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.

Inconveniently enough, lambdas don't seem to be full closures
in Python; if they were, this trickiness would be unnecessary.

Even so, using execfile() seems like it might be a bit dubious...
2010-02-27 23:19:57 -08:00
Bob Lantz d40b0a9973 Merge branch 'customtopos' into bl-dev 2010-02-26 18:54:32 -08:00
Bob Lantz 019bff8282 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!
2010-02-26 17:16:07 -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 83097ff942 Fix errors from style changes 2010-01-29 13:29:12 -08:00
Bob Lantz 8895862acf Munged mn and mnclean into mininet style. 2010-02-08 15:42:31 -08:00
Bob Lantz 80a8fa62d5 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
2010-02-05 02:33:34 -08:00