apply ANS group patches.
Patches allow to use specific per-link delay distributions, and to assign deterministic IP address to TCIntf interfaces.Patches also add a "deb" target to the Makefile in order to create the debian package.
Merge pull request #597 from nemethf/doc_fix
Fix documentation of failMode in OVSSwitch
Add error message to shed light on why this sometimes fails
Only use 80 hosts for linearbandwidth.py for now
In the long run, we should debug the performance issueswith kvm and Ubuntu 15. For now, however, we're relaxingthe constraints.
Tolerate slow startup/lost pings for now
In the long run we should troubleshoot the performance issueon kvm/Ubuntu15, but for now we are relaxing the constraint.
Use ifconfig for interface verification.
Previously we were using both ip link and ifconfig - not only isthis inconsistent and redundant, but it also broke when newerip link changed the reported names of certain interfacs to"h1-eth0@36:".
Fix error exit from dd/block zeroing
vm_clean: delete keys from from /etc/ssh/ before shipping vm
It's a bad idea for all Mininet VMs to share the same SSH keys.Certainly users can regenerate their own keys, but it's betterif we don't ship a key and simply regenerate it on boot.
Rewrite tolerance to be saner (plus or minus 20%)
Collect all server output in iperf()
This still isn't ideal - this was breaking UDP iperf, whichcan take a bit of time to print its output after you control-c it.
Use 0% loss when testing examples/simpleperf.py
Also clarified the code in test_simpleperf.py.
Fix UDP iperf.
Add "run" alias for "use" and integrate build/test options
Keeping "use" for now even though it seems harder to rememberthan "run". And the build/test options are probably muchclearer being inline in the help.
Try to fix iperf race condition
This is more complicated than it should be. We are also relying onthe fact that waitOutput should eat extra prompts most of the time.Still not perfect - it's hard to get this exactly right, and weshould try to make it easier!...
monitor() should return on timeout; docstring changes
It appears that read() has been blocking for some time,so for now it makes sense to change the documentation tomatch the functionality!
It's not entirely clear if monitor() expects this functionality....
Add python-pexpect to dependencies
It's used by tests and isn't large.Fixes #587
Update Ryu dependencies.
Allow RemoteController to connect to correct port.
Add chown argument to change build dir owner
This allows Jenkins to delete a sudo build.
Update to recent LTS and ubuntu releases.
Perhaps we should make this more algorithmic...
Handle openvswitch-testcontroller in ubuntu 15
Non-interactive installation on debian (respect -y flag!)
Use our github forks of openflow, oflops for now
This enables us to test our changes for Ubuntu 15 (new gcc/c99)before pushing upstream if desired.
Merge pull request #533 from pichuang/node
Check for ovs-testcontroller in OVSController
Merge pull request #526 from msvbhat/master
Fixing the install.sh in INSTALL file
Merge pull request #558 from bregman-arie/master
Update install.sh to support RedHat distrubtion
Merge pull request #536 from jonohart/buildcpu
Add parameter for number of CPU cores to use in VM builds
Merge pull request #566 from moz/master
addNAT always use first switch
mnexec: properly setup the mount namespace
Systemd's default is to mark the root mount as shared and it isinherited as such by the new mount namespace. This means that anymounts performed inthe new namespace will be visible by the rest ofthe system, breaking privateDirs....
addNAT always use first switch even though another switch specified
Workaround for cgdelete deleting cgroup but returning error
Mininet installation will also work on RedHat distribution
Removing unnecessary braces in RemoteController
Merge pull request #555 from mininet/devel/of-port
Updating OpenFlow default port to 6653 (in Controller and RemoteController)
Updating OpenFlow default port to 6653
- Pass 6653 to controllers that Mininet starts- Try to connect first on 6653 for RemoteController, then fallback to 6633
Merge pull request #541 from thinred/master
don't generate .pyc files on some makefile targets
Add option for number of CPU cores to use for VM builds
The programe name changed from test-controller to ovs-testcontroller
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.
INSTALL: Another trivial install.sh path fix
Signed-off-by: M S Vishwanath Bhat <email@example.com>
INSTALL: Fixing the path of install.sh
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)