Bob Lantz
1eb6f65e40
Increase scratchnet timeout to see if it's just slow.
2016-08-22 23:18:58 -07:00
lantz
238ffe64a7
Merge pull request #659 from jhall11/links_output
...
Restore links output format
2016-08-23 12:28:58 -07:00
Jon Hall
cea176fa9f
Restore links output format
...
In the change from print -> print() -> output() we lost the new lines
which makes it hard to read the output
2016-08-23 10:49:36 -07:00
Bob Lantz
3276e3fef5
Allow some diffs in h1 ps vs. h2 ps
...
Presumably daemons, race conditions, or ephemeral processes
can cause the ps output to vary slightly. We allow up to
two differing lines to account for this.
Fixes #651
2016-08-22 15:59:49 -07:00
Bob Lantz
e40d9b8c0d
print -> info; also clarify signalTest output
2016-08-15 22:54:21 -07:00
lantz
30d08cfbb2
Merge pull request #641 from xiaozhou/master
...
add a new type of RemoteLink in cluster edition that uses GRE tunnels
2016-08-16 15:05:59 -07:00
Bob Lantz
29d902918d
Change tshark version check for compatibility
...
The version string changed in tshark 2.0.2 in Ubuntu 16.
Perhaps we should just check for the version string itself
to be more robust but this is probably OK for now.
2016-08-11 14:33:41 -07:00
Bob Lantz
f89a5bcf70
Use output()/error() instead of print
...
We shouldn't be using print in the core API, with
the possible (?) exception of error/abort messages.
2016-08-08 15:32:31 -07:00
Bob Lantz
8ac077a721
Remove "from __future__ import print"
...
This was well-intentioned, but it causes more trouble
than it's worth.
Fixes #652
2016-08-08 15:28:52 -07:00
lantz
666635c969
Merge pull request #636 from mininet/devel/add-del
...
Add net.delNode(), net.delLink() and associated methods
2016-08-04 17:10:08 -07:00
Bob Lantz
4c1cfcf6f3
14.04.3 -> 14.04.4
...
We should probably do this in a more automatic way.
2016-08-03 15:17:08 -07:00
Bob Lantz
76c8afde8a
Fixes for Unbuntu 16.04/Xenial
...
- add xenial
- partx returns an error (warn rather than fail)
- remove dnsmasq build.py dependency (not really needed, side effects)
2016-08-02 15:27:53 -07:00
lantz
5714495f8c
Merge pull request #603 from oliviertilmans/patch-1
...
TCIntf: Don't delete a non-existing root qdisc
2016-08-01 15:24:20 -07:00
Xiaozhou Li
d8371615ce
fix typo
2016-07-29 09:57:30 -07:00
Xiaozhou Li
7630861fde
fix typo
2016-07-11 21:15:04 -07:00
Xiaozhou Li
da594dcecd
add a new type of RemoteLink in cluster edition that uses GRE tunnels
2016-07-11 21:05:01 -07:00
lantz
4fe5a19221
Merge pull request #598 from croft/master
...
Set limit on command history length
2016-06-21 16:40:55 -07:00
lantz
330a466503
Merge pull request #611 from jue-jiang/master
...
modify loss type of tclink to simulate loss rate under 1%
2016-06-21 16:37:38 -07:00
lantz
c0b8eddadb
Merge pull request #623 from bradmwalker/ivs-install
...
Fix/speed up IVS install and build on Fedora/RH
2016-06-21 16:36:39 -07:00
Bob Lantz
76b54e3e44
Merge branch 'bradmwalker-py3-part1'
...
py3 low-hanging fruit
closes #621
2016-06-21 16:34:12 -07:00
Bob Lantz
36489c7470
Change xrange to range for py3 compatibility
2016-06-21 16:31:46 -07:00
Brad Walker
dd8adda3ff
Use "Exception as _" instead of "Exception, _"
...
Requires Python 2.6+
2016-06-21 16:27:04 -07:00
Brad Walker
fb1f0dca2a
Make some tuples explicit to pass parsing in py3
2016-06-21 16:27:04 -07:00
Brad Walker
70fcc45893
Use print function
2016-06-21 16:27:04 -07:00
Bob Lantz
511d71a110
Add net.delNode(), net.delLink() and associated methods
...
This makes the mid-level net.add*() API symmetric.
You can now delete hosts, switches, controllers and links using
a new net.del*() API, as well as del net[ 'nodename' ].
2016-06-03 23:59:27 -07:00
Bob Lantz
57abd9baef
Use correct command name in OVSController
2016-05-24 17:40:00 -07:00
Bob Lantz
e6b0430a87
Enable TESTS={'mytest':test} in --custom files
2016-05-11 19:30:18 -07:00
Brad Walker
6f286033c5
Checkout only first level of IVS submodules
...
The submodules have submodules with authenticated URLs which breaks anonymous,
automated builds. Excluding them also decreases build time.
git -C is not available in git 1.8 (CentOS 7)
2016-04-30 19:13:27 -04:00
Brad Walker
1600b10131
Specify RPM dependencies for IVS
2016-04-30 19:13:27 -04:00
Bob Lantz
475bb4d911
2.3.0d1
2016-04-26 15:13:14 -07:00
Bob Lantz
c5517f7872
2.2.1 -> 2.2.2b1
2016-04-26 15:10:06 -07:00
Bob Lantz
40353c9150
Split lines to make pylint happy
2016-04-26 14:48:06 -07:00
lantz
c7e23ccedf
Merge pull request #617 from oliviertilmans/patch-3
...
link: Set prefixLen for loopback address
2016-04-22 13:30:16 -07:00
Olivier Tilmans
07fbc894e7
link: Set prefixLen for loopback address
...
The prefixLen for a loopback address is well-defined (/8),
and as such the variable is set accordingly.
Signed-off-by: Olivier Tilmans <olivier.tilmans@uclouvain.be >
2016-04-17 23:07:34 +02:00
zhuo
098b39d07a
modify loss type of tclink to simulate loss rate under 1%
2016-04-09 19:27:52 +08:00
Olivier Tilmans
5cfc9f84b8
TCIntf: Don't delete a non-existing root qdisc
...
In recent kernels, virtual interfaces come without any associated
qdisc, resulting in errors when spawning the network.
Checking for "noqueue" in the tc output, enables to detect that
case and thus avoid deleting the non-existent qdisc.
2016-03-11 13:36:56 +01:00
Jason Croft
e87ee10f8b
Set limit on command history length
2016-02-25 03:50:22 -06:00
lantz
e171aba8b5
Merge pull request #597 from nemethf/doc_fix
...
Fix documentation of failMode in OVSSwitch
2016-02-19 14:42:38 -08:00
Felician Nemeth
1bd0e927d2
Fix documentation of failMode in OVSSwitch
2016-02-19 01:26:00 -08:00
Bob Lantz
e113f8ed12
Add error message to shed light on why this sometimes fails
2016-02-02 23:32:03 -08:00
Bob Lantz
336958352a
Only use 80 hosts for linearbandwidth.py for now
...
In the long run, we should debug the performance issues
with kvm and Ubuntu 15. For now, however, we're relaxing
the constraints.
Closes #594
2016-01-26 15:40:59 -08:00
Bob Lantz
5dc15aeaaf
Tolerate slow startup/lost pings for now
...
In the long run we should troubleshoot the performance issue
on kvm/Ubuntu15, but for now we are relaxing the constraint.
Closes #593
2016-01-26 15:40:56 -08:00
Bob Lantz
9a22e2b737
Use ifconfig for interface verification.
...
Previously we were using both ip link and ifconfig - not only is
this inconsistent and redundant, but it also broke when newer
ip link changed the reported names of certain interfacs to
"h1-eth0@36:".
Fixes #592
2016-01-25 14:27:34 -08:00
Bob Lantz
76d3252cd0
Fix error exit from dd/block zeroing
2016-01-22 16:47:23 -08:00
Bob Lantz
9756c9a392
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 better
if we don't ship a key and simply regenerate it on boot.
2016-01-22 16:02:55 -08:00
Bob Lantz
0fac568a19
Rewrite tolerance to be saner (plus or minus 20%)
2016-01-22 13:52:15 -08:00
Bob Lantz
04897513cd
Collect all server output in iperf()
...
This still isn't ideal - this was breaking UDP iperf, which
can take a bit of time to print its output after you control-c it.
2016-01-22 13:33:33 -08:00
Bob Lantz
5365831de8
Use 0% loss when testing examples/simpleperf.py
...
Also clarified the code in test_simpleperf.py.
Fixes #590
2016-01-21 17:07:39 -08:00
Bob Lantz
6a69c3c743
Fix UDP iperf.
2016-01-21 16:59:18 -08:00
Bob Lantz
c0793cb58b
Add "run" alias for "use" and integrate build/test options
...
Keeping "use" for now even though it seems harder to remember
than "run". And the build/test options are probably much
clearer being inline in the help.
2016-01-20 17:33:00 -08:00