Brandon Heller
0a6e54231e
Set default switch type to OVS
2010-08-16 12:04:24 -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
Bob Lantz
0df8b19568
Renamed logging_mod.py -> log.py
...
Updated other files accordingly.
2010-02-03 15:38:29 -08:00
Bob Lantz
ac9554d6dc
Renamed mn_run.py -> mn, mn_clean.py -> mnclean; updated Makefle
...
It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.
Added variables to Makefile so that source files are listed in a single
location.
2010-02-03 15:29:07 -08:00