| Branch: | Tag: | Revision:

mininet / mininet / @ 00803bcd

History | View | Annotate | Download (12.9 KB)

# Date Author Comment
4d1a9cdc 04/25/2014 04:37 AM Jon Hall

Add a timeout parameter to the pingAll command

a905be22 03/15/2014 05:46 PM Rich Lane

persistent command history

Saves readline history to ~/.mininet_history.

24fe68d9 12/21/2013 01:36 PM Baohua Yang

Correct the comments of do_pingallfull() and do_iperfudp()

3780d9cd 12/21/2013 01:36 PM Baohua Yang

Close the file when done with it.

c7e86f93 12/06/2013 01:30 AM Brian O'Connor

fixing CLI host rewriting when host's default interface does not have an IP

e9a835ac 09/11/2013 07:00 PM Brian O'Connor

print usage message for unknown command

98cb3359 08/10/2013 12:10 AM Brian O'Connor

fixed comment in

9281719d 08/10/2013 12:07 AM Brian O'Connor

Made net compliant with dict semantics and added function comments
Fixed locals bug (now they are persisent across calls)

8e04a9f8 08/09/2013 07:20 PM Brian O'Connor

Replaced nodelist and nodemap in CLI with mn
Updated Mininet to be more compliant with dict
Fixes #182

e3d07bc1 05/29/2013 05:10 AM Bob Lantz

Add 'x' command to open an X11 tunnel (and run a client)
fixes #142

1ea5c91f 05/22/2013 10:06 PM Bob Lantz

Update host's IP address during name-IP substitution
fixes #139

229f112f 04/29/2013 09:04 PM Bob Lantz

Change OVSSwitch.dpctl() to call ovs-ofctl

This should fix the problem of dump-flows not showing the OpenFlow
flow table flows and only showing cached kernel flow table flows.

fixes #136

23c70f60 03/01/2013 03:14 AM Bob Lantz

Add px command which uses exec() vs. py's eval()
This is necessary since exec() isn't really a function, and
eval can't evaluate statements.
fixes #104

1f1d590c 11/14/2012 03:57 PM Brandon Heller

test: Improve unit tests to verify basic functionality

Also a more complete ping test that parses all output to the CLI.

These tests expand the hifi-specific ones to not just cover whether
a topology can be created with options, but whether those options...

edf60032 11/14/2012 12:59 AM Brandon Heller

pep8: fix E128 continuation line under-indented errors

I wasn't sure this was worth fixing at first, but it does look more readable

f509ae28 05/25/2012 11:34 PM Brandon Heller

cli: add time command

4c3ff8f1 05/11/2012 05:23 AM Bob Lantz

Remove accidentally added debugging line.

cece39e4 05/10/2012 11:32 PM Bob Lantz

Fix poller to only check if stdin and node are readable.
Thanks to James Zeng for pointing this out!

2d924f8a 03/25/2012 10:38 PM Bob Lantz

Add Mininet object to locals as 'net'

612b21cb 03/24/2012 01:38 AM Bob Lantz

Pass code check.

beb05a71 03/24/2012 01:17 AM Bob Lantz

Move dumpNetConnections to util() because it's useful!

8856d284 03/12/2012 02:44 AM Bob Lantz

Fix CLI commands.

14ff3ad3 03/11/2012 04:44 AM Bob Lantz

Fix codecheck and MininetWithControlNet.

5c24e186 08/20/2010 03:48 PM Bob Lantz

Disable (broken) scripting for interactive commands.

9da63d4e 08/18/2010 09:08 AM Brandon Heller

Add dpctl command, which runs on all switches

e3a1fbb0 08/17/2010 07:02 AM Bob Lantz

Added support for pre- and post-test CLI scripts.

b7097daa 08/17/2010 07:02 AM Bob Lantz

Pass make codecheck.

dde9c91d 08/17/2010 07:02 AM Bob Lantz

Added error message if we can't read script file.

9d0dbe48 08/17/2010 07:02 AM Bob Lantz

Added "source" command and restored echo after noecho command.
Interactive commands should "work", sort of.

57aae3e1 08/10/2010 11:28 AM Brandon Heller

Add more param choices for iperf udp on CLI

60a39a72 08/10/2010 09:16 AM Brandon Heller

Add ability to specify hosts for iperf test

c26875cb 05/07/2010 08:15 AM Bob Lantz

Fixed minor breakage due to code cleanup.

e3f6ecca 05/07/2010 12:48 AM Bob Lantz

Pass codecheck.

82b72072 05/06/2010 11:24 PM Bob Lantz

Pass pylint.

259d7133 05/05/2010 02:11 AM Bob Lantz

Pass pyflakes.

83332c1a 04/23/2010 12:03 AM Bob Lantz

Handle interfaces (e.g. real interfaces) without remote Node.

2a554ae3 04/13/2010 01:56 AM Bob Lantz

Changed 'args' to 'line' and fixed iperfudp.

caf024bc 04/13/2010 01:52 AM Bob Lantz

Made help string a class var.

e555f83c 04/13/2010 01:45 AM Bob Lantz

Replaced stdout.write() with output()

c1667986 04/13/2010 01:37 AM Bob Lantz

Updated comments to reflect interactive command support.

It may be fragile, but it does sort of work.

f800e512 04/13/2010 01:34 AM Bob Lantz

Tweaks for better interactive command handling.

68f97b74 04/11/2010 06:54 AM Bob Lantz

Added explicit xterm and gterm commands.

This is not as generic as having a single 'term' command, but
it's a lot more convenient to use.

15b482e3 04/05/2010 09:27 AM Brandon Heller

Support gnome terminals too

Caution: code is incomplete - can't set a default type from the CLI
and in some places the phrase xterm should be replaced by terminal.

ce9cd5be 04/05/2010 08:06 AM Brandon Heller

Add command to spawn an xterm

5eac2a84 03/27/2010 01:47 AM Bob Lantz

Changed help message to be a bit clearer.

e91b2815 03/25/2010 12:21 AM Bob Lantz

Moved waitForNode. Maybe candidate for or static method...

c2cc1aac 03/25/2010 12:17 AM Bob Lantz

Attempt to handle interrupts in the middle of CLI commands.

b2ef87ae 03/24/2010 10:02 PM Bob Lantz

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.

cf6f6704 03/24/2010 09:41 PM Bob Lantz

Added two spaces before in-line # comments.

c70aab0a 03/23/2010 10:25 PM Bob Lantz

Changed to mininet.configLinkStatus(src,dst,status)

Also rearranged parameters in link command to

mininet> link s1 h2 up

To resemble ifconfig a bit more.

f5191b85 03/23/2010 08:15 AM Brandon Heller

Revert "Add ability to pause and resume any node"

This reverts commit 07aad110819778fdf65a43a6d11e9ca46c9881db.

When the semantics are clear, functionality like this will get added back to


e4c82e52 03/16/2010 09:59 PM Bob Lantz

Change Node.monitor() to just return output.

It seems easier to rely on node.waiting for the moment.

07aad110 03/14/2010 05:35 AM Brandon Heller

Add ability to pause and resume any node

28cd95c3 03/14/2010 05:32 AM Brandon Heller

Fix link command parsing bug

bcacfc05 03/14/2010 02:23 AM Bob Lantz

Support for control-C. Finally.

I've changed the way things work a bit:

1. netns is replaced by mnexec, a general-purpose mininet helper.

2. For interactive commands, we now use mnexec -p, which prints out
the pid, so we can kill it when someone hits control-C!...

8d3c2859 03/13/2010 02:30 PM Brandon Heller

Add port status change command

74993b65 03/13/2010 12:40 AM Bob Lantz

Changes to note neither ^C nor interactive commands work atm.

47dbca29 03/10/2010 05:47 AM Bob Lantz

Made iperf verbose and fixed node command output.

b924c5b5 03/06/2010 01:00 AM Bob Lantz

Fixed printing in

cdeaca86 03/05/2010 12:11 PM Brandon Heller

Rename cliinfo debug level to output

7ae73e67 03/05/2010 06:36 AM Brandon Heller

Fix pylint warnings

4e69ae83 03/05/2010 05:34 AM Brandon Heller

Slightly reduce cliinfo verbosity

1a40cd04 03/05/2010 02:58 AM Brandon Heller

Add new loglevel to display CLI output only

Also print warning if user chooses a loglevel that will hide CLI output.

1fdcd676 03/03/2010 09:46 PM Bob Lantz

Added py command to evaluate Python expressions, e.g. h1.cmd('ls')

e0cfcdd5 03/01/2010 11:21 PM Bob Lantz

Tweaks to pass code check.

2235f216 02/28/2010 07:40 AM Bob Lantz

Minor cleanup of mn/net and fixes for CLI.

All commands should work now.

c3a44400 02/28/2010 07:19 AM Bob Lantz

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....

78073e1b 02/27/2010 09:54 PM Bob Lantz

Fixed to be compatible with modified Mininet() class.

31b43002 02/16/2010 10:42 PM Bob Lantz

Added a bit to comments, and removed trailing spaces.

64c451e0 02/10/2010 06:40 AM Bob Lantz

Minor bug fixes and tweaks.

Shell now works (although we should use quietRun instead to avoid
file descriptor problem!)

exit/quit/EOF now all exit.

Renamed pingall and pingpair to make them easier to type - I think
commands should not require use of the shift key in general, although...

bd1e997f 02/08/2010 11:43 PM Bob Lantz

Remove backslash.

e85f8bdf 02/06/2010 01:22 AM Bob Lantz

Removed hash-bang in module files which aren't executed directly,
with the exception of, which I haven't touched.

496b5f9e 02/06/2010 01:01 AM Bob Lantz

Moved CLI into its own file. Also, MininetCLI is now just 'CLI'.

114dcd56 01/29/2010 10:42 PM Brandon Heller

Improve CLI line editing capabilities

Convert CLI to use Python Cmd object, which provides line editing.

83097ff9 01/29/2010 09:29 PM Brandon Heller

Fix errors from style changes