add cli usage information
Merge pull request #379 from cdburkard/devel/show_ports
adding 'ports' command to cli
Merge pull request #380 from cdburkard/devel/cli_comments
parse comments out of CLI
adding comments to CLI
Cluster edition prototype: remote nodes and links.
We add a new experimental feature to allow Mininet to run acrossa cluster of machines. This is currently implemented via a setmix-in classes that provide remote nodes that are implementedvia a connection to a remote shell, and remote links which are...
Attach a pty to each node's bash process
This should enable node commands that are expecting a tty tobehave better.
Add a timeout parameter to the pingAll command
persistent command history
Saves readline history to ~/.mininet_history.
Correct the comments of do_pingallfull() and do_iperfudp()
Close the file when done with it.
fixing CLI host rewriting when host's default interface does not have an IP
print usage message for unknown command
fixed comment in cli.py
Made net compliant with dict semantics and added function commentsFixed locals bug (now they are persisent across calls)
Replaced nodelist and nodemap in CLI with mnUpdated Mininet to be more compliant with dictFixes #182
Add 'x' command to open an X11 tunnel (and run a client)fixes #142
Update host's IP address during name-IP substitutionfixes #139
Change OVSSwitch.dpctl() to call ovs-ofctl
This should fix the problem of dump-flows not showing the OpenFlowflow table flows and only showing cached kernel flow table flows.
Add px command which uses exec() vs. py's eval()This is necessary since exec() isn't really a function, andeval can't evaluate statements.fixes #104
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 whethera topology can be created with options, but whether those options...
pep8: fix E128 continuation line under-indented errors
I wasn't sure this was worth fixing at first, but it does look more readablenow.
cli: add time command
Remove accidentally added debugging line.
Fix poller to only check if stdin and node are readable.Thanks to James Zeng for pointing this out!
Add Mininet object to locals as 'net'
Pass code check.
Move dumpNetConnections to util() because it's useful!
Fix CLI commands.
Fix codecheck and MininetWithControlNet.
Disable (broken) scripting for interactive commands.
Add dpctl command, which runs on all switches
Added support for pre- and post-test CLI scripts.
Pass make codecheck.
Added error message if we can't read script file.
Added "source" command and restored echo after noecho command.Interactive commands should "work", sort of.
Add more param choices for iperf udp on CLI
Add ability to specify hosts for iperf test
Fixed minor breakage due to code cleanup.
Handle interfaces (e.g. real interfaces) without remote Node.
Changed 'args' to 'line' and fixed iperfudp.
Made help string a class var.
Replaced stdout.write() with output()
Updated comments to reflect interactive command support.
It may be fragile, but it does sort of work.
Tweaks for better interactive command handling.
Added explicit xterm and gterm commands.
This is not as generic as having a single 'term' command, butit's a lot more convenient to use.
Support gnome terminals too
Caution: code is incomplete - can't set a default type from the CLIand in some places the phrase xterm should be replaced by terminal.
Add command to spawn an xterm
Changed help message to be a bit clearer.
Moved waitForNode. Maybe candidate for util.py or static method...
Attempt to handle interrupts in the middle of CLI commands.
Changes to pass code check.
We should check NOXController and RemoteController to make sure thatthey are not broken, but I cannot do this at the moment.
Added two spaces before in-line # comments.
Changed mininet.link() to mininet.configLinkStatus(src,dst,status)
Also rearranged parameters in link command to
mininet> link s1 h2 up
To resemble ifconfig a bit more.
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 toMininet.
Change Node.monitor() to just return output.
It seems easier to rely on node.waiting for the moment.
Add ability to pause and resume any node
Fix link command parsing bug
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!...
Add port status change command
Changes to note neither ^C nor interactive commands work atm.
Made iperf verbose and fixed node command output.
Fixed printing in CLI.net()
Rename cliinfo debug level to output
Fix pylint warnings
Slightly reduce cliinfo verbosity
Add new loglevel to display CLI output only
Also print warning if user chooses a loglevel that will hide CLI output.
Added py command to evaluate Python expressions, e.g. h1.cmd('ls')
Tweaks to pass code check.
Minor cleanup of mn/net and fixes for CLI.
All commands should work now.
Changed custom feature so that params aren't added to globals.
There is probably a better way of doing this, but currentlyparseCustomFile can modify globals (e.g. TOPOS) as well asinstance variables (self.validate) and classes (e.g. MyTopo),which are also in the global name space....
Fixed to be compatible with modified Mininet() class.
Added a bit to comments, and removed trailing spaces.
Minor bug fixes and tweaks.
Shell now works (although we should use quietRun instead to avoidfile descriptor problem!)
exit/quit/EOF now all exit.
Renamed pingall and pingpair to make them easier to type - I thinkcommands should not require use of the shift key in general, although...
Removed hash-bang in module files which aren't executed directly,with the exception of topo.py, which I haven't touched.
Moved CLI into its own file. Also, MininetCLI is now just 'CLI'.
Improve CLI line editing capabilities
Convert CLI to use Python Cmd object, which provides line editing.
Fix errors from style changes