Add option for number of CPU cores to use for VM builds
Remove blank line
I'm not sure whether we really need to turn off ip_forward beforeflushing iptables, but it might possibly be useful to avoid certainunexpected behavior.
Change quoting for '!'
Merge pull request #528 from pichuang/cluster
Fixed `whoami` output problem in cluster.py
Remove the last character when use `whoami`
Remove explicit NAT code and use built-in NAT functionality.
This API isn't great - we should try to improve it in the future.
Merge pull request #530 from jonohart/master
Enable NAT to use all interfaces.
Also put the net.ipv4.ip_forward option back to what it was before on exit,rather than always setting back to 0.
Remove debug print
Support custom links in custom file
Add flush option to disable flushing iptables
Add help regarding --nat [option=val...]
Fix TorusTopo for UserSwitch
UserSwitch requires a 12-digit dpid.
Warn if bridge netfilter (firewall) is enabled
Newer linux kernels enable filtering on the linux bridge;this can prevent it from working in mininet!
Merge pull request #522 from mininet/devel/torus
Adding number of hosts per switch option to torus topo
Avoid expanding a string into a list of chars
Restore use of self.intf (if present) in addLink
2.2.1rc1 -> 2.2.1
Added note on Raspberry Pi ;-)
Add dmahler and pichuang
Merge pull request #494 from pichuang/master
Modify directory path in clustersetup.sh
Merge branch 'dmahler-master'
Simply use class names as option help
The justification for this is that 1) the options arealready documented in the API documentation and 2) theclass names are fairly self-explanatory, so adding shortdescriptions doesn't add much.
In the future, however, we could add a short description...
Update to mn --help to provide details on options
Merge pull request #489 from BabisK/master
New netbee lib, fixes need for very old bison
Implement Switch.stop(), which doesn't call terminate
When I changed the switch implementations to call super().stop(),I neglected to include a Switch.stop() method which didn't callterminate(). This broke switch s1 stop and s1.stop().
Fix sorting & remove duplicate
Modify cluster help information
Modify SSHDIR and USERDIR path
Fixed code indentation
Support multiple --controller arguments
Allow node.setIP() to pass extra arguments to intf.setIP()
Add a space after ipv6.disable=1 so as not to break text boot
Remove redundant processing for '/'
Allow install.sh -V on debian
Usually kernel install is unnecessary, so don't quit if it fails
openvswitch-datapath-dkms is no longer needed for 14.04+
Rename node.RYU to node.Ryu
Perhaps it should be RyuController, but just Ryu for now.RYU made no sense because it's not an acronym.
2.2.1d1 -> 2.2.1d2
Minor formatting, pass code check
Fix exception for unknown class
customConstructor -> customClass
Pass code check
Remove obsolete OVSLegacyKernelSwitch
Fix undefined constructors in customClass()
New netbee library is installed for Ubuntu 14.04 and newer. For older releases or for other OSs the old netbee is installed
CustomConstructor -> CustomClass, which calls specialClass
specialClass is an analog of functools.partial but for classes.We can now use it instead of partial() in mn, so that Mininetcan introspect on the actual base class.
Merge pull request #473 from joerango/master
Support for running arbitrary command when starting terminal
Merge pull request #478 from rlane/fix-readline-history
cli: don't read/write readline history more than once
Merge pull request #1 from lantz/devel/fix-readline-history
Move cmdloop() wrapper into a new run() method
I also added another try/catch block so that interruptingthe 'Interrupt' message should no longer occur.
Previously, when creating multiple CLI objects, each one would append the~/.mininet_history file to readline's internal list. When writing the file backit would be duplicated for each CLI object created. So, over a few mininet runs...
Support for running arbitrary command when starting terminal (other than bash)
Add ip:port shorthand to Controller
Fix customConstructor to work correctly with newargs
A controller should delete its interfaces if necessary
This was causing controlnet.py to not clean up its interfaces, sincethose interfaces were linked from the controller to the switchrather than vice-versa!!
deleteIntfs already will only delete interfaces whose names match...
2.2.0+ -> 2.2.1d1
pass code check
Batch link delete commands (and minor edits)
Fix OVS protocols option
Clarify makeIntfPair behavior and pass code check
Fix super() arg in DataController
Remove now-unused quietRun import
Remove now-unused Link import
Indent one line for consistency
Correctly group switches for batch operations
Delete tap9 for CE
In the future, we should probably not hardwire this,or should at least make it a constant!!
Delete both tunnel interfaces
We also clean things up a bit and check for error messages,which now can cause exceptions which should invoke cleanup.
node shell: remove unnecessary -m and unset HISTFILE
Since we already disable job notification with +m, it doesn'tmake sense to set it in the original invocation!
It's also annoying if all of the host commands end up overwritingyour regular bash_history!!
Change iperf() to use waitListening()
Merge pull request #474 from mininet/devel/ovsbatch
Batch startup support for OVS
Currently, every ovs-vsctl command requires reading the entire OVSconfiguration database. This means that its performance gets linearlyslower as more switches and ports are added. To mitigate this, we...
Turn off printPid by default to avoid mnexec fork/exec
use net.addLink() so that link is cleaned up
Make sure DataController's interfaces are deleted
Set batch=False in OVSSwitch for low-level API
If you try to use the low-level API, you are probablynot going to call batchStartup()! So, we set batch=Falseby default. This means that buildFromTopo() needs to setit to True, so we add a bit of irritatingly complex machinery...
Fix OVS user switch (remove unnecessary % parameter)
cluster: add batchStartup/Shutdown, cleanup
Remove debug print lines
Clarify which intf pair failed and raise exception
Merge OVSBatch into OVSSwitch
Note that we are changing the interface of batchStartup/Shutdownslightly so that the method can choose not to start some of theswitches. We might wish to refine this a bit...
Don't clean up links that may have been dumped into root NS.
This should rarely happen - in the usual case, either thelinks will be shut down by Mininet.stop(), or the interfaceswill be deleted by node.stop( deleteIntfs=True ), or thelinks or interfaces will be explicitly deleted or stopped...
Change to OVSSwitch
make 'ovs-vsctl' string symmetric
Fix super() typo
Clean up - TCReapply still broken!
Remove shared reconnectms, improve self.started
We still need to set it in batchShutdown()
Refactor for compatibility with isOldOVS() == True
First crack at setting controller backoff in single command
errRun: add debug( results )
Add debug(cmd) to errRun()
Add OVSBatch class (experimental)
This implements batch startup for OVS switches.
Clarify bandwidth limit for TCIntfs
In the future, we would like to support higher bandwidthlimits for TCIntfs, but we'll probably need to adjust someof the parameters dynamically.