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